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

 
 

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

Submitted by:  Maarten Boekhold <boekhold>
Submitted on:  Thu 14 Jun 2007 02:13:44 PM UTC  
 
Priority: 5 - NormalSeverity: 4 - Important
Status: DoneAssigned to: Jeffrey Grembecki <jgrembecki>
Open/Closed: ClosedOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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.

Don't you love open source? ;-)

Thanks for the report.

Jeffrey Grembecki <jgrembecki>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 15 Jun 2007 10:08:29 AM UTCjgrembeckiOpen/ClosedOpen=>Closed
    Fri 15 Jun 2007 10:08:11 AM UTCjgrembeckiStatusNeed Info=>Done
    Fri 15 Jun 2007 12:52:22 AM UTCjgrembeckiStatusIn Progress=>Need Info
    Thu 14 Jun 2007 11:35:43 PM UTCjgrembeckiSeverity3 - Normal=>4 - Important
      StatusNone=>In Progress
      Assigned toNone=>jgrembecki

    Back to the top


    Powered by Savane 3.1-cleanup