VOGONS


First post, by caiot5

User metadata
Rank Newbie
Rank
Newbie

Hi guys, recently I wanted to convert some old videos (that archived under modern formats) to their original formats to be able to reproduce them in a retroPC.
However I found that it was trickier than I initially thought. I'm a linux user and that said, I was willing to use ffmpeg to convert those videos but that's where trouble begins:
- FFMPEG does support real video 1.0 format (rv10), but it has no available encoder for SIPR audio, instead it provides ra_144 (RealAudio 14.4k) which crashes the RealPlayer G2 under my 486 system (but I'm perfectly able to play videos with rv10 and SIPR audio), if I try to encode it without audio, it works.
- FFMPEG does support mpeg1video, however looks like I'm stuck with mp2 audio, which is also too new and would require a separate decoder for audio (I wanted to use the native mediaplayer and decoders which are known to work with mpeg1video since the ones from the Win95 CD work fine).

Does anyone have a clue/tip of how can I do that?

Reply 1 of 6, by dominusprog

User metadata
Rank Member
Rank
Member

Use Kenlive. Add a new profile with Avi as container and Cinepak as the codec.

Screenshot_20240118_075238.png
Filename
Screenshot_20240118_075238.png
File size
59.24 KiB
Views
453 views
File license
CC-BY-4.0
Screenshot_20240118_075315.png
Filename
Screenshot_20240118_075315.png
File size
36.69 KiB
Views
453 views
File license
CC-BY-4.0

Duke_2600.png
A-Trend ATC-1020 V1.1 ❇ Cyrix 6x86 150+ @ 120MHz ❇ 32MiB EDO RAM (8MiBx4) ❇ A-Trend S3 Trio64V2 2MiB
Aztech Pro16 II-3D PnP ❇ 8.4GiB Quantum Fireball ❇ Win95 OSR2 Plus!

Reply 3 of 6, by dominusprog

User metadata
Rank Member
Rank
Member
leileilol wrote on 2024-01-19, 01:45:

but that's also only as far as ffmpeg, which can also do cinepak / msadpcm AVIs - a format which is not specified by the OP.

Sure, but AVI works out of the box.

ffmpeg -i file.mp4 -threads 0 -vcodec cinepak -vf scale=352:-4,setsar=1:1 -acodec mp2 file.avi

Duke_2600.png
A-Trend ATC-1020 V1.1 ❇ Cyrix 6x86 150+ @ 120MHz ❇ 32MiB EDO RAM (8MiBx4) ❇ A-Trend S3 Trio64V2 2MiB
Aztech Pro16 II-3D PnP ❇ 8.4GiB Quantum Fireball ❇ Win95 OSR2 Plus!

Reply 4 of 6, by Falcosoft

User metadata
Rank Oldbie
Rank
Oldbie
dominusprog wrote on 2024-01-19, 09:31:
Sure, but AVI works out of the box. […]
Show full quote

Sure, but AVI works out of the box.

ffmpeg -i file.mp4 -threads 0 -vcodec cinepak -vf scale=352:-4,setsar=1:1 -acodec mp2 file.avi

But as OP said this way audio is still not playable on OP's gear since Mediaplayer has no mp2 audio decoder.
So instead '-acodec pcm_s16le' should be tried.
16-bit PCM audio can be played without any special audio codecs and it can be used in AVI container.

Website, Facebook, Youtube
Falcosoft Soundfont Midi Player + Munt VSTi + BassMidi VSTi
VST Midi Driver Midi Mapper

Reply 5 of 6, by zyga64

User metadata
Rank Oldbie
Rank
Oldbie

mp2enc from mjpegtools package (I'm using Debian 12) can encode Mpeg1 Layer 1 audio (and of course Layer2 which is default).
So, you should be able to mux it later with mpeg1 video into mpg container with ffmpeg.

1) VLSI SCAMP /286@20 /4M /CL-GD5422 /CMI8330
2) i420EX /486DX33 /16M /TGUI9440 /GUS+ALS100+MT32PI
3) i430FX /K6-2@400 /64M /Rage Pro PCI /ES1370+YMF718
4) i440BX /P!!!750 /256M /MX440 /SBLive!
5) iB75 /3470s /4G /HD7750 /HDA

Reply 6 of 6, by caiot5

User metadata
Rank Newbie
Rank
Newbie

Thanks @dominusprog and @Falcosoft for the contributions. I ended up using both of your suggestions (.avi format + pcm_s16le) and it worked natively on Win95 RTM.
However I keep wondering if is it possible to encode rv10 with native audio to this day by using any method possible. The reason behind that is that I have a YT channel about old computers/retrocomputing/hardware/software and I wanted to do some videos about how video streaming used to be in the old days, by using some old videos that actually surrounded the internet (and gone "viral") by '95 , '96 and '97 (like the Chipmunk Pizza Guy Crash and so on).