English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 28 April 2023, 12:02   #1
StevenJGore
Amiga Fanatic
 
StevenJGore's Avatar
 
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 726
Converting MP4 videos to MPG videos that will play in RiVA

I'm struggling to convert MP4 videos on my PC into MPG videos that will play on my A1200 with RiVA.

I've got some sample MPG videos from CoffinOS r62 that are 640x360 and play very well in RiVA, but using Handbrake on my PC I just can't create any files that RiVA will play. It either just does nothing (doesn't open a window) or opens a window with a static dark green background.

If somebody could share their settings or a Handbrake profile, or recommend an alternative app, that would be much appreciated. Thanks!
StevenJGore is offline  
Old 28 April 2023, 12:29   #2
Seiya
Registered User
 
Seiya's Avatar
 
Join Date: Nov 2014
Location: Italy
Posts: 2,342
But do you want to play it with stock A1200 or you have some accelerator board?
Seiya is offline  
Old 28 April 2023, 12:31   #3
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Quote:
Originally Posted by Seiya View Post
But do you want to play it with stock A1200 or you have some accelerator board?
He has a Vampire so he will use the RiVA compiled for Vampire V4 boards.

Quote:
Originally Posted by StevenJGore View Post
I'm struggling to convert MP4 videos on my PC into MPG videos that will play on my A1200 with RiVA.

I've got some sample MPG videos from CoffinOS r62 that are 640x360 and play very well in RiVA, but using Handbrake on my PC I just can't create any files that RiVA will play. It either just does nothing (doesn't open a window) or opens a window with a static dark green background.

If somebody could share their settings or a Handbrake profile, or recommend an alternative app, that would be much appreciated. Thanks!
Hi Steven.
You can download the video in MP4 from YouTube then convert it using FFMPEG encoder.

You can use the following declaration (I used FFMPEG on windows).
Code:
ffmpeg -i Video.mp4 -r 25 -s 640x360 -aspect 16:9 -b:v 1242k -profile 0 -level 3 -bf 2 -b:a 128k Video.mpg
Other users used the following as well
Code:
ffmpeg -i Video.mp4 -vcodec mpeg1video -b:v 1500k -maxrate 2000k -bf 3 -ac 2 -acodec mp2 -b:a 128k -ar 44100 Video.mpg
or
Code:
ffmpeg -i Video.mp4 -vcodec mpeg1video -filter:v scale=640:360 -b:v 1500k -bf 3 -ac 2 -acodec mp2 -b:a 128k Video.mp4
mfilos is offline  
Old 28 April 2023, 13:22   #4
Aulapatchuc
Registered User
 
Aulapatchuc's Avatar
 
Join Date: Apr 2023
Location: Sesimbra
Posts: 116
A nice front end for FFmpeg:


https://forum.videohelp.com/threads/...GUI-for-FFmpeg

Edit:
I also found this frontend which resembles Handbrake for FFmpeg:

https://www.videohelp.com/software/FFmpeg-Batch

Hope it helps.

Last edited by Aulapatchuc; 28 April 2023 at 14:22. Reason: more information added
Aulapatchuc is offline  
Old 28 April 2023, 20:39   #5
StevenJGore
Amiga Fanatic
 
StevenJGore's Avatar
 
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 726
Quote:
Originally Posted by Seiya View Post
But do you want to play it with stock A1200 or you have some accelerator board?
As mfilos says (who has helped me many times these last few weeks, and seems to know me well by now! ) I'm running RiVA on Vampire hardware, so there's no problem with speed. Just seems to be a video format issue.
StevenJGore is offline  
Old 28 April 2023, 20:40   #6
StevenJGore
Amiga Fanatic
 
StevenJGore's Avatar
 
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 726
Quote:
Originally Posted by mfilos View Post
He has a Vampire so he will use the RiVA compiled for Vampire V4 boards.

Hi Steven.
You can download the video in MP4 from YouTube then convert it using FFMPEG encoder.

You can use the following declaration (I used FFMPEG on windows).
Code:
ffmpeg -i Video.mp4 -r 25 -s 640x360 -aspect 16:9 -b:v 1242k -profile 0 -level 3 -bf 2 -b:a 128k Video.mpg
Other users used the following as well
Code:
ffmpeg -i Video.mp4 -vcodec mpeg1video -b:v 1500k -maxrate 2000k -bf 3 -ac 2 -acodec mp2 -b:a 128k -ar 44100 Video.mpg
or
Code:
ffmpeg -i Video.mp4 -vcodec mpeg1video -filter:v scale=640:360 -b:v 1500k -bf 3 -ac 2 -acodec mp2 -b:a 128k Video.mp4
Excellent, the first one works perfectly. I've also noticed that the videos play better from my CF card attached to my Vampire, as opposed to the native A1200 one. Not surprising, given the faster read speeds.
StevenJGore is offline  
Old 28 April 2023, 20:41   #7
StevenJGore
Amiga Fanatic
 
StevenJGore's Avatar
 
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 726
Quote:
Originally Posted by Aulapatchuc View Post
A nice front end for FFmpeg:

https://forum.videohelp.com/threads/...GUI-for-FFmpeg

Edit:
I also found this frontend which resembles Handbrake for FFmpeg:

https://www.videohelp.com/software/FFmpeg-Batch

Hope it helps.
Excellent, thank you. You guys have all been really helpful.
StevenJGore is offline  
Old 28 April 2023, 21:10   #8
Nobby_UK
Registered User
 
Nobby_UK's Avatar
 
Join Date: Jul 2013
Location: Liverpool
Posts: 2,595
Does Handbrake make MPEG 1's ?

The last I tried was an MPEG 2, which Riva would not touch
and Frogger played without (MP3) sound.
Attached Thumbnails
Click image for larger version

Name:	292.png
Views:	37
Size:	101.1 KB
ID:	78788  
Nobby_UK is offline  
Old 28 April 2023, 21:32   #9
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Quote:
Originally Posted by StevenJGore View Post
Excellent, the first one works perfectly. I've also noticed that the videos play better from my CF card attached to my Vampire, as opposed to the native A1200 one. Not surprising, given the faster read speeds.
Its logical mate. The native IDE can reach up to 3Mb/s at tops, while on the Vampire IDE you can get 10+Mb/s (on FastIDE3 mode).
mfilos is offline  
Old 29 April 2023, 00:35   #10
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Sorry but why go to so much trouble for conversions ?

On OS3 there is FFPlay which supports almost all video formats such as AVI, MP4, MP2, VOB, MOV and many others
AMIGASYSTEM is online now  
Old 29 April 2023, 03:19   #11
StevenJGore
Amiga Fanatic
 
StevenJGore's Avatar
 
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 726
Quote:
Originally Posted by AMIGASYSTEM View Post
Sorry but why go to so much trouble for conversions ?

On OS3 there is FFPlay which supports almost all video formats such as AVI, MP4, MP2, VOB, MOV and many others
Genuinely didn't know that. I'll definitely take a look at FFPlay.

All my MP4 videos are full HD, though, so I guess it will come back to them still needing to be converted to reduce the frame size from 1920x1080 to 640x360.
StevenJGore is offline  
Old 29 April 2023, 08:12   #12
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Quote:
Originally Posted by AMIGASYSTEM View Post
Sorry but why go to so much trouble for conversions ?

On OS3 there is FFPlay which supports almost all video formats such as AVI, MP4, MP2, VOB, MOV and many others
As far as I remember... FFPlay in a classic Amiga system is a bit of LOL.
Under WinUAE or Aros it probably will be nice but under classic (especially with Vampire accelerator), you can't beat RiVA's quality.
That's why all the fuss for converting...

Edit: Just used the Aminet 0.9.1 Git version (040/FPU) and tried playing the same mpeg videos I play with RiVA under my V4SA and the stuttering is unreal! Haven't tried anything else (avi/mov/vob etc) but I seriously doubt that the stuttering will be better...

Last edited by mfilos; 29 April 2023 at 08:22.
mfilos is offline  
Old 29 April 2023, 09:49   #13
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Strange, Vampire is said to be very fast !!! on WinUAE FFPlay is smooth !


[ Show youtube player ]
AMIGASYSTEM is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any hamv videos available? TenLeftFingers Amiga scene 5 18 February 2016 20:09
Ham videos Zooup1972 support.Apps 17 19 April 2015 00:35
Wipeout2097 mpeg videos?????? Knight94 support.Games 11 31 December 2014 13:55
Cheezy dance videos thinlega Retrogaming General Discussion 11 20 June 2002 20:50

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:25.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.20855 seconds with 14 queries