[mythtv-users] Why is DVD burning failing with ffmpeg?
John Clabaugh
bubbaslash at gmail.com
Wed May 16 01:17:15 UTC 2007
>
> When ffmpeg is called from mytharchive the command designates both the audio
> and video stream options. For instance, the ffmpeg command for LP is:
>
> ffmpeg -v 1 -i "/mnt/store/temp/work/1/tmp" -r ntsc -target dvd -b 2344k -s
> 352x480 -acodec ac3 -ab 192 -ac 2 -copyts -aspect 4:3
> "/mnt/store/temp/work/1/newfile2.mpg" -map 0:0 -map 0:1
Change the "-ab 192" to "-ab 192k" and it should work as per Changeset
13360 of the 0.20-fixes branch.
http://svn.mythtv.org/trac/changeset/13360/branches/release-0-20-fixes
>
> When I ran this from the command line, I got the error:
>
> Stream #0.1: Audio: ac3, 48000 Hz, stereo, 0 kb/s
> Stream mapping:
> Stream #0.0 -> #0.0
> Stream #0.1 -> #0.1
> Error while opening codec for output stream #0.1 - maybe incorrect
> parameters such as bit_rate, rate, width or height
>
> Notice the 0 kb/s for the audio stream. So I went into the profile xml file
> and deleted the following lines.
>
> ...
> <parameter name="-acodec" value="ac3"/>
> <parameter name="-ab" value="192"/>
> <parameter name="-ac" value="2"/>
> ...
Likewise, change "192" to "192k" in the ntsc profile xml file and this
will fix this issue. There are a few other lines that should be
modded as well. Reference 0.20-fixes changeset 13310.
http://svn.mythtv.org/trac/changeset/13310/branches/release-0-20-fixes
More information about the mythtv-users
mailing list