[mythtv-users] Audio Sync problem -- need help

Craig Huff huffcs at yahoo.com
Sat May 26 15:10:39 UTC 2007


----- Original Message ----
From: John Drescher <drescherjm at gmail.com>
To: Craig Huff <huffcs at yahoo.com>
Cc: Discussion about mythtv <mythtv-users at mythtv.org>
Sent: Friday, May 25, 2007 8:29:09 AM
Subject: Re: Audio Sync problem -- need help

<snip>
>
> Here are the last seventeen (17) lines output to mythburn.log (again, between the lines of "==============="):

<snip>

> ERROR: Failed while running ffmpeg to re-encode the audio to ac3
> Command was ffmpeg -v 0 -y -i '/video/temp/work/1/stream0.mp2' -f ac3 -ab 192 -ar 48000 '/video/temp/work/1/stream0.ac3'

Ahh. You must have a new ffmpeg. They changed the -ab param and the -b
param to mean bytes per second instead of kb/s so at 192 bytes/s your
audio will fail. You need to put a K after the number on the call in
the mythburn.py script.  There are a couple of other threads that talk
about this also I believe this is fixed in the latest mytharchive. I
have turned off the always encode to ac3 option  so I do not get this
error.

You can grab the latest svn which will fix this error or I believe
edit the following line from:

cmd += "-i '%s' -f ac3 -ab 192 -ar 48000 '%s'" % (sourcefile, destinationfile)

to

 cmd += "-i '%s' -f ac3 -ab 192k -ar 48000 '%s'" % (sourcefile, destinationfile)

This should be around line 1229.

Here is a link to the diffs in the svn code:

http://svn.mythtv.org/trac/changeset/13359/trunk/mythplugins/mytharchive/mythburn/scripts/mythburn.py

<snip>

John


John,

Thanks for the feedback.  I'm afraid I'm a slave to Fedora Core RPMs.
I know that SVN is a source versioning system, but no more.

I found the line in mythburn.py and apparently I have a very different version 
of it than you do since I found it at line 1138! :-)

In the meantime, I had a go at letting mythburn re-encode with the "SP" profile,
 which completed, but the result was just as bad as ever. :-(

Ah, well, another fix, another attempt.  If I keep chipping away at it, maybe I'll 
end up with a Michaelangelo -- well, I can dream, can't I?

You can be sure you'll hear from me again, soon, one way or another ;-)

Craig





       
____________________________________________________________________________________Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


More information about the mythtv-users mailing list