Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- geusebio@LincolnTux:~/Projects/AutomateEverything$ ffmpeg -i rtsp://guest:guest@10.0.0.80:554/onvif1 -b:a 32k -b:v 64k -maxrate 128k -bufsize 512k -vf scale=160x128 -v debug http://localhost:8090/feed1.ffm
- ffmpeg version 2.7.6-0ubuntu0.15.10.1 Copyright (c) 2000-2016 the FFmpeg developers
- built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
- configuration: --prefix=/usr --extra-version=0ubuntu0.15.10.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libzvbi --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-libssh --enable-libsoxr --enable-libx264 --enable-libopencv --enable-libx265
- libavutil 54. 27.100 / 54. 27.100
- libavcodec 56. 41.100 / 56. 41.100
- libavformat 56. 36.100 / 56. 36.100
- libavdevice 56. 4.100 / 56. 4.100
- libavfilter 5. 16.101 / 5. 16.101
- libavresample 2. 1. 0 / 2. 1. 0
- libswscale 3. 1.101 / 3. 1.101
- libswresample 1. 2.100 / 1. 2.100
- libpostproc 53. 3.100 / 53. 3.100
- Splitting the commandline.
- Reading option '-i' ... matched as input file with argument 'rtsp://guest:guest@10.0.0.80:554/onvif1'.
- Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '32k'.
- Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '64k'.
- Reading option '-maxrate' ... matched as AVOption 'maxrate' with argument '128k'.
- Reading option '-bufsize' ... matched as AVOption 'bufsize' with argument '512k'.
- Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=160x128'.
- Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
- Reading option 'http://localhost:8090/feed1.ffm' ... matched as output file.
- Finished splitting the commandline.
- Parsing a group of options: global .
- Applying option v (set logging level) with argument debug.
- Successfully parsed a group of options.
- Parsing a group of options: input file rtsp://guest:guest@10.0.0.80:554/onvif1.
- Successfully parsed a group of options.
- Opening an input file: rtsp://guest:guest@10.0.0.80:554/onvif1.
- [rtsp @ 0xa2ebe0] SDP:
- v=0
- o=- 1421069297525233 1 IN IP4 10.0.0.80
- s=H.264 Video, RtspServer_0.0.0.2
- t=0 0
- a=tool:RtspServer_0.0.0.2
- a=type:broadcast
- a=control:*
- a=range:npt=0-
- m=video 0 RTP/AVP 96
- c=IN IP4 0.0.0.0
- b=AS:500
- a=rtpmap:96 H264/90000
- a=fmtp:96 packetization-mode=1;profile-level-id=42001F;sprop-parameter-sets=Z0IAH5WoFAFuQA==,aM48gA==
- a=control:track1
- m=audio 0 RTP/AVP 8
- a=control:track2
- a=rtpmap:8 PCMA/8000
- Failed to parse interval end specification ''
- [rtsp @ 0xa2ebe0] video codec set to: h264
- [rtsp @ 0xa2ebe0] RTP Packetization Mode: 1
- [rtsp @ 0xa2ebe0] RTP Profile IDC: 42 Profile IOP: 0 Level: 1f
- [rtsp @ 0xa2ebe0] Extradata set to 0xa20f90 (size: 22)
- [rtsp @ 0xa2ebe0] audio codec set to: pcm_alaw
- [rtsp @ 0xa2ebe0] audio samplerate set to: 8000
- [rtsp @ 0xa2ebe0] audio channels set to: 1
- [udp @ 0xa2e2c0] end receive buffer size reported is 131072
- [udp @ 0xa2e340] end receive buffer size reported is 131072
- [udp @ 0xa53280] end receive buffer size reported is 131072
- [udp @ 0xa2e3c0] end receive buffer size reported is 131072
- [rtsp @ 0xa2ebe0] hello state=0
- Failed to parse interval end specification ''
- [h264 @ 0xa31340] unknown SEI type 229
- Invalid UE golomb code
- [h264 @ 0xa31340] unknown SEI type 229
- Invalid UE golomb code
- [rtsp @ 0xa2ebe0] All info found
- [rtsp @ 0xa2ebe0] rfps: 12.333333 0.012871
- [rtsp @ 0xa2ebe0] rfps: 12.416667 0.004283
- Last message repeated 1 times
- [rtsp @ 0xa2ebe0] rfps: 12.500000 0.000312
- Last message repeated 1 times
- [rtsp @ 0xa2ebe0] rfps: 12.583333 0.000958
- Last message repeated 1 times
- [rtsp @ 0xa2ebe0] rfps: 12.666667 0.006221
- Last message repeated 1 times
- [rtsp @ 0xa2ebe0] rfps: 12.750000 0.016100
- [rtsp @ 0xa2ebe0] rfps: 24.833333 0.017133
- [rtsp @ 0xa2ebe0] rfps: 24.916667 0.006883
- Last message repeated 1 times
- [rtsp @ 0xa2ebe0] rfps: 25.000000 0.001250
- Last message repeated 1 times
- [rtsp @ 0xa2ebe0] rfps: 25.083333 0.000233
- Last message repeated 1 times
- [rtsp @ 0xa2ebe0] rfps: 25.166667 0.003833
- Last message repeated 1 times
- [rtsp @ 0xa2ebe0] rfps: 25.250000 0.012050
- [rtsp @ 0xa2ebe0] rfps: 50.000000 0.005000
- Last message repeated 1 times
- Guessed Channel Layout for Input Stream #0.1 : mono
- Input #0, rtsp, from 'rtsp://guest:guest@10.0.0.80:554/onvif1':
- Metadata:
- title : H.264 Video, RtspServer_0.0.0.2
- Duration: N/A, start: 0.000000, bitrate: N/A
- Stream #0:0, 28, 1/90000: Video: h264 (Baseline), 1 reference frame, yuv420p(left), 1280x720, 1/180000, 25.08 tbr, 90k tbn, 180k tbc
- Stream #0:1, 86, 1/8000: Audio: pcm_alaw, 8000 Hz, 1 channels, s16, 64 kb/s
- Successfully opened the file.
- Parsing a group of options: output file http://localhost:8090/feed1.ffm.
- Applying option b:a (video bitrate (please use -b:v)) with argument 32k.
- Applying option b:v (video bitrate (please use -b:v)) with argument 64k.
- Applying option vf (set video filters) with argument scale=160x128.
- Successfully parsed a group of options.
- Opening an output file: http://localhost:8090/feed1.ffm.
- [http @ 0x1037540] request: GET /feed1.ffm HTTP/1.1
- User-Agent: Lavf/56.36.100
- Accept: */*
- Range: bytes=0-
- Connection: close
- Host: localhost:8090
- Icy-MetaData: 1
- [ffm @ 0x1028f00] Format ffm probed with size=2048 and score=101
- [NULL @ 0x102b4e0] Setting entry with key 'b' to value '32000'
- [NULL @ 0x102b4e0] Setting entry with key 'ac' to value '1'
- [NULL @ 0x102b4e0] Setting entry with key 'ar' to value '44100'
- [NULL @ 0xfe5460] Setting entry with key 'b' to value '64000'
- [NULL @ 0xfe5460] Setting entry with key 'bufsize' to value '327680'
- [NULL @ 0xfe5460] Setting entry with key 'time_base' to value '1/3'
- [NULL @ 0xfe5460] Setting entry with key 'video_size' to value '160x128'
- [NULL @ 0xfe5460] Setting entry with key 'g' to value '12'
- [NULL @ 0xfe5460] Setting entry with key 'bt' to value '21333'
- [NULL @ 0xfe5460] Setting entry with key 'maxrate' to value '128000'
- [AVIOContext @ 0x10383a0] Statistics: 4096 bytes read, 0 seeks
- [http @ 0x102c060] request: POST /feed1.ffm HTTP/1.1
- Transfer-Encoding: chunked
- User-Agent: Lavf/56.36.100
- Accept: */*
- Connection: close
- Host: localhost:8090
- Icy-MetaData: 1
- Successfully opened the file.
- detected 8 logical cores
- [graph 0 input from stream 0:1 @ 0x10316a0] Setting 'time_base' to value '1/8000'
- [graph 0 input from stream 0:1 @ 0x10316a0] Setting 'sample_rate' to value '8000'
- [graph 0 input from stream 0:1 @ 0x10316a0] Setting 'sample_fmt' to value 's16'
- [graph 0 input from stream 0:1 @ 0x10316a0] Setting 'channel_layout' to value '0x4'
- [graph 0 input from stream 0:1 @ 0x10316a0] tb:1/8000 samplefmt:s16 samplerate:8000 chlayout:0x4
- [audio format for output stream 0:0 @ 0xe4c0a0] Setting 'sample_fmts' to value 's16'
- [audio format for output stream 0:0 @ 0xe4c0a0] Setting 'sample_rates' to value '44100'
- [audio format for output stream 0:0 @ 0xe4c0a0] Setting 'channel_layouts' to value '0x4'
- [audio format for output stream 0:0 @ 0xe4c0a0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
- [AVFilterGraph @ 0x1033be0] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
- [auto-inserted resampler 0 @ 0x10281c0] ch:1 chl:mono fmt:s16 r:8000Hz -> ch:1 chl:mono fmt:s16 r:44100Hz
- [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'video_size' to value '1280x720'
- [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'pix_fmt' to value '0'
- [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'time_base' to value '1/90000'
- [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'pixel_aspect' to value '0/1'
- [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'sws_param' to value 'flags=2'
- [graph 1 input from stream 0:0 @ 0xa12b80] Setting 'frame_rate' to value '301/12'
- [graph 1 input from stream 0:0 @ 0xa12b80] w:1280 h:720 pixfmt:yuv420p tb:1/90000 fr:301/12 sar:0/1 sws_param:flags=2
- [scaler for output stream 0:1 @ 0xa2dfa0] Setting 'w' to value '160'
- [scaler for output stream 0:1 @ 0xa2dfa0] Setting 'h' to value '128'
- [scaler for output stream 0:1 @ 0xa2dfa0] Setting 'flags' to value '0x4'
- [scaler for output stream 0:1 @ 0xa2dfa0] w:160 h:128 flags:'0x4' interl:0
- [format @ 0x1035a40] compat: called with args=[yuv420p]
- [format @ 0x1035a40] Setting 'pix_fmts' to value 'yuv420p'
- [AVFilterGraph @ 0xb9bf80] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed
- [scaler for output stream 0:1 @ 0xa2dfa0] w:1280 h:720 fmt:yuv420p sar:0/1 -> w:160 h:128 fmt:yuv420p sar:0/1 flags:0x4
- [mpeg1video @ 0xfef2e0] bitrate tolerance 21333 too small for bitrate 64000, overriding
- [mpeg1video @ 0xfef2e0] intra_quant_bias = 96 inter_quant_bias = 0
- [mpeg1video @ 0xfef2e0] too many threads/slices (9), reducing to 8
- [mpeg1video @ 0xfef2e0] MPEG1/2 does not support 3/1 fps
- Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
- Metadata:
- title : H.264 Video, RtspServer_0.0.0.2
- creation_time : now
- Stream #0:0, 0, 1/44100: Audio: mp2, 44100 Hz, mono, s16, 32 kb/s
- Metadata:
- encoder : Lavc56.41.100 mp2
- Stream #0:1, 0, 0/0: Video: mpeg1video, 1 reference frame, none, 160x128 (0x0), 1/3, q=2-31, 64 kb/s, 25 fps, 3 tbc
- Metadata:
- encoder : Lavc56.41.100 mpeg1video
- Stream mapping:
- Stream #0:1 -> #0:0 (pcm_alaw (native) -> mp2 (native))
- Stream #0:0 -> #0:1 (h264 (native) -> mpeg1video (native))
- Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
- [AVIOContext @ 0x1036c60] Statistics: 0 seeks, 0 writeouts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement