Re-encoding Oricutron captures for Youtube

Comments, problems, suggestions about Oric emulators (Euphoric, Mess, Amoric, etc...) it's the right place to ask. And don't hesitate to give your tips and tricks that help using these emulations in the best possible way on your favorite operating system.
Post Reply
User avatar
Xeron
Emulation expert
Posts: 385
Joined: Sat Mar 07, 2009 5:18 pm
Contact:

Re-encoding Oricutron captures for Youtube

Post by Xeron » Wed Aug 01, 2018 11:44 pm

Several people have found that if you upload Oricutron video captures direct to youtube, it re-encodes them into a crappy mess, even though the original video was losslessly encoded (and thus pixel perfect). The issue is that the videos are low resolution (240x224), so youtube encodes them with low quality.

I've found a nice solution. If you use ffmpeg (available ready packaged for most operating systems), with the following parameters:

Code: Select all

ffmpeg -i oricutron_capture.avi -c:v libx264 -preset slow -crf 18 -c:a copy -pix_fmt yuv420p -vf scale=720:672:flags=neighbor encoded_for_youtube.mkv
... the end result is much better when uploaded to youtube, i.e. you get this:



instead of this:


User avatar
Dbug
Site Admin
Posts: 2635
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Re-encoding Oricutron captures for Youtube

Post by Dbug » Thu Aug 02, 2018 7:05 am

Nice.

Would be better to have the option directly in Oricutron, but that should help having less crappy videos indeed :D

User avatar
Xeron
Emulation expert
Posts: 385
Joined: Sat Mar 07, 2009 5:18 pm
Contact:

Re: Re-encoding Oricutron captures for Youtube

Post by Xeron » Thu Aug 02, 2018 10:28 pm

Just a quick additional note, if you change the "scale=720:672:flags=neighbor" parameter to "scale=960:672:flags=neighbor", you'll also give the video a bit of a horizontal stretch and make it look closer to the aspect ratio of a real Oric:


User avatar
iss
Squad Leader
Posts: 626
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Re-encoding Oricutron captures for Youtube

Post by iss » Fri Aug 03, 2018 7:31 am

Thanks for the useful tips!
Additionally if you need to cut your video use options "-ss hh:mm:ss" to set start time and/or "-t hh:mm:ss" to set duration. :wink:

Post Reply