#2 argument order

closed
Oliver Lillie
None
5
2008-04-07
2008-04-05
rockattack
No

the class currently generates commandlines with -r and -f always before -i due to the $_cmds_before_inpute settings. This is wrong; a) it doesn't work under my test Windows and Linux setup b) think the FFMpeg manual says something about that aswell

example of a commandline generated by the current class:
/usr/bin/ffmpeg -r '15' -f 'flv' -i '/test2/dam/transcoder/queue/108-4-4-23-9-30_uI64BHdpbxre' -s '600x400' -aspect '4:3' -b '600kb' -sameq -acodec 'libmp3lame' -pass '1' -passlogfile '/test2/dam/transcoder/tmp/1207343420-47f6993c83a04-multipass' -y /test2/dam/transcoder/tmp/1207343420-47f6993c8322d.flv &> /test2/dam/transcoder/tmp/1207343420-47f6993c841db.info

results into:
[flv @ 0xd6ceb0]skipping flv packet: type 23, size 9655508, flags 0
[flv @ 0xd6ceb0]Could not find codec parameters (Video: 0x0000)
/test2/dam/transcoder/queue/108-4-4-23-9-30_uI64BHdpbxre: could not find codec parameters

I think the arguments -r and -f have to be placed after -i so like: (works on my test machines)
/usr/bin/ffmpeg -i '/test2/dam/transcoder/queue/108-4-4-23-9-30_uI64BHdpbxre' -r '15' -f 'flv' -s '600x400' -aspect '4:3' -b '600kb' -sameq -acodec 'libmp3lame' -pass '1' -passlogfile '/test2/dam/transcoder/tmp/1207343420-47f6993c83a04-multipass' -y /test2/dam/transcoder/tmp/1207343420-47f6993c8322d.flv &> /test2/dam/transcoder/tmp/1207343420-47f6993c841db.info

Discussion

  • Oliver Lillie
    Oliver Lillie
    2008-04-07

    Logged In: YES
    user_id=1299013
    Originator: NO

    This is fixed in 0.1.3 and will be released shortly.

     
  • Oliver Lillie
    Oliver Lillie
    2008-04-07

    • assigned_to: nobody --> buggedcom
    • status: open --> closed