![]() Note that this may be necessary to create a mpeg2 file that is DVD compatible Note that the sout-ffmpeg-strict-rc, or strict rate control, flag can be permanently set in the Preferences as an Advanced Option under Input/Codecs->Other Codecs->FFmpeg. Vlc "C:\Movies\Your File.asf" :sout=#transcode -aspect-ratio "4:3" -sout-transcode-width 720 -sout-transcode-height 480 -sout-transcode-fps 29.97 -sout-ffmpeg-keyint 16 -sout-ffmpeg-strict-rc Important bits (which you should edit) are shown in bold. To encode the full thing, just use the same command without the -stop-time=20. ![]() This is so you can then view the output and make sure it looks OK. In the command I included -stop-time=20, which tells VLC to only encode the first 20 seconds.You may also need to give the full path to vlc (ie, replace vlc with "C:\Program Files\VideoLAN\vlc\vlc", or wherever you installed vlc) You'll need to type this at the command prompt (windows) or terminal (linux), all on one line. asf source movie is a 640x480 frame grabber. Standard DVD "letterbox" has an aspect ratio of 16:9. You need to specify this so that the transcoding doesn't make the output video "fat", stretch things to fit the wider DVD width. For instance, a Webcam or framegrabber with 640x480 or 320x240 resolution has an -aspect-ratio of 4:3. Use the -aspect-ratio switch to control things.Set the -sout-ffmpeg-strict-rc (see notes below).Set the -sout-ffmpeg-keyint to 16 (possibly not needed, but I use this and it works).Set the -sout-transcode-fps to match your target, using 29.97 for NTSC, 25 for PAL.A DVD format file should be 720x480 resolution for NTSC, or 720x576 resolution for PAL. ![]() If you need more channels, use a52 and increase the bitrate budget 64 or 96K/channel (2 channels 192K, 6 channel 384K.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |