OS2 World.Com Forum
2012.05.25, 17:19:16 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to convert video files to play on OS/2 Warp 4  (Read 2769 times)
Blonde Guy
Sr. Member
****
Posts: 264



View Profile WWW
« on: 2011.02.22, 05:47:58 »

I have some old OS/2 systems that are running Warp 4, FP 8. The multi-media player works for MACAW.AVI with sound.

I'd like to play modern videos on these systems. Rather than try to get some modern player to work on FP8 (a waste of time, I think), I'd like to convert the videos to play on the original Warp 4 player.

I've tried ffmpeg, but I don't know what encoding to ask for. Everything I've tried so far causes one error or another when I try to open the file in Player. Can anyone suggest how to convert videos to play on the old player?
Logged

Expert Consulting for OS/2 and eComStation
jep
Global Moderator
Sr. Member
*****
Posts: 402


View Profile
« Reply #1 on: 2011.02.22, 07:54:33 »

See the ongoing discussion about AVxCAT (formerly FFMPEGCA), it contain an option to create OS/2 compatible video clips.
Logged
CDRWSel
Sr. Member
****
Posts: 419


View Profile
« Reply #2 on: 2011.02.22, 12:28:22 »

Try following script (generated by AVxCAT with less modifications)

Change ff_inputfile
And ff_outputfile
don't try to use higher video size... (it will no work)
the -async is for video/audio syncro (suggested but not required)
The mapping is planned for video + audio stream
If you don't know, just set it to "", ffmpeg will use defaults
change ffmpeg path to your ffmpeg path

/* */
ff_inputfile="C:\MMOS2\MOVIES\ecs.mpg"
ff_inputfile='"'||ff_inputfile ||'"'
ff_outfile="C:\home\default\.avxcat\ecs.mpg"
Out_AVmap=" -map 0.0 -map 0.1"
more_map=""
ff_outfile='"'||ff_outfile||'"'
ffmpeg_prms=' -i '||ff_inputfile||''||Out_AVmap||' -s 480x360 -vcodec mpeg1video -b 1000k -r 25.00 -async 3'
ffmpeg_prms=ffmpeg_prms||' -ar 44100 -acodec mp2 -ab 160k -vol 256 -ac 2'
ffmpeg_prms=ffmpeg_prms||' '||ff_outfile||' '||more_map
'C:\PROGRAMS\FFMPEGCA\FFMPEG-R25157\ffmpeg.exe -y '||ffmpeg_prms
Exit

Advices:
ffmpeg doesn't support 5.1 audio stream (be carefull with WMV)
OS/2 mpg file has mp2 audio stream in it and this has to be specified to have a compatible
video file. The OS/2 and eCs default player are same and it should work under OS/2 as well under eCS.

You can do a try adding -f mpeg1video but this should make the video not work !

Cheers
Remy
Logged
RobertM
Global Moderator
Hero Member
*****
Posts: 2017



View Profile WWW
« Reply #3 on: 2011.02.22, 22:17:46 »

If you haven't installed the MMPack, you'll be stuck with older AVI files and Ultimotion.
Logged

|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|

Blonde Guy
Sr. Member
****
Posts: 264



View Profile WWW
« Reply #4 on: 2011.02.24, 18:14:41 »

If you haven't installed the MMPack, you'll be stuck with older AVI files and Ultimotion.

I looked at MMPack from Theta Band, and I don't think that's the package you are talking about. I looked at MMAudioPack, and that looked more promising, but after applying it, even videos that played before don't play now.

MMAudioPack only has audio ioprocs anyway, but if lack of audio support was preventing me from playing videos, then it might have fixed it.
Logged

Expert Consulting for OS/2 and eComStation
RobertM
Global Moderator
Hero Member
*****
Posts: 2017



View Profile WWW
« Reply #5 on: 2011.02.25, 10:19:01 »

If you haven't installed the MMPack, you'll be stuck with older AVI files and Ultimotion.

I looked at MMPack from Theta Band, and I don't think that's the package you are talking about. I looked at MMAudioPack, and that looked more promising, but after applying it, even videos that played before don't play now.

MMAudioPack only has audio ioprocs anyway, but if lack of audio support was preventing me from playing videos, then it might have fixed it.

I am probably mis-remembering the name, but it was something released with Netscape 4.61 for OS/2 to enable a wider range of video formats.
Logged

|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|

Pete
Hero Member
*****
Posts: 844


View Profile
« Reply #6 on: 2011.02.26, 01:56:32 »

Hi Robert

I think you are thinking of the Netscape Multimedia Plugin Pack which, if I remember correctly, contained some Multimedia updates as well as Netscape plugins.

Regards

Pete

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!