[FFmpeg-user] -t option is ignored

Martin G ebisumartin at gmail.com
Sun Apr 1 15:23:34 CEST 2012


> Could you try moving the -ss and -t after the -i now? :)

Thank you for your continued assistance.

I tried this, and it has unfortunately not made any difference. The
output still contains about 4 minutes of additional time, which
consists of no sound and frozen frame.

f$ ffmpeg -i input.avi -ss 01:05:16 -t 120 -c:v copy -c:a copy output.avi
ffmpeg version 0.10.2-4:0.10.2-0ubuntu0jon1~oneiric1 Copyright (c)
2000-2012 the FFmpeg developers
  built on Mar 18 2012 11:07:55 with gcc 4.6.1
  configuration: --extra-version='4:0.10.2-0ubuntu0jon1~oneiric1'
--arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
--disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx
--enable-runtime-cpudetect --enable-libfreetype --enable-vaapi
--enable-frei0r --enable-gpl --enable-postproc --enable-x11grab
--enable-librtmp --enable-libvo-aacenc --enable-version3
--enable-libvo-amrwbenc --enable-version3 --enable-libdc1394
--shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  avutil      configuration: --extra-version='4:0.10.2.0jon1~oneiric1'
--arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
--disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx
--enable-runtime-cpudetect --enable-libfreetype --enable-vaapi
--enable-frei0r --enable-libopenjpeg --enable-gpl --enable-postproc
--enable-x11grab --enable-libdirac --enable-libmp3lame
--enable-librtmp --enable-libx264 --enable-libopencore-amrnb
--enable-version3 --enable-libopencore-amrwb --enable-version3
--enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc
--enable-version3 --enable-libdc1394
--shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  avcodec     configuration: --extra-version='4:0.10.2.0jon1~oneiric1'
--arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
--disable-stripping --enable-vdpau --enable-bzlib --enable-libgsm
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx
--enable-runtime-cpudetect --enable-libfreetype --enable-vaapi
--enable-frei0r --enable-libopenjpeg --enable-gpl --enable-postproc
--enable-x11grab --enable-libdirac --enable-libmp3lame
--enable-librtmp --enable-libx264 --enable-libopencore-amrnb
--enable-version3 --enable-libopencore-amrwb --enable-version3
--enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc
--enable-version3 --enable-libdc1394
--shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg4 @ 0x1433a40] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'input.avi':
  Metadata:
    title           :  input
    encoder         : VirtualDubMod 1.4.13
  Duration: 01:50:30.50, start: 0.000000, bitrate: 886 kb/s
    Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 512x400
[SAR 1:1 DAR 32:25], 23.98 fps, 23.98 tbr, 23.98 tbn, 30k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16, 32 kb/s
File 'output.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'output.avi':
  Metadata:
    INAM            : input
    ILNG            : Undefined
    ICMT            : xxxxx
    ISFT            : Lavf53.32.100
    Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 512x400
[SAR 1:1 DAR 32:25], q=2-31, 23.98 fps, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, 32 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=    0 fps=  0 q=-1.0 size=      10kB time=00:00:00.00 bitrate=
0.0kbits/frame=    0 fps=  0 q=-1.0 size=      10kB time=00:00:00.00
bitrate=   0.0kbits/frame=    0 fps=  0 q=-1.0 size=      10kB
time=00:00:00.00 bitrate=   0.0kbits/frame=    0 fps=  0 q=-1.0 size=
    10kB time=00:00:00.00 bitrate=   0.0kbits/frame=    0 fps=  0
q=-1.0 size=      10kB time=00:00:00.00 bitrate=   0.0kbits/frame=
0 fps=  0 q=-1.0 size=      10kB time=00:00:00.00 bitrate=
0.0kbits/frame=    0 fps=  0 q=-1.0 size=      10kB time=00:00:00.00
bitrate=   0.0kbits/frame=    0 fps=  0 q=-1.0 size=      10kB
time=00:00:00.00 bitrate=   0.0kbits/frame=    0 fps=  0 q=-1.0 size=
    10kB time=00:00:00.00 bitrate=   0.0kbits/frame=    0 fps=  0
q=-1.0 size=      10kB time=00:00:00.00 bitrate=   0.0kbits/frame=
0 fps=  0 q=-1.0 size=      10kB time=00:00:00.00 bitrate=
0.0kbits/frame=    0 fps=  0 q=-1.0 size=      10kB time=00:00:00.00
bitrate=   0.0kbits/frame=    0 fps=  0 q=-1.0 size=      10kB
time=00:00:00.00 bitrate=   0.0kbits/frame=    0 fps=  0 q=-1.0 size=
    10kB time=00:00:00.00 bitrate=   0.0kbits/frame=    0 fps=  0
q=-1.0 size=      10kB time=00:00:00.00 bitrate=   0.0kbits/frame=
0 fps=  0 q=-1.0 size=      10kB time=00:00:00.00 bitrate=
0.0kbits/frame=    0 fps=  0 q=-1.0 size=      10kB time=00:00:00.00
bitrate=   0.0kbits/frame=    0 fps=  0 q=-1.0 size=      10kB
time=00:00:00.00 bitrate=   0.0kbits/frame=    0 fps=  0 q=-1.0 size=
    10kB time=00:00:00.00 bitrate=   0.0kbits/frame= 2324 fps=230
q=-1.0 size=   10169kB time=00:01:38.13 bitrate= 848.8kbits/frame=
2849 fps=278 q=-1.0 Lsize=   13437kB time=00:02:00.03 bitrate=
917.1kbits/s
video:11868kB audio:1379kB global headers:0kB muxing overhead 1.435638%


More information about the ffmpeg-user mailing list