Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Derperview - A Command Line Superview Alternative
#1
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:

Derperview - (direct download)

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:

[Image: 0_original.jpg]

[Image: 1_derped.jpg]

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!

The ground is for dead people.
[-] The following 5 users Like Banelle's post:
  • iFly4rotors, anza, izzy26, KonradS, Oscar
Reply
Login to remove this ad | Register Here
#2
Are you going to make a MacOS version?
Reply
#3
(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.

The ground is for dead people.
Reply
#4
Look's nice!
Can you compare it to the existing setting it has? Right at the 1080 resolution there is one extended right?

Man, you had me at that inverted powerloop, it was awesome Smile
I was urging you to make some kind of gap between those trees too!
Reply
#5
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
Reply
#6
(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:
  • anza
Reply
#7
(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.  ROFL
Reply
#8
(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.  ROFL

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:
  • anza
Reply
#9
(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.

I attached the screenshot of the program below. And here's the sample clip.
https://drive.google.com/open?id=1Li6br3...h1TanN_IAZ


Attached Files Thumbnail(s)
   
Reply
#10
That's perfect - thank you.

I've got a fix ready and I'll get a new release put out this weekend. I'll post in here when it's done, but expect it by Sunday.

Thanks again!

The ground is for dead people.
Reply
#11
The UK is currently melting, so my plans for tonight were cancelled. Which means I got that fix done!

https://github.com/banelle/derperview/releases/latest

It works OK that test video, so hopefully that should do the job.

The ground is for dead people.
[-] The following 1 user Likes Banelle's post:
  • anza
Reply
#12
(24-Jul-2019, 08:27 PM)Banelle Wrote: The UK is currently melting, so my plans for tonight were cancelled. Which means I got that fix done!

https://github.com/banelle/derperview/releases/latest

It works OK that test video, so hopefully that should do the job.

Mate, it worked perfectly!
I don't think i need to buy a GoPro now.:p
I"ll share your app to my friends here in Indonesia.

I can't thank you enough mate. Cheers. Big Grin
Reply
#13
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



   
Reply
#14
Looks good - glad it's being useful ;-)

The ground is for dead people.
Reply
#15
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. 

https://drive.google.com/open?id=190sOkq...XLD9LfAopq

https://i.imgur.com/7VQBuut.png
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Tutorial Using free command-line sorcery to fake Superview Banelle 9 6,420 27-Jun-2019, 06:09 PM
Last Post: quantumvortex


Login to remove this ad | Register Here