Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
25th January 2021, 19:10 | #1 | Link |
Registered User
Join Date: May 2016
Posts: 235
|
MPEG-1 + ADPCM (easiest way?)
I am trying to redo a video for a project. For this i need a video to be mpeg-1 video and adpcm as audio. I was thinking on virtualdub, but I can't figure out what codec to se and how to change the audio (i only got the "pcm", ont know how to add other audio codecs).
Is there other programs that could do this? (Free would be best) I do have ffmpeg. But I don't know how to get the right codec for video and audio to work. Is this right? ffmpeg -i "file.mp4" -vcodec mpeg1video -acodec adpcm_ms "output_file.mpeg"
__________________
Automatic Colorization Last edited by color; 25th January 2021 at 20:19. |
25th January 2021, 22:12 | #2 | Link |
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
|
Code:
ffmpeg -i "file.mp4" -vcodec mpeg1video -acodec adpcm_ms "output_file.mpeg" Probably you'll have to go the Matroska way. Are you using Windows 10? I use Windows 7 and AFAIR I didn't have to install ADPCM, Cinepak and some other ancient codecs ffmpeg has an ADPCM compressor. As for its MPEG-1 encoder, I'm afraid you'll have to tweak the bitrate and the quantization matrices according to the video resolution, because MPEG-1 does not imply "Video-CD quality"... |
25th January 2021, 22:22 | #3 | Link |
Derek Prestegard IRL
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,988
|
If you want to stick with industry standard formats you can use MPEG-TS to store ADPCM and MPEG-1.
Code:
ffmpeg -i "file.mp4" -vcodec mpeg1video -acodec adpcm_ms -f mpegts "output_file.ts" |
26th January 2021, 05:35 | #4 | Link |
Registered User
Join Date: May 2016
Posts: 235
|
filler56789, I use Windows 10, 64-bit. I'm trying to create a PSX video-file. *.CPK (or a *.RPL, but it seems impossible). Just got to know that MPEG-1 video with ADPCM audio would work. But the problem is to create something. I don't know if MKV works, I don't know if its similar container?
Blue_MiSfit, that didn't work. It says that a 15fps is to low, however it does work with doubble the fps. The video file is 640x480px, 15 fps.
__________________
Automatic Colorization Last edited by color; 26th January 2021 at 05:39. |
26th January 2021, 06:37 | #6 | Link | |
Registered User
Join Date: May 2016
Posts: 235
|
Quote:
http://www.psxdev.net/forum/viewtopic.php?t=277 I do get the video-file to work with only the video, but not the merged on with the audio.
__________________
Automatic Colorization Last edited by color; 26th January 2021 at 07:59. |
|
2nd February 2021, 14:37 | #7 | Link |
ангел смерти
Join Date: Nov 2004
Location: Lost
Posts: 9,558
|
You're going to run into problems, just like in that forum thread, because STR isn't MPEG-1, it's just mostly MPEG-1, so you'll inevitably get corruption if you don't use a purpose-built encoder; worse, some games modified the format in their own ways. One of the most immediate differences is that STR is column-major, not row-major, and 10-bit, which completely changes the stream. And the container is completely different, it's based on burning headers into the CD itself rather than being contained in a file alone.
Sadly, there was a remaster project a while back that never released its source, like most emulation projects. |
Tags |
mpeg-1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|