dustmop
31st January 2007, 09:31
Hi. I've been messing around with dvd authoring for a while, and have almost got every part figured out, though it seems like at each step I get stuck on something new. At this point, I'm sort of lost, as my understanding of the terms involved has reached its limits. I'm using ffmpeg.rev7375(video/audio conversion)+virtualdub(audio extraction)+dvdauthor. I think the problem is in ffmpeg, as I just started using it (for speed), and since then this problem has shown up. Whenever a lot is happening on-screen (such as movement), the audio/video skips like crazy, with what looks like two frames per second.
Here's the script I'm using:
ffmpeg -i "movie.avi" -r 29.970 -s 720x468 -padtop 6 -padbottom 6 -qscale 4 -b 5000 -dc 10 -pass 1 -an -f mpeg2video -aspect 4:3 "e:\authoring\output\video01.m2v"
vdub /s grabwav01.vdb
ffmpeg -i "e:\authoring\output\audio01.wav" -f ac3 -ab 256 "e:\authoring\output\audio01.ac3"
mplex -f 8 -o "e:\authoring\output\dvd\title01.mpg" "e:\authoring\output\video01.m2v" "e:\authoring\output\audio01.ac3"
dvdauthor -x author.xml -o dvd
And grabwav01.vdb is:
VirtualDub.Open("movie.avi", 1, 0);
VirtualDub.audio.SetMode(1);
VirtualDub.audio.SetConversion(48000, 0, 0);
VirtualDub.SaveWAV("e:/authoring/output/audio01.wav");
Could this be a bitrate problem? I thought 5000 would be enough from other things I've read. Also, I have no idea what many of these other options mean.
I've noticed there's isn't much about ffmpeg on here. I'm hoping someone has some knowledge about it. Any help would be appreciated, thanks!
Here's the script I'm using:
ffmpeg -i "movie.avi" -r 29.970 -s 720x468 -padtop 6 -padbottom 6 -qscale 4 -b 5000 -dc 10 -pass 1 -an -f mpeg2video -aspect 4:3 "e:\authoring\output\video01.m2v"
vdub /s grabwav01.vdb
ffmpeg -i "e:\authoring\output\audio01.wav" -f ac3 -ab 256 "e:\authoring\output\audio01.ac3"
mplex -f 8 -o "e:\authoring\output\dvd\title01.mpg" "e:\authoring\output\video01.m2v" "e:\authoring\output\audio01.ac3"
dvdauthor -x author.xml -o dvd
And grabwav01.vdb is:
VirtualDub.Open("movie.avi", 1, 0);
VirtualDub.audio.SetMode(1);
VirtualDub.audio.SetConversion(48000, 0, 0);
VirtualDub.SaveWAV("e:/authoring/output/audio01.wav");
Could this be a bitrate problem? I thought 5000 would be enough from other things I've read. Also, I have no idea what many of these other options mean.
I've noticed there's isn't much about ffmpeg on here. I'm hoping someone has some knowledge about it. Any help would be appreciated, thanks!