hello,
having trouble converting a .avi file to DVD mpeg2enc for toasting for a dvd to play on a normal dvd player.
having dropped the .avi into ffmpegx and chosen DVD mpeg2enc in the pop up, i then chose Decode with mplayer under options as .avi files don't play in quicktime (i also chose 'set 3:2' and deselected the 'author as' check box)
this reulsted in a .mpv file, a .mpa file, and a muxed together .mpg file.
checking the .mpg file in vlc showed that the video was fine but the audio was very much out of sync and ended *far* sooner than the end of the movie, so there was many minutes of silence at the end, so i threw away the .mpg file.
the .mpv file seems fine. the .mpa file seems fine also (says the right time/length in quicktime player).
i tried dropping the .mpv file into toast which then asks is there a sound file which i then point it to the .mpa file which it seems to accept but not as is (like it usually does when i do this, going back to the earlier steps above, via quicktime rather than mplayer) -- it says "Preparing..." and starts off taking ages.
due to previous successes with .ac3 files i managed to make a .ac3 file from the original .avi via quicktime pro then ffmpegx and used this in toast with the .mpv file but again, "Preparing..."
(a) how can i get this movie into dvd format with the sound in sync?
(b) can i do it without reencoding the whole thing again?
ffmpegx says this about the movie i'm trying to convert:
AVI
mpeg4, yuv420p, 512x384
mp3, 48000 Hz, stereo, 112 kb/s
and via the info button:
VIDEO: [XVID] 512x384 12bpp 29.970 fps 1004.6 kbps (122.6 kbyte/s) audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 B/s=14992 sampe-0)
any ideas?
thanks.
Results 1 to 12 of 12
-
-
Originally Posted by jboyd
-
thanks for the reply. right sorry didn't know that was important info. i've always let ffmpegx pick that for me and not paid much attention to it.
going through the same set up process again to find out what ffmpegx picks for this movie, it's: NTSC FILM which is i think what ffmpegx always picks, although i could be wrong.
the reason i set "set 3:2" is because of much long winded previous trouble a while ago trying to get toast to accept movie files from ffmpegx as is (avoiding toast's long "preparing..." stage), and it was ticking "set 3:2" which finally solved the problem, but maybe that was specific to the file in question but it certainly generally seems to have served me well, at least, having always checked "set 3:2" since, toast accepts converted files as are. but maybe in some cases it doesn't make any difference and it toast would have accepted file as is anyway? who knows.
to be honest i'm not even sure what "set 3:2" means. is it the screen size ratio? anyway, not ticking it for at least some (and possibly all) movies renders ffmpegx's output not acceptable as is by toast which adds a horific (especially on my *old* computer) amount of time to the whole process so it's really important for me to avoid that.
so my movie converting process (to be able to drop multiple movie files into toast's 'video' pane for making dvd for dvd player) is basically:
drop movie into ffmpegx
choose DVD mpeg2enc
under options choose "set 3:2", and detick "author as" and if it's a movie file which quicktime can't play choose "decode with mplayer" instead of quicktime.
generally this works but fails in a few ways, one of which obviously is the way i've described in this thread. the only other file which the same problem (or at least very similar: audio very out of sync and ending way before the end of the movie) was this file:
asf
msmpeg3, yuv420p, 640x480
wmav2, 44100 Hz, mono, 32 kb/s
now it could be not related even though the problem appeard (or more appropriately sounded) the same, but i now notice the yuv420p similarity. because that mentioned just above file had a .wmv extension i'd have used quicktime to convert not mplayer (because i've got something installed which allows quicktime to play .wmv files), so if both of these files did suffer from exactly the same problem, whether quicktime or mplayer is used makes no difference.
going back to your original suggestion, do you think not checking the "set 3:2" check box could help and still get files accepted by toast as are? for both of the described files, the .avi one and the .wmv (asf) one? the second mentioned file, the asf / wmv file, is much shorter so it'd be preferable to mess around to see what works with that one rather than the other (the other took about 2 and 1/2 days on my machine!).
thanks.
-
Originally Posted by jboyd
If you feed a 23.976 fps MPEG-2 file without 3:2 pulldown to Toast, then Toast will re-encode it to make it 29.97 fps. But if it has the pulldown, then Toast accepts it as compliant.
As your source AVI is 29.97 fps, it doesn't need a 3:2 pulldown, and adding one might have unwanted effects. Set ffmpegX target framerate to the same 29.97 fps in this case.
Without knowing the framerate of your WMV file, it's not possible to tell if a DVD conversion needs the 3:2 pulldown. You could open the WMV file in QuickTime Player, open the window Movie Inspector, to get its framerate ("fps").
-
Originally Posted by Case
Without knowing the framerate of your WMV file, it's not possible to tell if a DVD conversion needs the 3:2 pulldown. You could open the WMV file in QuickTime Player, open the window Movie Inspector, to get its framerate ("fps").
Windows Media Audio 9 Standard, Mono, 44.100 kHz
Microsoft MPEG-4 V3, 640 x 480, Millions
so when i attempted to convert that movie for dvd i chose DVD mpeg2enc, then "set 3:2" in options and left it as quicktime.
so would that need "set 3:2" setting for it? no, i'd guess because it's not 29.976?
what logic should i use to work out whether "set 3:2" should be applied or not? is it simply:
if framerate of source movie is 23.976 tick "set 3:2"
else don't tick "set 3:2"
or is it:
if framerate of source movie is 23.97 don't tick "set 3:2"
else tick "set 3:2"
blimey, this movie conversion isn't half a mine field
thanks very much.
-
Originally Posted by jboyd
Originally Posted by jboyd
With your output mpg at 29.97 fps, it does not need the 3:2 pulldown.
If the framerate of your TARGET MPEG-2 movie is 23.976 fps,
then tick "Set 3:2"
else don't tick "Set 3:2".
-
Originally Posted by Case
Originally Posted by Case
Originally Posted by Case
-
Originally Posted by jboyd
[Some DVD players are even forgiving on mixing pal and ntsc, although it is out-of-spec.]
-
Originally Posted by Case
i'll report on success or not on conversion of avi when it's done.
thanks very much.
-
that worked -- the large avi. so thanks very much for the info Case.
is it best then in general to choose NTSC or NTSC MOVIE or PAL, when converting for a DVD player DVD, based on which one has the closest framerate to the source movie? obviously if the source movie is the same as one of those then i can imagine choosing that format is a good idea, but if the source movie is not 29.97 fps or 23.976 fps or 25 fps it seems from all the above it's better to choose the closest? e.g. if the source movie is 25.6 say, then PAL would be the best choice? is it just a case of, if choosing whichever one happens not to work, then if there's a closer fps option then that one just has more chance of working?
should i always, if i want to give it the best chance of working well and ok first time, choose the closest target framerate to the source movie's framerate?
thanks very much.
-
If your source framerate is different from your target framerate, then the encoder will have to remove or duplicate frames to get an output file of the same runtime. Lesser manipulation (close fps value) will result in smoother video, compared to framerates that are 'further' away.
Separate from that is possible audiosync issues, which are more likely to happen with framerate conversions. The Decode with Quicktime option has solved that for me on several occasions.
Similar Threads
-
Converted video (mp4): audio out of sync
By darknezx in forum Video ConversionReplies: 4Last Post: 22nd Mar 2011, 02:25 -
Youtube MP4 Videos Converted to AVI Have Out-of-Sync Audio
By ConverterCrazy in forum Video ConversionReplies: 5Last Post: 26th Apr 2010, 16:31 -
Conversion stops after one minute of material converted
By dkstr in forum ffmpegX general discussionReplies: 1Last Post: 15th Sep 2008, 12:21 -
SVCD converted movie with choppy playback at the end on stand-alone player
By supernano in forum Video ConversionReplies: 0Last Post: 27th Oct 2007, 10:10 -
Audio becomes out of sync when converted (transcoded?) from .vob files
By Neptuna_Fish in forum Newbie / General discussionsReplies: 12Last Post: 21st Aug 2007, 19:39