sofakng
5th June 2013, 13:21
I'm trying to transcode some H.264 (.MKV) videos into MPEG-2 (.MPG) so I can play them using my car stereo but I'm having problems.
Here is my car stereo file format requirements:
MPEG-2: 352x240 to 720x480 or 352x280 to 720x576 (4.0Mbps)and
Playing MPEG1/MPEG2 files This unit can play back MPEG1/MPEG2 files with the extension code <.mpg>,<.mpeg>, or <.mod>.
The stream format should conform to MPEG system/program stream. The file format should be MP@ML (Main Profile at Main Level)/SP@ML (Simple Profile
at Main Level)/MP@LL (Main Profile at Low Level).
Audio streams should conform to MPEG1 Audio Layer-2 or Dolby Digital.
I've been trying to read about command-line options for FFmpeg and I can't seem to get it right.
Here is what I think is right:
ffmpeg -i MyVideo.mkv -s 720x480 -vcodec mpeg2video -acodec ac3 -maxrate 4000000 output.mpg
...but it's asking for BUFSIZE to be set which I'm not sure what to use.
Can anybody help me out with a command-line that I can use to convert almost any video?
Here is my car stereo file format requirements:
MPEG-2: 352x240 to 720x480 or 352x280 to 720x576 (4.0Mbps)and
Playing MPEG1/MPEG2 files This unit can play back MPEG1/MPEG2 files with the extension code <.mpg>,<.mpeg>, or <.mod>.
The stream format should conform to MPEG system/program stream. The file format should be MP@ML (Main Profile at Main Level)/SP@ML (Simple Profile
at Main Level)/MP@LL (Main Profile at Low Level).
Audio streams should conform to MPEG1 Audio Layer-2 or Dolby Digital.
I've been trying to read about command-line options for FFmpeg and I can't seem to get it right.
Here is what I think is right:
ffmpeg -i MyVideo.mkv -s 720x480 -vcodec mpeg2video -acodec ac3 -maxrate 4000000 output.mpg
...but it's asking for BUFSIZE to be set which I'm not sure what to use.
Can anybody help me out with a command-line that I can use to convert almost any video?