ffmpeg-user
Threads by month
- ----- 2026 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
March 2016
- 121 participants
- 155 discussions
30 Mar '16
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 sent from a virus-free computer protected by Avast.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campai…>
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
1
0
Hello Sir,
this command we are using but not supported in android Lollipop version
and giving us below specified error.
*Command="-r 20 -start_number 15 -i "+sdcard+"/frames/IMGR%d.jpg -c:v libx264 -vf fps=20 -crf 23 -pix_fmt yuv420p "+ sdcard +"/REVERSE.mp4";*
getting Error like this
*error:*only position independent executables (PIE) are supported.
Thank You.
4
9
Hi,
i am using your library ffmpeg version ( N-63698-g22d1b24) and i need
to achieve following functionality
current library size 14.6 MB, could you please compress less than 10 MB.
* sequence image to video
* video to image sequence
* reverse Existing video
* video Compression
when i tried to customize it as per my requirements it is not working
,i need your help to achieve this and want to compress it before
integrating to my project .
Thank you.
3
2
Hi Sir,
In FFMPEG version 54 reverse word not working in android
so i want to do like this
input.mp4 reverse output.mp4
Thank you.
2
3
30 Mar '16
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
1
0
Hi All,
>>When i try to excute ffprobe in php using rtsp link, we are
getting Permission denied.
>>while execute in command line its working and also it is working with
video file , we are getting issue in rtsp link
>> PHP Script
print_r(extension_loaded('ffmpeg')) or die('Error in loading ffmpeg');
$output1 = shell_exec('ffprobe -i rtsp://
lwsnb160-cam.cs.purdue.edu:554/mpeg4/media.amp -of json=c=1 -loglevel
quiet -show_format -show_streams -show_error');
echo $output1;
$parsed1 = json_decode($output1, true);
print_r($parsed1);
var_dump($output1);
>>PHP output
{ "error": { "code": -13, "string": "Permission denied" } } Array ( [error]
=> Array ( [code] => -13 [string] => Permission denied ) ) string(64) "{
"error": { "code": -13, "string": "Permission denie
>>ffmpeg output over the command line
[root@dev1 sid]# ffprobe -i rtsp://
lwsnb160-cam.cs.purdue.edu:554/mpeg4/media.amp -of json=c=1 -show_format
-show_streams -show_error
ffprobe version N-79151-gff982e0 Copyright (c) 2007-2016 the FFmpeg
developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration: --prefix=/root/ffmpeg_build
--extra-cflags=-I/root/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/usr/bin
--pkg-config-flags=--static --enable-gpl --enable-nonfree
--enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 32.100 / 57. 32.100
libavformat 57. 29.101 / 57. 29.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 40.102 / 6. 40.102
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
{
Input #0, rtsp, from 'rtsp://lwsnb160-cam.cs.purdue.edu:554/mpeg4/media.amp
':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.100011, bitrate: N/A
Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480
[SAR 1:1 DAR 4:3], 100 fps, 100 tbr, 90k tbn, 100 tbc
"streams": [
{ "index": 0, "codec_name": "mpeg4", "codec_long_name": "MPEG-4
part 2", "profile": "Advanced Simple Profile", "codec_type": "video",
"codec_time_base": "1/100", "codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000", "width": 640, "height": 480, "coded_width": 640,
"coded_height": 480, "has_b_frames": 1, "sample_aspect_ratio": "1:1",
"display_aspect_ratio": "4:3", "pix_fmt": "yuv420p", "level": 5,
"chroma_location": "left", "refs": 1, "quarter_sample": "false",
"divx_packed": "false", "r_frame_rate": "100/1", "avg_frame_rate": "100/1",
"time_base": "1/90000", "start_pts": 9001, "start_time": "0.100011",
"disposition": { "default": 0, "dub": 0, "original": 0,
"comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired":
0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 } }
],
"format": { "filename": "rtsp://
lwsnb160-cam.cs.purdue.edu:554/mpeg4/media.amp", "nb_streams": 1,
"nb_programs": 0, "format_name": "rtsp", "format_long_name": "RTSP input",
"start_time": "0.100011", "probe_score": 100,
"tags": { "title": "Media Presentation" } }
}
--
Thanks and Regards ,
*Sunil M S*
m: +91 9746124001
p : +1 571 327 0044
e : sunil(a)artificerstechnologies.com
w : www.artificerstechnologies.com
This Artificer's Technologies email, along with any attachments, is
considered confidential or otherwise protected from disclosure. If you
have received it in error, you are on notice of its status, please notify
us immediately by reply email and delete this email and its attachments
from your system. Dissemination, distribution or copying of any
erroneously received Artificer's Technologies email, along with any
attachments, use of it for any purpose, or disclosure of its contents to
any person(s) other than the person(s) to whom it was intended is
prohibited. Thank you for your cooperation.
1
1
I am attempting to use the concat filter along with input trimming which
i'm guessing might not be supported in this combination. The behavior with
using input trimming and the concat filter is that the ffmpeg command line
process stalls at 0% until it gets to the last input segment which is what
gets output. If create all the individual segments with -ss & -t first, I
am able to concatenate these files together. Not sure if there is anything
I can modify with my original command line process to get this working in
one step.
Thanks,
Chris
Trim input & concat filter:
>ffmpeg -i D:\stitchtest\full.mov -ss 00:00:10.052 -t 00:00:31.949 -i
D:\stitchtest\full.mov -ss 00:01:12.114 -t 00:09:07.422 -i
D:\stitchtest\full.mov -ss 00:10:49.608 -t 00:06:19.797 -i
D:\stitchtest\full.mov -ss 00:16:57.767 -t 00:06:27.262 -i
D:\stitchtest\full.mov -ss 00:24:25.089 -t 00:00:14.974 -filter_complex
"[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0][3:v:0][3:a:0][4:v:0][4:a:0]concat=n=5:v=1:a=1[v][a]"
-map "[v]" -map "[a]" -c:v libx264 -crf 19 -c:a aac -b:a 192k
D:\stitchtest\clip_and_concat.mp4
ffmpeg version N-79143-g8ff0f6a Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
--enable-lzma --enable-decklink --enable-zlib
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 30.100 / 57. 30.100
libavformat 57. 29.101 / 57. 29.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 40.102 / 6. 40.102
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\stitchtest\full.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.100
Duration: 00:25:49.30, start: 0.000000, bitrate: 82284 kb/s
Stream #0:0(eng): Video: prores (apcs / 0x73637061),
yuv422p10le(bt709), 1920x1080, 79974 kb/s, 23.98 fps, 23.98 tbr, 24k tbn,
24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Apple ProRes 422 LT
timecode : 00:00:00:00
Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\stitchtest\full.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.100
Duration: 00:25:49.30, start: 0.000000, bitrate: 82284 kb/s
Stream #1:0(eng): Video: prores (apcs / 0x73637061),
yuv422p10le(bt709), 1920x1080, 79974 kb/s, 23.98 fps, 23.98 tbr, 24k tbn,
24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Apple ProRes 422 LT
timecode : 00:00:00:00
Stream #1:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #1:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
Input #2, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\stitchtest\full.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.100
Duration: 00:25:49.30, start: 0.000000, bitrate: 82284 kb/s
Stream #2:0(eng): Video: prores (apcs / 0x73637061),
yuv422p10le(bt709), 1920x1080, 79974 kb/s, 23.98 fps, 23.98 tbr, 24k tbn,
24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Apple ProRes 422 LT
timecode : 00:00:00:00
Stream #2:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #2:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
Input #3, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\stitchtest\full.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.100
Duration: 00:25:49.30, start: 0.000000, bitrate: 82284 kb/s
Stream #3:0(eng): Video: prores (apcs / 0x73637061),
yuv422p10le(bt709), 1920x1080, 79974 kb/s, 23.98 fps, 23.98 tbr, 24k tbn,
24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Apple ProRes 422 LT
timecode : 00:00:00:00
Stream #3:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #3:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
Input #4, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\stitchtest\full.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.100
Duration: 00:25:49.30, start: 0.000000, bitrate: 82284 kb/s
Stream #4:0(eng): Video: prores (apcs / 0x73637061),
yuv422p10le(bt709), 1920x1080, 79974 kb/s, 23.98 fps, 23.98 tbr, 24k tbn,
24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Apple ProRes 422 LT
timecode : 00:00:00:00
Stream #4:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #4:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 000000434a4110a0] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX
[libx264 @ 000000434a4110a0] profile High 4:2:2, level 4.0, 4:2:2 8-bit
[libx264 @ 000000434a4110a0] 264 - core 148 r2665 a01e339 - H.264/MPEG-4
AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=34
lookahead_threads=5 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23
scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=19.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'D:\stitchtest\clip_and_concat.mp4':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.101
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv422p,
1920x1080, q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc (default)
Metadata:
encoder : Lavc57.30.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, fltp, 192 kb/s (default)
Metadata:
encoder : Lavc57.30.100 aac
Stream mapping:
Stream #0:0 (prores) -> concat:in0:v0
Stream #0:1 (pcm_s24le) -> concat:in0:a0
Stream #1:0 (prores) -> concat:in1:v0
Stream #1:1 (pcm_s24le) -> concat:in1:a0
Stream #2:0 (prores) -> concat:in2:v0
Stream #2:1 (pcm_s24le) -> concat:in2:a0
Stream #3:0 (prores) -> concat:in3:v0
Stream #3:1 (pcm_s24le) -> concat:in3:a0
Stream #4:0 (prores) -> concat:in4:v0
Stream #4:1 (pcm_s24le) -> concat:in4:a0
concat:out:v0 -> Stream #0:0 (libx264)
concat:out:a0 -> Stream #0:1 (aac)
Press [q] to stop, [?] for help
frame= 360 fps=1.2 q=-1.0 Lsize= 7433kB time=00:00:14.97
bitrate=4066.1kbits/s dup=1 drop=0 speed=0.0514x video:7063kB audio:359kB
subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.149874%
[libx264 @ 000000434a4110a0] frame I:3 Avg QP:13.44 size:186347
[libx264 @ 000000434a4110a0] frame P:151 Avg QP:17.46 size: 36208
[libx264 @ 000000434a4110a0] frame B:206 Avg QP:20.37 size: 5851
[libx264 @ 000000434a4110a0] consecutive B-frames: 20.6% 5.6% 11.7% 62.2%
[libx264 @ 000000434a4110a0] mb I I16..4: 38.7% 47.5% 13.7%
[libx264 @ 000000434a4110a0] mb P I16..4: 1.4% 6.4% 2.2% P16..4: 14.0%
5.7% 4.5% 0.0% 0.0% skip:65.8%
[libx264 @ 000000434a4110a0] mb B I16..4: 0.1% 0.5% 0.3% B16..8: 14.4%
1.9% 0.5% direct: 0.4% skip:81.9% L0:46.9% L1:49.7% BI: 3.4%
[libx264 @ 000000434a4110a0] 8x8 transform intra:61.2% inter:69.7%
[libx264 @ 000000434a4110a0] coded y,uvDC,uvAC intra: 67.6% 84.5% 55.2%
inter: 4.9% 7.5% 1.3%
[libx264 @ 000000434a4110a0] i16 v,h,dc,p: 73% 17% 7% 3%
[libx264 @ 000000434a4110a0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 18% 40% 4%
3% 4% 5% 4% 6%
[libx264 @ 000000434a4110a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 20% 18% 5%
5% 6% 6% 5% 4%
[libx264 @ 000000434a4110a0] i8c dc,h,v,p: 54% 16% 25% 5%
[libx264 @ 000000434a4110a0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 000000434a4110a0] ref P L0: 59.1% 6.0% 18.1% 16.7%
[libx264 @ 000000434a4110a0] ref B L0: 70.6% 20.4% 9.1%
[libx264 @ 000000434a4110a0] ref B L1: 90.3% 9.7%
[libx264 @ 000000434a4110a0] kb/s:3853.04
[aac @ 000000434a4140c0] Qavg: 952.127
using concat filter with trimmed input files.
>ffmpeg -i D:\stitchtest\s1.mov -i D:\stitchtest\s2.mov -i
D:\stitchtest\s3.mov -i D:\stitchtest\s4.mov -i D:\stitchtest\s5.mov
-filter_complex
"[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0][3:v:0][3:a:0][4:v:0][4:a:0]concat=n=5:v=1:a=1[v][a]"
-map "[v]" -map "[a]" -c:v libx264 -crf 19 -c:a aac -b:a 192k
D:\stitchtest\concat.mp4
ffmpeg version N-79143-g8ff0f6a Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
--enable-lzma --enable-decklink --enable-zlib
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 30.100 / 57. 30.100
libavformat 57. 29.101 / 57. 29.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 40.102 / 6. 40.102
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\stitchtest\s1.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.100
Duration: 00:00:31.99, start: 0.000292, bitrate: 90990 kb/s
Stream #0:0(eng): Video: prores (apcs / 0x73637061),
yuv422p10le(bt709), 1920x1080, 88686 kb/s, 23.98 fps, 23.98 tbr, 24k tbn,
24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Apple ProRes 422 LT
timecode : 00:00:00:00
Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\stitchtest\s2.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.100
Duration: 00:09:07.46, start: 0.000292, bitrate: 96510 kb/s
Stream #1:0(eng): Video: prores (apcs / 0x73637061),
yuv422p10le(bt709), 1920x1080, 94200 kb/s, 23.98 fps, 23.98 tbr, 24k tbn,
24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Apple ProRes 422 LT
timecode : 00:00:00:00
Stream #1:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #1:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
Input #2, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\stitchtest\s3.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.100
Duration: 00:06:19.84, start: 0.000708, bitrate: 97926 kb/s
Stream #2:0(eng): Video: prores (apcs / 0x73637061),
yuv422p10le(bt709), 1920x1080, 95616 kb/s, 23.98 fps, 23.98 tbr, 24k tbn,
24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Apple ProRes 422 LT
timecode : 00:00:00:00
Stream #2:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #2:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
Input #3, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\stitchtest\s4.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.100
Duration: 00:06:27.30, start: 0.000250, bitrate: 82086 kb/s
Stream #3:0(eng): Video: prores (apcs / 0x73637061),
yuv422p10le(bt709), 1920x1080, 79778 kb/s, 23.98 fps, 23.98 tbr, 24k tbn,
24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Apple ProRes 422 LT
timecode : 00:00:00:00
Stream #3:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #3:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
Input #4, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\stitchtest\s5.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.100
Duration: 00:00:15.02, start: 0.000375, bitrate: 71734 kb/s
Stream #4:0(eng): Video: prores (apcs / 0x73637061),
yuv422p10le(bt709), 1920x1080, 69431 kb/s, 23.98 fps, 23.98 tbr, 24k tbn,
24k tbc (default)
Metadata:
handler_name : DataHandler
encoder : Apple ProRes 422 LT
timecode : 00:00:00:00
Stream #4:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
handler_name : DataHandler
Stream #4:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
handler_name : DataHandler
timecode : 00:00:00:00
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 00000069ad78e380] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX
[libx264 @ 00000069ad78e380] profile High 4:2:2, level 4.0, 4:2:2 8-bit
[libx264 @ 00000069ad78e380] 264 - core 148 r2665 a01e339 - H.264/MPEG-4
AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=34
lookahead_threads=5 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23
scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=19.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'D:\stitchtest\concat.mp4':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf57.29.101
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv422p,
1920x1080, q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc (default)
Metadata:
encoder : Lavc57.30.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz,
stereo, fltp, 192 kb/s (default)
Metadata:
encoder : Lavc57.30.100 aac
Stream mapping:
Stream #0:0 (prores) -> concat:in0:v0
Stream #0:1 (pcm_s24le) -> concat:in0:a0
Stream #1:0 (prores) -> concat:in1:v0
Stream #1:1 (pcm_s24le) -> concat:in1:a0
Stream #2:0 (prores) -> concat:in2:v0
Stream #2:1 (pcm_s24le) -> concat:in2:a0
Stream #3:0 (prores) -> concat:in3:v0
Stream #3:1 (pcm_s24le) -> concat:in3:a0
Stream #4:0 (prores) -> concat:in4:v0
Stream #4:1 (pcm_s24le) -> concat:in4:a0
concat:out:v0 -> Stream #0:0 (libx264)
concat:out:a0 -> Stream #0:1 (aac)
Press [q] to stop, [?] for help
frame=32646 fps= 74 q=-1.0 Lsize= 565457kB time=00:22:41.58
bitrate=3402.1kbits/s speed=3.09x video:532040kB audio:32502kB subtitle:0kB
other streams:0kB global headers:0kB muxing overhead: 0.161919%
[libx264 @ 00000069ad78e380] frame I:370 Avg QP:12.69 size:328317
[libx264 @ 00000069ad78e380] frame P:9642 Avg QP:15.60 size: 35506
[libx264 @ 00000069ad78e380] frame B:22634 Avg QP:19.69 size: 3578
[libx264 @ 00000069ad78e380] consecutive B-frames: 5.9% 4.3% 2.0% 87.8%
[libx264 @ 00000069ad78e380] mb I I16..4: 13.1% 75.3% 11.6%
[libx264 @ 00000069ad78e380] mb P I16..4: 1.0% 5.2% 0.8% P16..4: 18.2%
5.3% 4.7% 0.0% 0.0% skip:64.9%
[libx264 @ 00000069ad78e380] mb B I16..4: 0.1% 0.2% 0.0% B16..8: 13.1%
1.0% 0.3% direct: 0.4% skip:85.0% L0:47.9% L1:48.3% BI: 3.8%
[libx264 @ 00000069ad78e380] 8x8 transform intra:73.9% inter:78.2%
[libx264 @ 00000069ad78e380] coded y,uvDC,uvAC intra: 77.0% 86.6% 59.7%
inter: 4.4% 7.2% 1.8%
[libx264 @ 00000069ad78e380] i16 v,h,dc,p: 31% 40% 12% 17%
[libx264 @ 00000069ad78e380] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 20% 44% 3%
3% 3% 4% 3% 5%
[libx264 @ 00000069ad78e380] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 25% 18% 5%
5% 5% 6% 4% 5%
[libx264 @ 00000069ad78e380] i8c dc,h,v,p: 53% 19% 23% 6%
[libx264 @ 00000069ad78e380] Weighted P-Frames: Y:0.9% UV:0.6%
[libx264 @ 00000069ad78e380] ref P L0: 58.0% 5.3% 19.1% 17.4% 0.1%
[libx264 @ 00000069ad78e380] ref B L0: 70.0% 23.4% 6.5%
[libx264 @ 00000069ad78e380] ref B L1: 83.9% 16.1%
[libx264 @ 00000069ad78e380] kb/s:3200.97
[aac @ 00000069ad787e80] Qavg: 830.530
2
4
Hi there,
I would like to live stream ALSA audio input through ffserver.
Just plain raw ALSA audio... happy to use a pcm format ...
Running on a very low resource embedded system and for that reason
running ffmpeg (because of linking requirements) is not possible.
Does anyone know of any other really simple approaches to live streaming
ALSA input through ffserver ?
Looking for information on how to setup the input stream if it isn't ffmpeg.
thanks
Matt
3
5
Hi,
Please let me know the detailed step to integrate and download the
FFMPEG plugin for iOS.
Thanks,
Vijay
3
3
29 Mar '16
First time posting to this list, hoping someone may have a suggestion for an error I’m getting with a FFmpeg project.
Quick history - the application I have running is working fine on the original server Ubuntu 14.04. I was cloning the process to a second server for a backup but one step in the process is failing for a reason I can’t seem to find documentation on:
FFmpeg Log:
ffmpeg -y -f concat -i /media/storage1/pcs/pcsScripts/userVideos/225/files.txt -c copy /media/storage1/pcs/pcsScripts/userVideos/225/composit.mp4 -loglevel debug
ffmpeg version N-79139-gde1a0d4 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 30.100 / 57. 30.100
libavformat 57. 29.101 / 57. 29.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 40.102 / 6. 40.102
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'concat'.
Reading option '-i' ... matched as input file with argument '/media/storage1/pcs/pcsScripts/userVideos/225/files.txt'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '/media/storage1/pcs/pcsScripts/userVideos/225/composit.mp4' ... matched as output file.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file /media/storage1/pcs/pcsScripts/userVideos/225/files.txt.
Applying option f (force format) with argument concat.
Successfully parsed a group of options.
Opening an input file: /media/storage1/pcs/pcsScripts/userVideos/225/files.txt.
[file @ 0x3c12f00] Setting default whitelist 'file,crypto'
[concat @ 0x3c12740] Unsafe file name '/media/scratch1/userVideos/225/usershot1.mp4'
[AVIOContext @ 0x3c12e00] Statistics: 486 bytes read, 0 seeks
/media/storage1/pcs/pcsScripts/userVideos/225/files.txt: Operation not permitted
File Permissions:
-rw-rw-rw- 1 looklisten looklisten 486 Mar 29 07:53 /media/storage1/pcs/pcsScripts/userVideos/225/files.txt
rw-rw-rw- 1 looklisten looklisten 195K Mar 29 07:24 /media/scratch1/userVideos/225/usershot1.mp4
The same process with same permissions and settings is working on the original box - Anyone experienced similar or have suggestions on what I could be missing?
-
Steven Burns
Director of Backend Development
Look Listen
+1 678 522 7534 Mobile
+1 770 818 5654 Fax
steven(a)looklisten.com
3
2