<p>I am trying to a create 4:3 video upscale encodes with Sega Genesis videos that are usually around 320 x 224 using FFMPEG. While I had been advised to use FFMPEG (and AVISynth) in the past, it was only until fairly recently that I started it to use it and I am still learning about FFMPEG. Prior to using FFMPEG, I mostly used a setup where I used Virtualdub2 to do two resize filters (Nearest Neighbor; Lanzcos3) while using &quot;compute from height ratio&quot; on the second resize filter. I had been looking for better methods to upscale my videos while still maintaining the quality of the videos. <a href="https://plutiedev.com/ffmpeg" rel="nofollow noreferrer">Here are some of the methods</a> <a href="http://trac.ffmpeg.org/wiki/Encode/H.264#LosslessH.264" rel="nofollow noreferrer">tried using the resources</a> I found on the internet:</p>
<p>ffmpeg i -s 1440x1080 -sws_flags neighbor -c:v libx264 -pix_fmt yuv420p -c:a aac -b:a 256k</p>
<p>ffmpeg -i mysourcevideo.avi -vf scale=1600:1120 -sws_flags neighbor -c:v libx264 -crf 10 -c:a aac -q:a 2 outputfile.mp4</p>
<p>These methods appear to work but the thing is I am working with pixel art form older videos and I do not what methods work those kinds of systems. I also learned that while some older consoles can upscaled to 4:3, not all may look good for those for video streaming. I could be wrong or at least inaccurate but what FFMPEG settings that I can use to upscale Genesis (both emulated or otherwise) videos? I also want it pixel accurate with Nearest Neighbor/PointResize, YUV420, AAC with an MP4 container.</p>

CC BY-SA 4.0
2021-07-01T18:49:50.203Z
What have you looked into so far? Any searches you've done? Any things you've tried?
Saaru Lindestøkke
CC BY-SA 4.0
2021-07-03T00:23:58.517Z
I looked to sites like TASvideos where they gave me a FFMPEG script for some good encodes.  I also looked to other video forum sites where I can find more tips on FFMPEG encoding. They seem to work but I am looking for somethign that can account for all Genesis video dumps.
GAP
CC BY-SA 4.0
2021-07-03T12:08:09.417Z
You can edit your question to include things you've tried. "they seem to work but" : please write in your question what commands you've tried that seemed to work, but could not account for all genesis video dumps. No need to write "edit", "update", just update your question as if you're asking it for the first time, but with all the relevant details.
Saaru Lindestøkke
CC BY-SA 4.0
2021-07-07T08:42:00.673Z
Okay I will do that.
GAP
<ffmpeg><encoding><codec><libx264><x264>
How do you batch resizes of Genesis videos in FFMPEG?
GAP
# How do you batch resizes of Genesis videos in FFMPEG?

(Asked by: username_0 on 2021-06-30)

I am trying to a create 4:3 video upscale encodes with Sega Genesis videos that are usually around 320 x 224 using FFMPEG. While I had been advised to use FFMPEG (and AVISynth) in the past, it was only until fairly recently that I started it to use it and I am still learning about FFMPEG. Prior to using FFMPEG, I mostly used a setup where I used Virtualdub2 to do two resize filters (Nearest Neighbor; Lanzcos3) while using "compute from height ratio" on the second resize filter. I had been looking for better methods to upscale my videos while still maintaining the quality of the videos. [Here are some of the methods](https://plutiedev.com/ffmpeg) [tried using the resources](http://trac.ffmpeg.org/wiki/Encode/H.264#LosslessH.264) I found on the internet:

ffmpeg i -s 1440x1080 -sws\_flags neighbor -c:v libx264 -pix\_fmt yuv420p -c:a aac -b:a 256k

ffmpeg -i mysourcevideo.avi -vf scale=1600:1120 -sws\_flags neighbor -c:v libx264 -crf 10 -c:a aac -q:a 2 outputfile.mp4

These methods appear to work but the thing is I am working with pixel art form older videos and I do not what methods work those kinds of systems. I also learned that while some older consoles can upscaled to 4:3, not all may look good for those for video streaming. I could be wrong or at least inaccurate but what FFMPEG settings that I can use to upscale Genesis (both emulated or otherwise) videos? I also want it pixel accurate with Nearest Neighbor/PointResize, YUV420, AAC with an MP4 container.

**Tags:** ffmpeg, encoding, codec, libx264, x264

> **Comments:**
> **username_1**: What have you looked into so far? Any searches you've done? Any things you've tried?  
> **username_0**: I looked to sites like TASvideos where they gave me a FFMPEG script for some good encodes.  I also looked to other video forum sites where I can find more tips on FFMPEG encoding. They seem to work but I am looking for somethign that can account for all Genesis video dumps.  
> **username_1**: You can edit your question to include things you've tried. "they seem to work but" : please write in your question what commands you've tried that seemed to work, but could not account for all genesis video dumps. No need to write "edit", "update", just update your question as if you're asking it for the first time, but with all the relevant details.  
> **username_0**: Okay I will do that.  

---

## 0 answers

