[FFmpeg-user] -t option is ignored

Martin G ebisumartin at gmail.com
Wed Mar 28 14:50:17 CEST 2012


> You may check https://launchpad.net/~jon-severinsson/+archive/ffmpeg for
> FFmpeg

Okay, I installed that repository, and it worked much better.

Not perfectly, though. The subclip being created is about 6 minutes
long, but after two minutes it freezes, and the remaining 4 minutes
there is no motion or sound.

Is there a way I can make two minutes be actually two minutes without
this extraneous time tacked onto the end?

This is the output:

$ ffmpeg -ss 01:05:16 -t 120 -i input.avi -vcodec copy -acodec 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 @ 0x1defa40] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'input.avi':
  Metadata:
    title           : Triumph Des Willens
    comment         : Ripped by Reevel
    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            : Triumph Des Willens
    ILNG            : Undefined
    ICMT            : Ripped by Reevel
    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
[NULL @ 0x1defa40] Invalid and inefficient vfw-avi packed B frames detected
frame= 2520 fps=  0 q=-1.0 size=   10466kB time=00:01:36.30 bitrate=
890.3kbits/frame= 3089 fps=  0 q=-1.0 Lsize=   14005kB
time=00:02:00.00 bitrate= 956.0kbits/s
video:12322kB audio:1480kB global headers:0kB muxing overhead 1.473870%


More information about the ffmpeg-user mailing list