maindvdspanky - Support: sr #105895, --arate option doesn't work on...

 
 

sr #105895: --arate option doesn't work on recent versions of ffmpeg

Submitter:  Maarten Boekhold <boekhold>
Submitted:  Thu 14 Jun 2007 02:13:44 PM UTC
   
 
Priority:  5 - Normal Severity:  4 - Important
Status:  Done Assigned to:  jgrembecki
Open/Closed:  Closed Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 15 Jun 2007 10:08:12 AM UTC, comment #4: 

Ok, thanks :)

The fix is in CVS, I'll be making the 1.1 release in the next couple of days.

Jeffrey Grembecki <jgrembecki>
Group administrator
Fri 15 Jun 2007 08:35:55 AM UTC, comment #3: 

Yeah, it exits straight away...

Maarten Boekhold <boekhold>
Fri 15 Jun 2007 12:52:22 AM UTC, comment #2: 

Actually.. did the program abort straight after the failed ffmpeg? If so I can re-launch ffmpeg on failure with the new switch settings.

Thanks,

Jeff.


Jeffrey Grembecki <jgrembecki>
Group administrator
Thu 14 Jun 2007 11:35:43 PM UTC, comment #1: 

Gah! :D

Most people seem to be using SVN versions of ffmpeg so I think a good way to detect this would be by information obtained from a failure.

I don't suppose you have the log of the failure? If not I can generate one, it's no problem.


For the moment I'll try to modify dvdspanky.c locally to allow me to pass 192kbit/s as "-arate 192k" to dvdspanky (and thus as "-ab 192k" to ffmpeg).


Don't you love open source? ;-)

Thanks for the report.

Jeffrey Grembecki <jgrembecki>
Group administrator
Thu 14 Jun 2007 02:13:44 PM UTC, original submission:  

Hi,

dvdspanky passes on the argument to --arate to the ffmpeg -ab flag. With older versions of ffmpeg the unit of the -ab flag was kbit/s. With newer versions, the unit is bit/s. Unfortunately if I invoke dvdspanky with "-arate 192k", it strips of the "k", thus invoking ffmpeg with "-ab 192", which is an invalid bit rate.

It might be possible to automatically check the version of ffmpeg in order to pass the flag correctly. Unfortunately ffmpeg doesn't have a version number. But it might be possible to first invoke "ffmpeg -h" and do a "grep" on the output:

the old version reports:

    -ab bitrate         set audio bitrate (in kbit/s)

while the new version reports:

    -ab                <int>   E..A. set bitrate (in bits/s)

For the moment I'll try to modify dvdspanky.c locally to allow me to pass 192kbit/s as "-arate 192k" to dvdspanky (and thus as "-ab 192k" to ffmpeg).

Rgds

Maarten Boekhold <boekhold>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jgrembecki (Posted a comment)
  • -email is unavailable- added by boekhold (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-06-15 jgrembecki Open/ClosedOpen Closed
    2007-06-15 jgrembecki StatusNeed Info Done
    2007-06-15 jgrembecki StatusIn Progress Need Info
    2007-06-14 jgrembecki Severity3 - Normal 4 - Important
        StatusNone In Progress
        Assigned toNone jgrembecki

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code