Tag Archives: video

DVD writing commands in Linux

Gnome in Ubuntu works pretty well for CD writing, but it has some issues when writing DVD media, particularly video. Time to hit the command line…
Blanking a DVD-rewritable media (include =full for full disc blanking):
dvd+rw-format -blank[=full] /dev/dvd
Writing a pre-authored DVD video directory structure (video-directory/ is where AUDIO_TS and VIDEO_TS are stored). The -dvd-video flag is [...]

Convert PAL-DVD video to NTSC-DVD with transcode

To convert a video-only stream from PAL to NTSC ready for DVD (assuming the video and audio have already been demuxed and are in MPEG2 and AC3 formats respectively):
transcode -i source.m2v –export_frc 4 -y mpeg2enc -F 8 –ext none,none -J smartdeinter,modfps=clonetype=5 -B 3,0 -C 2 -o destination.m2v
The -B 3,0 causes the video height to be [...]

Converting video and extracting audio from video file

Sources

Converting video in linux using ffmpeg and mencoder

Convert a video file to NTSC DVD-ready MPEG-2
ffmpeg -i video_file -target ntsc-dvd output_file.mpg
Convert a video file to NTSC DV format (to use in Kino)
ffmpeg -i video_file -target ntsc-dv output_file.dv
Extract audio from a video file (in WAV format).
ffmpeg -i video_file -f wav -ar 44100 audio.wav
Extract audio from a video [...]