[FFmpeg-devel] hundred bucks to fix FLV cutting

Cyrus A lists
Mon Jul 16 21:22:08 CEST 2007

Sorry if it's out-of-order to offer cash on this list, but I really need 
help ASAP. I'll donate $100 (US) via paypal to anyone who can fix this 
issue (which I posted about earlier). Now, I'm a novice (duh), but it 
seems this can't be that difficult. On its face, it just looks like -t 
is being ignored or otherwise doesn't register when applied to FLVs. If 
it's a heavier lift than I think it is, I can increase the payout.

Thanks for your help. My previous post:

I'm trying to cut a small portion out of a larger FLV file. I have an 
FLV file that is 156 seconds long. The command...

ffmpeg -ss 6 -t 100 -y -vcodec copy -acodec copy -i 
/home/cyrus/Desktop/test.flv /home/cyrus/Desktop/cut.flv

...should create a file that is 94 seconds long (seeking 6 seconds, 
duration for 100 seconds). Instead, it creates a file 150 seconds long. 
That is, it seems to be seeking for 6 seconds, then giving me the rest 
of the clip. Any ideas why that's happening?


Longer output:
ffmpeg -ss 6 -t 100 -y -vcodec copy -acodec copy -i 
/home/cyrus/Desktop/test.flv /home/cyrus/Desktop/cut.flv
FFmpeg version SVN-r9690, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-libmp3lame
  libavutil version: 49.4.1
  libavcodec version: 51.40.4
  libavformat version: 51.12.1
  built on Jul 15 2007 17:51:50, gcc: 4.1.1 20070105 (Red Hat 4.1.1-51)

Seems stream 0 codec frame rate differs from container frame rate: 
1000.00 (1000/1) -> 29.92 (359/12)
Input #0, flv, from '/home/cyrus/Desktop/test.flv':
  Duration: 00:02:36.0, start: 0.000000, bitrate: 64 kb/s
  Stream #0.0: Video: flv, yuv420p, 480x384, 29.92 fps(r)
  Stream #0.1: Audio: mp3, 44100 Hz, stereo, 64 kb/s
Output #0, flv, to '/home/cyrus/Desktop/cut.flv':
  Stream #0.0: Video: flv, yuv420p, 480x384, q=2-31, 1000.00 fps(c)
  Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 4664 fps=  0 q=0.0 Lsize=    6105kB time=150.0 bitrate= 
video:4723kB audio:1216kB global headers:0kB muxing overhead 2.798869%


p.s. The $100 will go to whomever I feel fixes it the fastest or best. 
(i.e. I'm not paying two people, unless there is a team effort to fix it 
and multiple payouts are deserved.)

More information about the ffmpeg-devel mailing list