[FFmpeg-user] "ffserver" stream has audio but no video after upgrading
Guillermo Martinez
94dlve1izy52e5t at gmail.com
Wed Mar 30 10:56:49 CEST 2016
Hello Everyone,
Good morning.
I use FFmpeg in my home surveillance system. Prior to upgrading to
recent versions, I am
using "*FFmpeg 2.4.3*". I use "ffserver" to stream multiplexed video
stream (from network cameras)
and audio stream (from desktop PC microphone). Using "*FFmpeg 2.4.3*", I
can successfully
access the streams. Meaning I can see video from the network camera and
hear audio from
the common microphone.
To illustrate:
ffmpeg -i network_camera1_video_stream -i
desktop_microphone_audio_stream ---> ffserver
ffmpeg -i network_camera2_video_stream -i
desktop_microphone_audio_stream ---> ffserver
ffmpeg -i network_camera3_video_stream -i
desktop_microphone_audio_stream ---> ffserver
*CASE 1: Upgrade to FFmpeg 3.0*
I decided to upgrade to recent versions of FFmpeg. I tried FFmpeg 3.0.
There is no change in
"ffserver.conf". In the "ffmpeg" command line, I only added
"*-thread_**queue_size 256*" to fix
the warnings about increasing the thread queue size. The result is that
there are no streams
accessible (i.e. no video/audio), though I don't see any issue with the
logs.
*CASE 2: Upgrade to FFmpeg 2.8.6*
I then backtracked and tried "*FFmpeg 2.8.6*". Again, the only
difference is the added "*-thread_queue_size 256*"
option to fix the warnings. This time, there is audio, but there is no
video.
The following are the logs for 2.8.6:
*ffserver.conf*
==========================================================================
HTTPPort 8090
HTTPBindAddress 0.0.0.0
RTSPPort 8554
RTSPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 10000
<Feed 828222942.ffm>
File /tmp/828222942.ffm
FileMaxSize 500K
ACL allow localhost
</Feed>
<Stream AUDIO_STREAM.mp2>
Feed 828222942.ffm
AudioBitRate 128
AudioChannels 1
AudioSampleRate 48000
AVOptionAudio flags +global_header
NoVideo
</Stream>
<Feed 1663648364.ffm>
File /tmp/1663648364.ffm
FileMaxSize 500K
ACL allow localhost
</Feed>
<Stream CAM1_STREAM_1.mpg>
Feed 1663648364.ffm
Format mpegts
AudioBitRate 128
AudioChannels 1
AudioSampleRate 48000
AVOptionAudio flags +global_header
</Stream>
==========================================================================
*# /usr/bin/ffserver -loglevel debug -f ./ffserver.conf*
==========================================================================
ffserver version 2.8.6 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.7.2 (Sourcery CodeBench Lite 2012.09-62)
configuration: --enable-cross-compile
--cross-prefix=/home/marc/ENVIRONMENT/bsp/output/host/usr/bin/i686-pc-linux-gnu-
--sysroot=/home/marc/ENVIRONMENT/bsp/output/host/usr/i686-buildroot-linux-gnu/sysroot
--host-cc=/usr/bin/gcc --arch=i686 --target-os=linux
--extra-cflags=-fPIC --enable-static --enable-shared --prefix=/usr
--enable-avfilter --disable-doc --enable-gpl --disable-nonfree
--enable-ffmpeg --disable-ffplay --enable-ffserver --disable-postproc
--enable-swscale --enable-indevs --enable-indev=alsa --enable-outdevs
--enable-pthreads --enable-zlib --disable-armv6 --disable-armv6t2
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
[ffm @ 0x94c1e00] Format ffm probed with size=2048 and score=101
[NULL @ 0x94c3680] Setting entry with key 'b' to value '128000'
[NULL @ 0x94c3680] Setting entry with key 'ac' to value '1'
[NULL @ 0x94c3680] Setting entry with key 'ar' to value '48000'
[NULL @ 0x94c3680] Setting entry with key 'flags' to value '+global_header'
[AVIOContext @ 0x94b8be0] Statistics: 32768 bytes read, 0 seeks
[ffm @ 0x94c1e00] Format ffm probed with size=2048 and score=101
[NULL @ 0x94c3680] Setting entry with key 'b' to value '128000'
[NULL @ 0x94c3680] Setting entry with key 'ac' to value '1'
[NULL @ 0x94c3680] Setting entry with key 'ar' to value '48000'
[NULL @ 0x94c3680] Setting entry with key 'flags' to value '+global_header'
[AVIOContext @ 0x94b8be0] Statistics: 32768 bytes read, 0 seeks
---- AUDIO INITIALIZING ----
[ffm @ 0x94c8520] Format ffm probed with size=2048 and score=101
[NULL @ 0x94c9da0] Setting entry with key 'b' to value '128000'
[NULL @ 0x94c9da0] Setting entry with key 'ac' to value '1'
[NULL @ 0x94c9da0] Setting entry with key 'ar' to value '48000'
[NULL @ 0x94c9da0] Setting entry with key 'flags' to value '+global_header'
writing recommended configuration:
b=128000,ac=1,ar=48000,flags=+global_header
[AVIOContext @ 0x94b8be0] Statistics: 40960 bytes read, 2 seeks
[NULL @ 0x94c9da0] Setting entry with key 'b' to value '128000'
[NULL @ 0x94c9da0] Setting entry with key 'flags' to value '0x00400000'
[NULL @ 0x94c9da0] Setting entry with key 'ar' to value '48000'
[NULL @ 0x94c9da0] Setting entry with key 'ac' to value '1'
[NULL @ 0x94c9da0] Setting entry with key 'frame_size' to value '1152'
[NULL @ 0x94c9da0] Setting entry with key 'channel_layout' to value '4'
[NULL @ 0x94c9da0] Setting entry with key 'side_data_only_packets' to
value '1'
[NULL @ 0x94c9da0] Setting entry with key 'time_base' to value '1/48000'
[NULL @ 0x94c9da0] Setting entry with key 'delay' to value '481'
[NULL @ 0x94c9da0] Setting entry with key 'pkt_timebase' to value
'1/1000000'
---- AUDIO INITIALIZED, VIDEO INITIALIZING ----
[ffm @ 0x94cad60] Format ffm probed with size=2048 and score=101
[NULL @ 0x94cc5e0] Setting entry with key 'b' to value '128000'
[NULL @ 0x94cc5e0] Setting entry with key 'ac' to value '1'
[NULL @ 0x94cc5e0] Setting entry with key 'ar' to value '48000'
[NULL @ 0x94cc5e0] Setting entry with key 'flags' to value '+global_header'
[ffm @ 0x94d0960] Format ffm probed with size=2048 and score=101
[NULL @ 0x94d1f20] Setting entry with key 'b' to value '128000'
[NULL @ 0x94d1f20] Setting entry with key 'ac' to value '1'
[NULL @ 0x94d1f20] Setting entry with key 'ar' to value '48000'
[NULL @ 0x94d1f20] Setting entry with key 'flags' to value '+global_header'
writing recommended configuration:
b=128000,ac=1,ar=48000,flags=+global_header
[AVIOContext @ 0x94cdce0] Statistics: 40960 bytes read, 2 seeks
[NULL @ 0x94d1f20] Setting entry with key 'b' to value '128000'
[NULL @ 0x94d1f20] Setting entry with key 'flags' to value '0x00400000'
[NULL @ 0x94d1f20] Setting entry with key 'ar' to value '48000'
[NULL @ 0x94d1f20] Setting entry with key 'ac' to value '1'
[NULL @ 0x94d1f20] Setting entry with key 'frame_size' to value '1152'
[NULL @ 0x94d1f20] Setting entry with key 'channel_layout' to value '4'
[NULL @ 0x94d1f20] Setting entry with key 'side_data_only_packets' to
value '1'
[NULL @ 0x94d1f20] Setting entry with key 'time_base' to value '1/48000'
[NULL @ 0x94d1f20] Setting entry with key 'delay' to value '481'
[NULL @ 0x94d1f20] Setting entry with key 'pkt_timebase' to value
'1/1000000'
---- VIDEO INITIALIZED, CLIENT PC ACCESSING CAM1_STREAM_1 ----
[ffm @ 0x94d31a0] Format ffm probed with size=2048 and score=101
[NULL @ 0x94d4a60] Setting entry with key 'b' to value '128000'
[NULL @ 0x94d4a60] Setting entry with key 'ac' to value '1'
[NULL @ 0x94d4a60] Setting entry with key 'ar' to value '48000'
[NULL @ 0x94d4a60] Setting entry with key 'flags' to value '+global_header'
[AVIOContext @ 0x94d37e0] Statistics: 73728 bytes read, 2 seeks
[ffm @ 0x94d31a0] Format ffm probed with size=2048 and score=101
[NULL @ 0x94d4a60] Setting entry with key 'b' to value '128000'
[NULL @ 0x94d4a60] Setting entry with key 'ac' to value '1'
[NULL @ 0x94d4a60] Setting entry with key 'ar' to value '48000'
[NULL @ 0x94d4a60] Setting entry with key 'flags' to value '+global_header'
[mpegts @ 0x94d0a8c] muxrate VBR, pcr every 4 pkts, sdt every 200,
pat/pmt every 40 pkts
[AVIOContext @ 0x94d3700] Statistics: 278528 bytes read, 7 seeks
[AVIOContext @ 0x94b8be0] Statistics: 1671168 bytes read, 5 seeks
---- CAM1_STREAM_1 ACCESSED (Has audio, no video) ----
==========================================================================
*# /usr/bin/ffmpeg -loglevel debug -f alsa -i hw:0,0 -vn
http://localhost:8090/828222942.ffm*
==========================================================================
[Wed Mar 30 16:09:06.367 2016] # ./start.ffmpeg_audio.sh
[Wed Mar 30 16:09:08.968 2016] ffmpeg version 2.8.6 Copyright (c)
2000-2016 the FFmpeg developers
[Wed Mar 30 16:09:08.974 2016] built with gcc 4.7.2 (Sourcery
CodeBench Lite 2012.09-62)
[Wed Mar 30 16:09:08.974 2016] configuration: --enable-cross-compile
--cross-prefix=/home/marc/ENVIRONMENT/bsp/output/host/usr/bin/i686-pc-linux-gnu-
--sysroot=/home/marc/ENVIRONMENT/bsp/output/host/usr/i686-buildroot-linux-gnu/sysroot
--host-cc=/usr/bin/gcc --arch=i686 --target-os=linux
--extra-cflags=-fPIC --enable-static --enable-shared --prefix=/usr
--enable-avfilter --disable-doc --enable-gpl --disable-nonfree
--enable-ffmpeg --disable-ffplay --enable-ffserver --disable-postproc
--enable-swscale --enable-indevs --enable-indev=alsa --enable-outdevs
--enable-pthreads --enable-zlib --disable-armv6 --disable-armv6t2
[Wed Mar 30 16:09:08.974 2016] libavutil 54. 31.100 / 54. 31.100
[Wed Mar 30 16:09:08.974 2016] libavcodec 56. 60.100 / 56. 60.100
[Wed Mar 30 16:09:08.974 2016] libavformat 56. 40.101 / 56. 40.101
[Wed Mar 30 16:09:08.974 2016] libavdevice 56. 4.100 / 56. 4.100
[Wed Mar 30 16:09:08.974 2016] libavfilter 5. 40.101 / 5. 40.101
[Wed Mar 30 16:09:08.974 2016] libswscale 3. 1.101 / 3. 1.101
[Wed Mar 30 16:09:08.974 2016] libswresample 1. 2.101 / 1. 2.101
[Wed Mar 30 16:09:08.974 2016] Splitting the commandline.
[Wed Mar 30 16:09:08.974 2016] Reading option '-loglevel' ... matched as
option 'loglevel' (set logging level) with argument 'debug'.
[Wed Mar 30 16:09:08.981 2016] Reading option '-f' ... matched as option
'f' (force format) with argument 'alsa'.
[Wed Mar 30 16:09:08.981 2016] Reading option '-i' ... matched as input
file with argument 'hw:0,0'.
[Wed Mar 30 16:09:08.981 2016] Reading option '-vn' ... matched as
option 'vn' (disable video) with argument '1'.
[Wed Mar 30 16:09:08.981 2016] Reading option
'http://localhost:8090/828222942.ffm' ... matched as output file.
[Wed Mar 30 16:09:08.981 2016] Finished splitting the commandline.
[Wed Mar 30 16:09:08.981 2016] Parsing a group of options: global .
[Wed Mar 30 16:09:08.981 2016] Applying option loglevel (set logging
level) with argument debug.
[Wed Mar 30 16:09:08.981 2016] Successfully parsed a group of options.
[Wed Mar 30 16:09:08.981 2016] Parsing a group of options: input file
hw:0,0.
[Wed Mar 30 16:09:08.981 2016] Applying option f (force format) with
argument alsa.
[Wed Mar 30 16:09:08.981 2016] Successfully parsed a group of options.
[Wed Mar 30 16:09:08.981 2016] Opening an input file: hw:0,0.
[Wed Mar 30 16:09:08.995 2016] [alsa @ 0x8ffe260] All info found
[Wed Mar 30 16:09:08.995 2016] Guessed Channel Layout for Input Stream
#0.0 : stereo
[Wed Mar 30 16:09:08.995 2016] Input #0, alsa, from 'hw:0,0':
[Wed Mar 30 16:09:08.995 2016] Duration: N/A, start:
1459325344.170419, bitrate: 1536 kb/s
[Wed Mar 30 16:09:08.995 2016] Stream #0:0, 1, 1/1000000: Audio:
pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[Wed Mar 30 16:09:08.995 2016] Successfully opened the file.
[Wed Mar 30 16:09:08.995 2016] Parsing a group of options: output file
http://localhost:8090/828222942.ffm.
[Wed Mar 30 16:09:08.995 2016] Applying option vn (disable video) with
argument 1.
[Wed Mar 30 16:09:08.995 2016] Successfully parsed a group of options.
[Wed Mar 30 16:09:08.995 2016] Opening an output file:
http://localhost:8090/828222942.ffm.
[Wed Mar 30 16:09:08.995 2016] [http @ 0x9007660] request: GET
/828222942.ffm HTTP/1.1
[Wed Mar 30 16:09:08.995 2016] User-Agent: Lavf/56.40.101
[Wed Mar 30 16:09:08.995 2016] Accept: */*
[Wed Mar 30 16:09:08.995 2016] Range: bytes=0-
[Wed Mar 30 16:09:08.995 2016] Connection: close
[Wed Mar 30 16:09:08.995 2016] Host: localhost:8090
[Wed Mar 30 16:09:08.995 2016] Icy-MetaData: 1
[Wed Mar 30 16:09:08.995 2016]
[Wed Mar 30 16:09:08.995 2016]
[Wed Mar 30 16:09:09.005 2016] [ffm @ 0x9009a60] Format ffm probed with
size=2048 and score=101
[Wed Mar 30 16:09:09.005 2016] [NULL @ 0x900d020] Setting entry with key
'b' to value '128000'
[Wed Mar 30 16:09:09.005 2016] [NULL @ 0x900d020] Setting entry with key
'ac' to value '1'
[Wed Mar 30 16:09:09.005 2016] [NULL @ 0x900d020] Setting entry with key
'ar' to value '48000'
[Wed Mar 30 16:09:09.005 2016] [NULL @ 0x900d020] Setting entry with key
'flags' to value '+global_header'
[Wed Mar 30 16:09:09.005 2016] [AVIOContext @ 0x900b8c0] Statistics:
4096 bytes read, 0 seeks
[Wed Mar 30 16:09:09.005 2016] [http @ 0x900cf60] request: POST
/828222942.ffm HTTP/1.1
[Wed Mar 30 16:09:09.005 2016] Transfer-Encoding: chunked
[Wed Mar 30 16:09:09.005 2016] User-Agent: Lavf/56.40.101
[Wed Mar 30 16:09:09.005 2016] Accept: */*
[Wed Mar 30 16:09:09.005 2016] Connection: close
[Wed Mar 30 16:09:09.005 2016] Host: localhost:8090
[Wed Mar 30 16:09:09.005 2016] Icy-MetaData: 1
[Wed Mar 30 16:09:09.005 2016]
[Wed Mar 30 16:09:09.005 2016]
[Wed Mar 30 16:09:09.005 2016] Successfully opened the file.
[Wed Mar 30 16:09:09.005 2016] detected 4 logical cores
[Wed Mar 30 16:09:09.005 2016] [graph 0 input from stream 0:0 @
0x900e880] Setting 'time_base' to value '1/48000'
[Wed Mar 30 16:09:09.005 2016] [graph 0 input from stream 0:0 @
0x900e880] Setting 'sample_rate' to value '48000'
[Wed Mar 30 16:09:09.015 2016] [graph 0 input from stream 0:0 @
0x900e880] Setting 'sample_fmt' to value 's16'
[Wed Mar 30 16:09:09.015 2016] [graph 0 input from stream 0:0 @
0x900e880] Setting 'channel_layout' to value '0x3'
[Wed Mar 30 16:09:09.015 2016] [graph 0 input from stream 0:0 @
0x900e880] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[Wed Mar 30 16:09:09.015 2016] [audio format for output stream 0:0 @
0x900b660] Setting 'sample_fmts' to value 's16'
[Wed Mar 30 16:09:09.015 2016] [audio format for output stream 0:0 @
0x900b660] Setting 'sample_rates' to value '48000'
[Wed Mar 30 16:09:09.015 2016] [audio format for output stream 0:0 @
0x900b660] Setting 'channel_layouts' to value '0x4'
[Wed Mar 30 16:09:09.015 2016] [audio format for output stream 0:0 @
0x900b660] auto-inserting filter 'auto-inserted resampler 0' between the
filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
[Wed Mar 30 16:09:09.015 2016] [AVFilterGraph @ 0x900cfe0]
query_formats: 4 queried, 7 merged, 3 already done, 0 delayed
[Wed Mar 30 16:09:09.015 2016] [auto-inserted resampler 0 @ 0x9016ce0]
[SWR @ 0x9029480] Using s16p internally between filters
[Wed Mar 30 16:09:09.020 2016] 0.500000 0.500000
[Wed Mar 30 16:09:09.020 2016] [auto-inserted resampler 0 @ 0x9016ce0]
ch:2 chl:stereo fmt:s16 r:48000Hz -> ch:1 chl:mono fmt:s16 r:48000Hz
[Wed Mar 30 16:09:09.020 2016] Output #0, ffm, to
'http://localhost:8090/828222942.ffm':
[Wed Mar 30 16:09:09.020 2016] Metadata:
[Wed Mar 30 16:09:09.020 2016] creation_time : 2016-03-30 16:09:04
[Wed Mar 30 16:09:09.020 2016] encoder : Lavf56.40.101
[Wed Mar 30 16:09:09.020 2016] Stream #0:0, 0, 1/1000000: Audio:
mp2, 48000 Hz, mono, s16, 128 kb/s
[Wed Mar 30 16:09:09.020 2016] Metadata:
[Wed Mar 30 16:09:09.020 2016] encoder : Lavc56.60.100 mp2
[Wed Mar 30 16:09:09.020 2016] Stream mapping:
[Wed Mar 30 16:09:09.020 2016] Stream #0:0 -> #0:0 (pcm_s16le (native)
-> mp2 (native))
[Wed Mar 30 16:09:09.020 2016] Press [q] to stop, [?] for help
[Wed Mar 30 16:09:09.497 2016] size= 12kB time=00:00:00.49 bitrate=
199.0kbits/s
==========================================================================
*# /usr/bin/ffmpeg -loglevel debug -thread_queue_size 256 -i
http://localhost:8090/AUDIO_STREAM.mp2 -thread_queue_size 256 -i
rtsp://admin1:12345678@192.168.0.61:554/MediaInput/h264/stream_1 -vcodec
copy -acodec copy http://localhost:8090/1663648364.ffm*
==========================================================================
[Wed Mar 30 16:09:36.901 2016] # vi ./start.ffmpeg_video.sh #
./start.ffmpeg_video.sh
[Wed Mar 30 16:10:03.370 2016] ffmpeg version 2.8.6 Copyright (c)
2000-2016 the FFmpeg developers
[Wed Mar 30 16:10:03.375 2016] built with gcc 4.7.2 (Sourcery
CodeBench Lite 2012.09-62)
[Wed Mar 30 16:10:03.375 2016] configuration: --enable-cross-compile
--cross-prefix=/home/marc/ENVIRONMENT/bsp/output/host/usr/bin/i686-pc-linux-gnu-
--sysroot=/home/marc/ENVIRONMENT/bsp/output/host/usr/i686-buildroot-linux-gnu/sysroot
--host-cc=/usr/bin/gcc --arch=i686 --target-os=linux
--extra-cflags=-fPIC --enable-static --enable-shared --prefix=/usr
--enable-avfilter --disable-doc --enable-gpl --disable-nonfree
--enable-ffmpeg --disable-ffplay --enable-ffserver --disable-postproc
--enable-swscale --enable-indevs --enable-indev=alsa --enable-outdevs
--enable-pthreads --enable-zlib --disable-armv6 --disable-armv6t2
[Wed Mar 30 16:10:03.375 2016] libavutil 54. 31.100 / 54. 31.100
[Wed Mar 30 16:10:03.375 2016] libavcodec 56. 60.100 / 56. 60.100
[Wed Mar 30 16:10:03.375 2016] libavformat 56. 40.101 / 56. 40.101
[Wed Mar 30 16:10:03.375 2016] libavdevice 56. 4.100 / 56. 4.100
[Wed Mar 30 16:10:03.375 2016] libavfilter 5. 40.101 / 5. 40.101
[Wed Mar 30 16:10:03.376 2016] libswscale 3. 1.101 / 3. 1.101
[Wed Mar 30 16:10:03.376 2016] libswresample 1. 2.101 / 1. 2.101
[Wed Mar 30 16:10:03.376 2016] Splitting the commandline.
[Wed Mar 30 16:10:03.376 2016] Reading option '-loglevel' ... matched as
option 'loglevel' (set logging level) with argument 'debug'.
[Wed Mar 30 16:10:03.387 2016] Reading option '-thread_queue_size' ...
matched as option 'thread_queue_size' (set the maximum number of queued
packets from the demuxer) with argument '256'.
[Wed Mar 30 16:10:03.387 2016] Reading option '-i' ... matched as input
file with argument 'http://localhost:8090/AUDIO_STREAM.mp2'.
[Wed Mar 30 16:10:03.387 2016] Reading option '-thread_queue_size' ...
matched as option 'thread_queue_size' (set the maximum number of queued
packets from the demuxer) with argument '256'.
[Wed Mar 30 16:10:03.387 2016] Reading option '-i' ... matched as input
file with argument
'rtsp://admin1:12345678@192.168.0.61:554/MediaInput/h264/stream_1'.
[Wed Mar 30 16:10:03.387 2016] Reading option '-vcodec' ... matched as
option 'vcodec' (force video codec ('copy' to copy stream)) with
argument 'copy'.
[Wed Mar 30 16:10:03.387 2016] Reading option '-acodec' ... matched as
option 'acodec' (force audio codec ('copy' to copy stream)) with
argument 'copy'.
[Wed Mar 30 16:10:03.393 2016] Reading option
'http://localhost:8090/1663648364.ffm' ... matched as output file.
[Wed Mar 30 16:10:03.393 2016] Finished splitting the commandline.
[Wed Mar 30 16:10:03.393 2016] Parsing a group of options: global .
[Wed Mar 30 16:10:03.393 2016] Applying option loglevel (set logging
level) with argument debug.
[Wed Mar 30 16:10:03.393 2016] Successfully parsed a group of options.
[Wed Mar 30 16:10:03.393 2016] Parsing a group of options: input file
http://localhost:8090/AUDIO_STREAM.mp2.
[Wed Mar 30 16:10:03.393 2016] Applying option thread_queue_size (set
the maximum number of queued packets from the demuxer) with argument 256.
[Wed Mar 30 16:10:03.393 2016] Successfully parsed a group of options.
[Wed Mar 30 16:10:03.393 2016] Opening an input file:
http://localhost:8090/AUDIO_STREAM.mp2.
[Wed Mar 30 16:10:03.393 2016] [http @ 0x92bc9c0] request: GET
/AUDIO_STREAM.mp2 HTTP/1.1
[Wed Mar 30 16:10:03.393 2016] User-Agent: Lavf/56.40.101
[Wed Mar 30 16:10:03.393 2016] Accept: */*
[Wed Mar 30 16:10:03.393 2016] Range: bytes=0-
[Wed Mar 30 16:10:03.393 2016] Connection: close
[Wed Mar 30 16:10:03.393 2016] Host: localhost:8090
[Wed Mar 30 16:10:03.393 2016] Icy-MetaData: 1
[Wed Mar 30 16:10:03.393 2016]
[Wed Mar 30 16:10:03.393 2016]
[Wed Mar 30 16:10:03.610 2016] [mp3 @ 0x92bc2e0] Format mp3 probed with
size=4096 and score=51
[Wed Mar 30 16:10:03.612 2016] [mp3 @ 0x92bc2e0] Skipping 0 bytes of
junk at 0.
[Wed Mar 30 16:10:03.612 2016] [mp3 @ 0x92bc2e0] Before
avformat_find_stream_info() pos: 0 bytes read:5376 seeks:0
[Wed Mar 30 16:10:04.596 2016] [mp3 @ 0x92bc2e0] All info found
[Wed Mar 30 16:10:04.596 2016] [mp3 @ 0x92bc2e0] After
avformat_find_stream_info() pos: 19456 bytes read:19584 seeks:0 frames:50
[Wed Mar 30 16:10:04.596 2016] Input #0, mp3, from
'http://localhost:8090/AUDIO_STREAM.mp2':
[Wed Mar 30 16:10:04.596 2016] Duration: N/A, start: 0.000000,
bitrate: 128 kb/s
[Wed Mar 30 16:10:04.596 2016] Stream #0:0, 50, 1/14112000: Audio:
mp2, 48000 Hz, mono, s16p, 128 kb/s
[Wed Mar 30 16:10:04.596 2016] Successfully opened the file.
[Wed Mar 30 16:10:04.596 2016] Parsing a group of options: input file
rtsp://admin1:12345678@192.168.0.61:554/MediaInput/h264/stream_1.
[Wed Mar 30 16:10:04.596 2016] Applying option thread_queue_size (set
the maximum number of queued packets from the demuxer) with argument 256.
[Wed Mar 30 16:10:04.596 2016] Successfully parsed a group of options.
[Wed Mar 30 16:10:04.596 2016] Opening an input file:
rtsp://admin1:12345678@192.168.0.61:554/MediaInput/h264/stream_1.
[Wed Mar 30 16:10:04.699 2016] [rtsp @ 0x92c5280] SDP:
[Wed Mar 30 16:10:04.708 2016] v=0
[Wed Mar 30 16:10:04.708 2016] o=- 1 1 IN IP4 192.168.0.61
[Wed Mar 30 16:10:04.708 2016] s=Media Presentation
[Wed Mar 30 16:10:04.708 2016] e=NONE
[Wed Mar 30 16:10:04.708 2016] c=IN IP4 0.0.0.0
[Wed Mar 30 16:10:04.708 2016] b=AS:4096
[Wed Mar 30 16:10:04.708 2016] t=0 0
[Wed Mar 30 16:10:04.708 2016] a=control:*
[Wed Mar 30 16:10:04.708 2016] a=range:npt=now-
[Wed Mar 30 16:10:04.708 2016] m=video 0 RTP/AVP 98
[Wed Mar 30 16:10:04.708 2016] b=AS:4096
[Wed Mar 30 16:10:04.708 2016] a=framerate:30.0
[Wed Mar 30 16:10:04.708 2016] a=control:trackID=1
[Wed Mar 30 16:10:04.708 2016] a=rtpmap:98 H264/90000
[Wed Mar 30 16:10:04.708 2016] a=fmtp:98 packetization-mode=1;
profile-level-id=640028;
sprop-parameter-sets=Z2QAKK3FTYY4jFRWKmwxxGKisVNhjiMVFRBIjEc2SSIJEYjmySRBIjEc2SQtAUBf8uA1SAAAXdgACvyHsQPoAAYahf//HYgfQAAw1C//+FA=,aM4wwAMQ
[Wed Mar 30 16:10:04.708 2016] a=h264-esid:201
[Wed Mar 30 16:10:04.708 2016]
[Wed Mar 30 16:10:04.708 2016] [rtsp @ 0x92c5280] video codec set to: h264
[Wed Mar 30 16:10:04.708 2016] [rtsp @ 0x92c5280] RTP Packetization Mode: 1
[Wed Mar 30 16:10:04.708 2016] [rtsp @ 0x92c5280] RTP Profile IDC: 64
Profile IOP: 0 Level: 28
[Wed Mar 30 16:10:04.708 2016] [rtsp @ 0x92c5280] Extradata set to
0x92d1078 (size: 94)
[Wed Mar 30 16:10:04.708 2016] [udp @ 0x92c4d60] end receive buffer size
reported is 131072
[Wed Mar 30 16:10:04.708 2016] [udp @ 0x92cfd00] end receive buffer size
reported is 131072
[Wed Mar 30 16:10:04.737 2016] [rtsp @ 0x92c5280] hello state=0
[Wed Mar 30 16:10:05.750 2016] [rtsp @ 0x92c5280] All info found
[Wed Mar 30 16:10:05.750 2016] [rtsp @ 0x92c5280] rfps: 29.250000 0.017100
[Wed Mar 30 16:10:05.750 2016] [rtsp @ 0x92c5280] rfps: 29.333333 0.013168
[Wed Mar 30 16:10:05.750 2016] [rtsp @ 0x92c5280] rfps: 29.416667 0.009751
[Wed Mar 30 16:10:05.750 2016] Last message repeated 1 times Last
message repeated 1 times
[Wed Mar 30 16:10:05.750 2016] [rtsp @ 0x92c5280] rfps: 29.500000 0.006849
[Wed Mar 30 16:10:05.750 2016] Last message repeated 1 times Last
message repeated 1 times
[Wed Mar 30 16:10:05.750 2016] [rtsp @ 0x92c5280] rfps: 29.583333 0.004463
[Wed Mar 30 16:10:05.750 2016] Last message repeated 1 times Last
message repeated 1 times
[Wed Mar 30 16:10:05.750 2016] [rtsp @ 0x92c5280] rfps: 29.666667 0.002593
[Wed Mar 30 16:10:05.750 2016] Last message repeated 1 times Last
message repeated 1 times
[Wed Mar 30 16:10:05.750 2016] [rtsp @ 0x92c5280] rfps: 29.750000 0.001239
[Wed Mar 30 16:10:05.750 2016] Last message repeated 1 times Last
message repeated 1 times
[Wed Mar 30 16:10:05.750 2016] [rtsp @ 0x92c5280] rfps: 29.833333 0.000400
[Wed Mar 30 16:10:05.750 2016] Last message repeated 1 times Last
message repeated 1 times
[Wed Mar 30 16:10:05.750 2016] [rtsp @ 0x92c5280] rfps: 29.916667 0.000076
[Wed Mar 30 16:10:05.775 2016] [rtsp @ 0x92c5280] rfps: 30.000000 0.000269
[Wed Mar 30 16:10:05.775 2016] Last message repeated 1 times Last
message repeated 1 times
[Wed Mar 30 16:10:05.775 2016] [rtsp @ 0x92c5280] rfps: 60.000000 0.001075
[Wed Mar 30 16:10:05.775 2016] Last message repeated 1 times Last
message repeated 1 times
[Wed Mar 30 16:10:05.775 2016] [rtsp @ 0x92c5280] rfps: 120.000000 0.004300
[Wed Mar 30 16:10:05.775 2016] Last message repeated 1 times Last
message repeated 1 times
[Wed Mar 30 16:10:05.775 2016] [rtsp @ 0x92c5280] rfps: 240.000000 0.017200
[Wed Mar 30 16:10:05.775 2016] [rtsp @ 0x92c5280] rfps: 29.970030 0.000140
[Wed Mar 30 16:10:05.775 2016] Last message repeated 1 times Last
message repeated 1 times
[Wed Mar 30 16:10:05.775 2016] [rtsp @ 0x92c5280] rfps: 59.940060 0.000561
[Wed Mar 30 16:10:05.775 2016] Last message repeated 1 times Last
message repeated 1 times
[Wed Mar 30 16:10:05.775 2016] Input #1, rtsp, from
'rtsp://admin1:12345678@192.168.0.61:554/MediaInput/h264/stream_1':
[Wed Mar 30 16:10:05.775 2016] Metadata:
[Wed Mar 30 16:10:05.775 2016] title : Media Presentation
[Wed Mar 30 16:10:05.775 2016] Duration: N/A, start: 0.167267,
bitrate: N/A
[Wed Mar 30 16:10:05.775 2016] Stream #1:0, 28, 1/90000: Video: h264
(High), 1 reference frame, yuvj420p(pc, left), 640x360 (640x368) [SAR
1:1 DAR 16:9], 1001/30000, 14.99 fps, 29.92 tbr, 90k tbn, 29.97 tbc
[Wed Mar 30 16:10:05.789 2016] Successfully opened the file.
[Wed Mar 30 16:10:05.789 2016] Parsing a group of options: output file
http://localhost:8090/1663648364.ffm.
[Wed Mar 30 16:10:05.789 2016] Applying option vcodec (force video codec
('copy' to copy stream)) with argument copy.
[Wed Mar 30 16:10:05.789 2016] Applying option acodec (force audio codec
('copy' to copy stream)) with argument copy.
[Wed Mar 30 16:10:05.789 2016] Successfully parsed a group of options.
[Wed Mar 30 16:10:05.789 2016] Opening an output file:
http://localhost:8090/1663648364.ffm.
[Wed Mar 30 16:10:05.789 2016] [http @ 0x92cfd80] request: GET
/1663648364.ffm HTTP/1.1
[Wed Mar 30 16:10:05.789 2016] User-Agent: Lavf/56.40.101
[Wed Mar 30 16:10:05.789 2016] Accept: */*
[Wed Mar 30 16:10:05.789 2016] Range: bytes=0-
[Wed Mar 30 16:10:05.789 2016] Connection: close
[Wed Mar 30 16:10:05.789 2016] Host: localhost:8090
[Wed Mar 30 16:10:05.789 2016] Icy-MetaData: 1
[Wed Mar 30 16:10:05.789 2016]
[Wed Mar 30 16:10:05.789 2016]
[Wed Mar 30 16:10:05.789 2016] [ffm @ 0x946fb60] Format ffm probed with
size=2048 and score=101
[Wed Mar 30 16:10:05.789 2016] [NULL @ 0x932e1e0] Setting entry with key
'b' to value '128000'
[Wed Mar 30 16:10:05.789 2016] [NULL @ 0x932e1e0] Setting entry with key
'ac' to value '1'
[Wed Mar 30 16:10:05.795 2016] [NULL @ 0x932e1e0] Setting entry with key
'ar' to value '48000'
[Wed Mar 30 16:10:05.795 2016] [NULL @ 0x932e1e0] Setting entry with key
'flags' to value '+global_header'
[Wed Mar 30 16:10:05.795 2016] [AVIOContext @ 0x92c4f20] Statistics:
4096 bytes read, 0 seeks
[Wed Mar 30 16:10:05.795 2016] [http @ 0x92cfd80] request: POST
/1663648364.ffm HTTP/1.1
[Wed Mar 30 16:10:05.795 2016] Transfer-Encoding: chunked
[Wed Mar 30 16:10:05.795 2016] User-Agent: Lavf/56.40.101
[Wed Mar 30 16:10:05.795 2016] Accept: */*
[Wed Mar 30 16:10:05.795 2016] Connection: close
[Wed Mar 30 16:10:05.795 2016] Host: localhost:8090
[Wed Mar 30 16:10:05.795 2016] Icy-MetaData: 1
[Wed Mar 30 16:10:05.795 2016]
[Wed Mar 30 16:10:05.795 2016]
[Wed Mar 30 16:10:05.795 2016] Successfully opened the file.
[Wed Mar 30 16:10:05.795 2016] detected 4 logical cores
[Wed Mar 30 16:10:05.795 2016] [graph 0 input from stream 0:0 @
0x9478740] Setting 'time_base' to value '1/48000'
[Wed Mar 30 16:10:05.795 2016] [graph 0 input from stream 0:0 @
0x9478740] Setting 'sample_rate' to value '48000'
[Wed Mar 30 16:10:05.795 2016] [graph 0 input from stream 0:0 @
0x9478740] Setting 'sample_fmt' to value 's16p'
[Wed Mar 30 16:10:05.795 2016] [graph 0 input from stream 0:0 @
0x9478740] Setting 'channel_layout' to value '0x4'
[Wed Mar 30 16:10:05.802 2016] [graph 0 input from stream 0:0 @
0x9478740] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x4
[Wed Mar 30 16:10:05.802 2016] [audio format for output stream 0:0 @
0x94759e0] Setting 'sample_fmts' to value 's16'
[Wed Mar 30 16:10:05.802 2016] [audio format for output stream 0:0 @
0x94759e0] Setting 'sample_rates' to value '48000'
[Wed Mar 30 16:10:05.802 2016] [audio format for output stream 0:0 @
0x94759e0] Setting 'channel_layouts' to value '0x4'
[Wed Mar 30 16:10:05.802 2016] [audio format for output stream 0:0 @
0x94759e0] auto-inserting filter 'auto-inserted resampler 0' between the
filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
[Wed Mar 30 16:10:05.802 2016] [AVFilterGraph @ 0x92bfda0]
query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[Wed Mar 30 16:10:05.802 2016] [auto-inserted resampler 0 @ 0x946ffc0]
[SWR @ 0x9427b80] Using s16p internally between filters
[Wed Mar 30 16:10:05.802 2016] [auto-inserted resampler 0 @ 0x946ffc0]
ch:1 chl:mono fmt:s16p r:48000Hz -> ch:1 chl:mono fmt:s16 r:48000Hz
[Wed Mar 30 16:10:05.807 2016] Output #0, ffm, to
'http://localhost:8090/1663648364.ffm':
[Wed Mar 30 16:10:05.807 2016] Metadata:
[Wed Mar 30 16:10:05.807 2016] creation_time : 2016-03-30 16:10:00
[Wed Mar 30 16:10:05.807 2016] encoder : Lavf56.40.101
[Wed Mar 30 16:10:05.807 2016] Stream #0:0, 0, 1/1000000: Audio:
mp2, 48000 Hz, mono, s16, 128 kb/s
[Wed Mar 30 16:10:05.807 2016] Metadata:
[Wed Mar 30 16:10:05.807 2016] encoder : Lavc56.60.100 mp2
[Wed Mar 30 16:10:05.807 2016] Stream mapping:
[Wed Mar 30 16:10:05.807 2016] Stream #0:0 -> #0:0 (mp2 (native) ->
mp2 (native))
[Wed Mar 30 16:10:05.807 2016] Press [q] to stop, [?] for help
[Wed Mar 30 16:10:06.269 2016] size= 48kB time=00:00:02.86 bitrate=
137.0kbits/s
==========================================================================
That is all the information I can gather and provide.
Thank you very much for your support.
Regards,
Guillermo
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the ffmpeg-user
mailing list