how to convert videos into a format understood by my standalone divx-compliant dvd player (yamaha dvd-s661).
This simple line below took hours and hours to figure out, spread over many days. sheesh.
ffmpeg -i infile.avi -vcodec mpeg4 -vtag divx -sameq out.avi
A more evolved example:
ffmpeg -i infile.avi -f avi -vcodec mpeg4 -vtag divx -acodec libmp3lame \
-s 320x240 -sameq out.avi
Vtag divx was the critical missing piece, hat tip to Anonymous Coward. Audio codec is there just in case I encounter a codec not understood by my player, might be overkill. Resizing to 320x240 pixels is because my tv is standard NTSC and only shows that much anyway. And yes I know this could lose info, but that's okay as I'm not using this for backing up dvd's, just a bunch of old stuff from tape.
File sizes are double an h264 encoded video. I'm not sure if that's because h264 is so much better than mpeg4 or if I'm unwittingly adding something which isn't there.
using '-target dvd-ntsc' might set proper interlace settings with a minimum of fuss (and then override with above to use mpeg4) - http://www.itdp.de/transcode-users/2004-09/msg00067.html
How do I encode Xvid or DivX video with ffmpeg? - http://www.ffmpeg.org/faq.html#SEC22
For players that don't recognize "XVID", etc... - http://www.linux.com/archive/?module=comments&func=display&cid=1153583
Using ffmpeg to manipulate audio and video files - http://howto-pages.org/ffmpeg/
how to convert videos into a format understood by my standalone divx-compliant dvd player (yamaha dvd-s661).
This simple line below took hours to figure out, spread over many days. sheesh.
ffmpeg -i infile.avi -vcodec mpeg4 -vtag divx -sameq out.avi
A more evolved example:
ffmpeg -i infile.avi -f avi -vcodec mpeg4 -vtag divx -acodec libmp3lame \
-s 320x240 -sameq out.avi
Vtag divx was the critical missing piece, hat tip to Anonymous Coward. Audio codec is there just in case I encounter a codec not understood by my player, might be overkill. Resizing to 320x240 pixels is because my tv is standard NTSC and only shows that much anyway. And yes I know this could lose info, but that's okay as I'm not using this for backing up dvd's, just a bunch of old stuff from tape.
using '-target dvd-ntsc' might set proper interlace settings with a minimum of fuss (and then override with above to use mpeg4) - http://www.itdp.de/transcode-users/2004-09/msg00067.html
How do I encode Xvid or DivX video with ffmpeg? - http://www.ffmpeg.org/faq.html#SEC22
For players that don't recognize "XVID", etc... - http://www.linux.com/archive/?module=comments&func=display&cid=1153583
Using ffmpeg to manipulate audio and video files - http://howto-pages.org/ffmpeg/
how to convert videos into a format understood by my standalone divx-compliant dvd player (yamaha dvd-s661).
This simple line below took hours and hours to figure out, spread over many days. sheesh.
ffmpeg -i infile.avi -vcodec mpeg4 -vtag divx -sameq out.avi
A more evolved example:
ffmpeg -i infile.avi -f avi -vcodec mpeg4 -vtag divx -acodec libmp3lame \
-s 320x240 -sameq out.avi
Vtag divx was the critical missing piece, hat tip to Anonymous Coward. Audio codec is there just in case I encounter a codec not understood by my player, might be overkill. Resizing to 320x240 pixels is because my tv is standard NTSC and only shows that much anyway. And yes I know this could lose info, but that's okay as I'm not using this for backing up dvd's, just a bunch of old stuff from tape.
File sizes are double an h264 encoded video. I'm not sure if that's because h264 is so much better than mpeg4 or if I'm unwittingly adding something which isn't there.
using '-target dvd-ntsc' might set proper interlace settings with a minimum of fuss (and then override with above to use mpeg4) - http://www.itdp.de/transcode-users/2004-09/msg00067.html
How do I encode Xvid or DivX video with ffmpeg? - http://www.ffmpeg.org/faq.html#SEC22
For players that don't recognize "XVID", etc... - http://www.linux.com/archive/?module=comments&func=display&cid=1153583
Using ffmpeg to manipulate audio and video files - http://howto-pages.org/ffmpeg/