06-Jul-2019, 02:07 PM (This post was last modified: 21-Sep-2019, 10:48 PM by Banelle. Edit Reason: Updated link to point at the latest release )
I've attempted this in the past, but came to the conclusion that my approach was flawed, and I didn't have that much use for it anyway (since the Runcam 3S wouldn't shoot full-frame 4:3). For the sake of completeness here's the thread.
Welp the Runcam 5 is here now and it will shoot 1920x1440 at 60FPS, which means this is probably worth another shot. But this time I'll do it properly. Presenting:
Rather than rely on ffmpeg as an external application, it's now all in one self-contained package. The algorithm is the same, but by packaging in the libav library this gives me the opportunity to do my own frame operations, so I added linear interpolation, so the results are less pixelated. Here's an example of the end result, before and after:
And this is how it looks as video. This was originally short in 1920x1440, and then derped out to 2560x1440.
If anyone has any questions or feedback then drop it into a reply. Until then, happy faking!
(07-Jul-2019, 11:07 PM)SDX55 Wrote: Are you going to make a MacOS version?
I've got no way to build for OSX, I'm afraid. There's nothing Windows-specific in the code so someone else might port it, but that would be up to them. Does Wine work on a Mac? You could try that.
But i got problem running the app. When i tried to open the app, a command promp popped out and dissapear instantly. I'm running 64bit windows 10. Do you got any idea to solve this?
(22-Jul-2019, 07:54 AM)anza Wrote: Looks really good man.
But i got problem running the app. When i tried to open the app, a command promp popped out and dissapear instantly. I'm running 64bit windows 10. Do you got any idea to solve this?
TIA
It's designed to be used from the command line, so if you're running it by double-clicking then it will pop up the command window and then quit out straight away because you need to tell it which file to work on. There's a couple of ways of doing that:
1) Run it from the command line (better, but more complicated)
Open a command prompt (Windows+R and then type 'cmd' and enter)
Navigate to where you put the application using 'cd'
Run it using 'derperview FILENAME', where FILENAME is the path to the video you want to stretch
2) Drag a video file onto the application (simpler to do, but harder to identify problems)
This will run it against the file you drag onto it, but if there are any problems this will close the window immediately, so it can be hard to work out any issues.
Some others things that will cause it to quit out straight away:
no input video
invalid video file
the input video is not in 4:3 aspect ratio
the input video does not use a compatible pixel format
Hopefully that gives you enough to get it working! The next release I do will probably be an attempt to make it more user-friendly.
The ground is for dead people.
The following 1 user Likes Banelle's post:1 user Likes Banelle's post • anza
(22-Jul-2019, 10:52 AM)Banelle Wrote: It's designed to be used from the command line, so if you're running it by double-clicking then it will pop up the command window and then quit out straight away because you need to tell it which file to work on. There's a couple of ways of doing that:
1) Run it from the command line (better, but more complicated)
Open a command prompt (Windows+R and then type 'cmd' and enter)
Navigate to where you put the application using 'cd'
Run it using 'derperview FILENAME', where FILENAME is the path to the video you want to stretch
2) Drag a video file onto the application (simpler to do, but harder to identify problems)
This will run it against the file you drag onto it, but if there are any problems this will close the window immediately, so it can be hard to work out any issues.
Some others things that will cause it to quit out straight away:
no input video
invalid video file
the input video is not in 4:3 aspect ratio
the input video does not use a compatible pixel format
Hopefully that gives you enough to get it working! The next release I do will probably be an attempt to make it more user-friendly.
Thanks for the tutorial man.
I'm able to run the app now. But now i realize that the app only support 1920x1440 resolution. I'm using Xiaomi Yi which only support 1600x1200 resolution.
(23-Jul-2019, 03:00 AM)anza Wrote: Thanks for the tutorial man.
I'm able to run the app now. But now i realize that the app only support 1920x1440 resolution. I'm using Xiaomi Yi which only support 1600x1200 resolution.
1600x1200 should be fine - as long as the source video is in a 4:3 aspect ratio, which 1600x1200 is. It might be using an unusual pixel format, though. Currently I'm only supporting yuv420p and yuvj420p.
If you don't mind me eating some of your time, could you take a screenshot, or copy-paste the output of the program into here? Or if you don't mind, a really small sample video to one of the file sharing sites so I can use it to test.
The ground is for dead people.
The following 1 user Likes Banelle's post:1 user Likes Banelle's post • anza
24-Jul-2019, 05:38 AM (This post was last modified: 24-Jul-2019, 05:39 AM by anza.)
(23-Jul-2019, 07:53 AM)Banelle Wrote: 1600x1200 should be fine - as long as the source video is in a 4:3 aspect ratio, which 1600x1200 is. It might be using an unusual pixel format, though. Currently I'm only supporting yuv420p and yuvj420p.
If you don't mind me eating some of your time, could you take a screenshot, or copy-paste the output of the program into here? Or if you don't mind, a really small sample video to one of the file sharing sites so I can use it to test.
I see. But I got no idea what pixel format is used on my video.
Hy Banelle, THANKS a LOT for these great tools - I do use both Superview and Derperview. Below is the latest addition. This is flown with my Vandal 4in (link to RCgroups) and filmed with Runcam 5 in 1440p/60fps. The whole footage is "derped" I do have another Video with the same Equipment in my Channel ("Harvesting Time"). I do use Superview with some DVR 640x480 footage from a Runcam Phoenix - this works pretty good as well (see "I'm #10" and "Hale Bale Racing"). Bye, Robert
20-Sep-2019, 07:07 PM (This post was last modified: 20-Sep-2019, 07:10 PM by khvi. Edit Reason: fixed the image link )
Hey,
This looks like the best way to "fake" superview that i have seen. So i tried to use it with GoPro Session 4 (that i can use protune, sadly can't have protune and superview on at the same time) but the program seems to do nothing. Maybe the pixel format is to blame? I have linked the output of the program and the smallest sample file i could find (good time for gopro to start freezing) if you want to take a look at it.