Video DVD, ffmpeg ERRORS: ac3 and /dev/null; makemenu MPEG-2
In trying some DVD formats, I had some errors with ffmpeg preventing the creation of a Video DVD.
ffmpeg -codecs shows: Code:
DEA ac3 ATSC A/52A (AC-3) Code:
ffmpeg -i file.wav -ac 2 -ar 22050 -ab 282 -acodec ac3 -y file.ac3 (there is a typo in the title it should be /dev/zero) Code:
ffmpeg -i /dev/zero -ac 2 -ar 22050 -ab 282 -acodec ac3 -y file.ac3 I also wanted to find out about using ffmpeg to recode the timestamps in separate MPEG-2 files so that they are sequential, but still separate files...without concatinating the files into one big file. For makemenu, it uses ac3 as the audio encoding for the DVD. Is ac3 considered the standard DVD audio format for NTSC Video DVDs so that it will play in any NTSC DVD player? |
Acceptable ac3 parameters for DVD, according to wikipedia, are:
Quote:
pcm and mp2 audio formats are also acceptable, within certain ranges. Check the link. Code:
Error while opening encoder for output stream #0.0: maybe incorrect parameters such as bit rate, rate, width Also, starting a couple of years ago, ffmpeg changed the reading of the bitrate parameter to be bits-per-second. You need to use "-ab 256k" to specify kilobits. Code:
ffmpeg -i /dev/zero -ac 2 -ar 22050 -ab 282 -acodec ac3 -y file.ac3 Code:
ffmpeg -ar 48000 -ac 2 -f s16le -i /dev/zero -acodec ac3 -ab 64k -t 4 silence.ac3 |
Quote:
I did manage to get what I was trying to do done...but it would have been MUCH easier if the man pages were more detailed!!! Quote:
Quote:
Quote:
I did manage to successfully build a Video DVD using Linux tools, mostly ffmpeg. It was a lot of work, and the documenation was not very good. It would be great if Linux users who know how to do Video DVD creation would help out with the man pages and documentation for it! When I try out your code samples to see that they work, I can post again....since I worked around it in another way and got it to work. |
All times are GMT -5. The time now is 02:08 AM. |