[FFmpeg-user] -t option is ignored

Steve Cookson it at sca-uk.com
Fri Apr 27 03:12:11 CEST 2012


I forgot to add console output. (See below).

************************************

Hi Guys,

There is no indication whether this issue was every resolved here and I have
the same problem.

I tried all the options in the thread with the same results.

If I try:

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

I get file '-ss' not found.

This is what I think should be correct:

( I have input.avi 60s in duration and output.avi should be 20s but is 55s
long).

ffmpeg -ss 5 -t 20 -i input.avi -vcodec huffyuv -r10 -sameq -an -y
output.avi

Regards

Steve

*************************************

ffmpeg -ss 5 -t 20 -i /home/image/Documents/Endoscopia/media/v_157_55_0.avi
-vcodec huffyuv -r 10 -sameq -an -y
/home/image/Documents/Endoscopia/media/v_157_55_63.avi

ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, Copyright (c) 2000-2011 the
Libav developers
  built on Jan  4 2012 16:08:51 with gcc 4.6.1
  configuration: --extra-version='4:0.7.3-0ubuntu0.11.10.1' --arch=amd64
--prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx
--enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc
--enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared
--disable-static
  libavutil    51.  7. 0 / 51.  7. 0
  libavcodec   53.  6. 0 / 53.  6. 0
  libavformat  53.  3. 0 / 53.  3. 0
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2.  4. 0 /  2.  4. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  52.  0. 0 / 52.  0. 0
[avi @ 0x1af3340] sample size (12288) != block align (256)
Input #0, avi, from '/home/image/Documents/Endoscopia/media/v_157_55_0.avi':

  Metadata:
    SGMA            : Created by Sigma Designs EM8560 PVR Platform.
  Duration: 00:01:01.72, start: 0.000000, bitrate: 3574 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 720x480 [PAR 12:11 DAR 18:11], 29.97
tbr, 29.97 tbn, 29.97 tbc
    Stream #0.1: Audio: adpcm_ima_wav, 48000 Hz, 2 channels, s16, 384 kb/s
Incompatible pixel format 'yuv420p' for codec 'huffyuv', auto-selecting
format 'yuv422p'

[buffer @ 0x1af4080] w:720 h:480 pixfmt:yuv420p

[ffsink @ 0x1afb8c0] auto-inserting filter 'auto-inserted scaler 0' between
the filter 'src' and the filter 'out'
[scale @ 0x1aec320] w:720 h:480 fmt:yuv420p -> w:720 h:480 fmt:yuv422p
flags:0x4
[huffyuv @ 0x1af46e0] using huffyuv 2.2.0 or newer interlacing flag
Output #0, avi, to '/home/image/Documents/Endoscopia/media/v_157_55_63.avi':
  Metadata:
    SGMA            : Created by Sigma Designs EM8560 PVR Platform.
    ISFT            : Lavf53.3.0
    Stream #0.0: Video: huffyuv, yuv422p, 720x480 [PAR 12:11 DAR 18:11],
q=2-31, 200 kb/s, 10 tbn, 10 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press ctrl-c to stop encoding
frame=   72 fps=  0 q=0.0 size=   23336kB time=7.20 bitrate=26551.4kbits/s
dup=0frame=  150 fps=149 q=0.0 size=   49227kB time=15.00
bitrate=26884.3kbits/s dup=frame=  228 fps=151 q=0.0 size=   74467kB
time=22.80 bitrate=26755.8kbits/s dup=frame=  305 fps=152 q=0.0 size=
99419kB time=30.50 bitrate=26703.0kbits/s dup=frame=  383 fps=153 q=0.0
size=  124272kB time=38.30 bitrate=26580.7kbits/s dup=frame=  461 fps=153
q=0.0 size=  149386kB time=46.10 bitrate=26546.0kbits/s dup=frame=  538
fps=153 q=0.0 size=  174522kB time=53.80 bitrate=26574.1kbits/s dup=frame=
568 fps=153 q=0.0 Lsize=  184319kB time=56.80 bitrate=26583.5kbits/s dup=0
drop=1161    
video:184300kB audio:0kB global headers:0kB muxing overhead 0.010273%





More information about the ffmpeg-user mailing list