[FFmpeg-trac] #1753(undetermined:new): Delay output for X seconds
FFmpeg
trac at avcodec.org
Sat May 25 15:00:41 CEST 2013
#1753: Delay output for X seconds
-------------------------------------+-------------------------------------
Reporter: burek | Owner:
Type: enhancement | Status: new
Priority: wish | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by ubitux):
Replying to [comment:4 cehoyos]:
> Replying to [comment:3 ubitux]:
> > This -delay option doesn't seem to even be recognized at all anymore
anyway.
>
> Please elaborate...
FFmpeg 1.2:
{{{
% ffmpeg -f v4l2 -i /dev/video0 -delay 20 -vcodec rawvideo -f mpegts
udp://127.0.0.1:1234
ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
built on May 10 2013 16:31:05 with gcc 4.8.0 (GCC) 20130502 (prerelease)
configuration: --prefix=/usr --disable-debug --disable-static --enable-
avresample --enable-dxva2 --enable-fontconfig --enable-gpl --enable-libass
--enable-libbluray --enable-libfreetype --enable-libgsm --enable-
libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-
libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-librtmp --enable-libschroedinger --enable-libspeex --enable-
libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-
libx264 --enable-libxvid --enable-postproc --enable-runtime-cpudetect
--enable-shared --enable-vdpau --enable-version3 --enable-x11grab
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[video4linux2,v4l2 @ 0x1447080] Estimating duration from bitrate, this may
be inaccurate
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 1773.705972, bitrate: 110592 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480,
110592 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
Output #0, mpegts, to 'udp://127.0.0.1:1234':
Metadata:
encoder : Lavf54.63.104
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480,
q=2-31, 200 kb/s, 90k tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> rawvideo)
Press [q] to stop, [?] for help
frame= 59 fps= 30 q=0.0 Lsize= 28627kB time=00:00:01.96
bitrate=119242.2kbits/s
video:26550kB audio:0kB subtitle:0 global headers:0kB muxing overhead
7.821740%
}}}
FFmpeg git/master:
{{{
% ./ffmpeg -f v4l2 -i /dev/video0 -delay 20 -vcodec rawvideo -f mpegts
udp://127.0.0.1:1234
ffmpeg version N-53432-gaccbb7b Copyright (c) 2000-2013 the FFmpeg
developers
built on May 25 2013 01:08:59 with gcc 4.8.0 (GCC) 20130502 (prerelease)
configuration: --enable-gpl --enable-version3 --enable-fontconfig
--enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-
libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-
x11grab --enable-libopenjpeg --enable-libass --enable-libmodplug --enable-
libv4l2 --cc=colorgcc --samples=/home/ubitux/fate-samples
--prefix=/tmp/ffinstall --disable-runtime-cpudetect --enable-libcelt
--enable-libopencv --enable-frei0r --enable-libcaca --enable-libiec61883
--enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopus
--enable-libpulse --enable-libspeex --enable-libquvi --assert-level=2
--enable-libzmq --enable-libschroedinger
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 12.100 / 55. 12.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 1.101 / 55. 1.101
libavfilter 3. 70.100 / 3. 70.100
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 1766.944404, bitrate: 147456 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480,
147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
Codec AVOption delay () specified for output file #0
(udp://127.0.0.1:1234) is not an encoding option.
}}}
That wiki page is mentioning such command:
http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20capture%20a%20lightning%20%28thunderbolt%29%20with%20FFmpeg
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1753#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list