Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Newbies

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 19th June 2012, 20:07   #1  |  Link
dadix
Registered User
 
Join Date: Aug 2011
Posts: 44
"Reverse engineering x264" program for video restoration

I think it could be built like this:
Just like for x264 encoding using different parameters to obtain high quality compression, this "reverse enginereeng" software must to have possibility for the user to enter various parameters in command line to be able to obtain as a result a source as close to an original .

Please tell me what you think about that
(I have a name for this program : RevX264 )

Last edited by dadix; 20th June 2012 at 09:36.
dadix is offline  
Old 19th June 2012, 20:56   #2  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 2,470
I don't understand what you mean.

What is being reverse engineered?
Asmodian is offline  
Old 19th June 2012, 21:47   #3  |  Link
turab
Registered User
 
Join Date: Apr 2012
Posts: 39
Sounds like he wants to design a filter that tries to improve video quality, similar to a deblocking filter.
turab is offline  
Old 20th June 2012, 09:01   #4  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,482
He wants something similar to obtaining the original WAV from an MP3 ("unRAR") in video domain.
__________________
Born in the USB (not USA)
Ghitulescu is online now  
Old 20th June 2012, 09:04   #5  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,280
This makes no sense, and is rather silly.
Blue_MiSfit is offline  
Old 20th June 2012, 09:33   #6  |  Link
dadix
Registered User
 
Join Date: Aug 2011
Posts: 44
Quote:
Originally Posted by Ghitulescu View Post
He wants something similar to obtaining the original WAV from an MP3 ("unRAR") in video domain.
Yes, something like that and i think is possible to "unrar" or "RevX264" to rebuild a source from a mkv (with x264 encoding or somthing else) but must to do reverse enginereeng for this compressed video.

Last edited by dadix; 20th June 2012 at 09:36.
dadix is offline  
Old 20th June 2012, 09:39   #7  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 319
I thought "lossy" meant data loss, as in there's no way you're getting that data back.
Bloax is offline  
Old 20th June 2012, 10:03   #8  |  Link
Groucho2004
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 3,321
Quote:
Originally Posted by dadix View Post
Yes, something like that and i think is possible to "unrar" or "RevX264" to rebuild a source from a mkv (with x264 encoding or somthing else) but must to do reverse enginereeng for this compressed video.
Try to reverse-engineer the dinner you had last night from the dump you took this morning.
Groucho2004 is offline  
Old 20th June 2012, 10:35   #9  |  Link
dadix
Registered User
 
Join Date: Aug 2011
Posts: 44
Quote:
Originally Posted by Bloax View Post
I thought "lossy" meant data loss, as in there's no way you're getting that data back.
I think is just a reconstraction of movement , colors ... This things (Data video compression) have mathematical equations in the background not some mystical things or prayers.
If you know the result is 7 (compressed video with x264) and is obtained with x-3 (this is x264 encoding) with reverse enginereeng must to obtain original files x.

Why something like that may not be possible ?

Last edited by dadix; 20th June 2012 at 10:43.
dadix is offline  
Old 20th June 2012, 11:25   #10  |  Link
Groucho2004
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 3,321
Quote:
Originally Posted by dadix View Post
This things (Data video compression) have mathematical equations in the background not some mystical things or prayers.
Which part of lossy don't you understand? Have a look here.
Groucho2004 is offline  
Old 20th June 2012, 14:03   #11  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,690
This program already exists; it's called a video decoder
Dark Shikari is offline  
Old 20th June 2012, 15:45   #12  |  Link
dadix
Registered User
 
Join Date: Aug 2011
Posts: 44
Quote:
Originally Posted by Dark Shikari View Post
This program already exists; it's called a video decoder
I was afraid that someone will say that
dadix is offline  
Old 20th June 2012, 16:38   #13  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,924
Here's an analogy. I have two numbers A and B. I give you only the average (A+B)/2. No matter hard hard you want it, and no matter how hard you try, you cannot recover A and B using any algorithm. (You can try making an astronomically unlikely guess, however.)
Guest is offline  
Old 21st June 2012, 06:29   #14  |  Link
bxyhxyh
Registered User
 
Join Date: Dec 2011
Posts: 326
@dadix

If you genius for avisynth, write a script to remove all kind of mosaic from all kind of videos.
If you can, that's not problem and you don't need any other program

But i'm afraid that is not possible.

Last edited by bxyhxyh; 21st June 2012 at 06:47.
bxyhxyh is offline  
Old 21st June 2012, 08:12   #15  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,482
Quote:
Originally Posted by dadix View Post
(I have a name for this program : RevX264 )
You don't wanna know what google displayed when I searched for RevX264
__________________
Born in the USB (not USA)
Ghitulescu is online now  
Old 21st June 2012, 12:50   #16  |  Link
dadix
Registered User
 
Join Date: Aug 2011
Posts: 44
Quote:
Originally Posted by Dark Shikari View Post
This program already exists; it's called a video decoder
I think the decoder function is limited and refers to entropy data. Reverse engineering go beyound that , to another level, and takes care of handling the coefficients to obtain spatial model and then getting forward to handling and obtain temporal model from residual data

Last edited by dadix; 21st June 2012 at 15:14.
dadix is offline  
Old 21st June 2012, 13:36   #17  |  Link
Groucho2004
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 3,321
Quote:
Originally Posted by dadix View Post
I think the decoder function is limited and refers to entropy data. Reverse engeneering go beyound that and takes care of handling the coefficients to obtain spatial model and then getting forward to handling and obtain temporal model from residual data.
Yes, some successful attempts have already been made with images. See here.
Groucho2004 is offline  
Old 21st June 2012, 14:24   #18  |  Link
dadix
Registered User
 
Join Date: Aug 2011
Posts: 44
Quote:
Originally Posted by bxyhxyh View Post
@dadix

If you genius for avisynth, write a script to remove all kind of mosaic from all kind of videos.
If you can, that's not problem and you don't need any other program

But i'm afraid that is not possible.
How about this? Maybe you implement this ?

http://www.cse.msu.edu/biometrics/Pu...35fenhance.pdf

I put this information because i think the ideas and formulas from this document can be adapted for vectors in reverse engineering technique for missing blocks and adding details.

Last edited by dadix; 21st June 2012 at 16:35.
dadix is offline  
Old 21st June 2012, 14:47   #19  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,924
Stay on topic guys, or the thread will be closed.
Guest is offline  
Old 21st June 2012, 16:07   #20  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 319
Well, I'd be interested in seeing what you'll get out - if you're going to achieve any results. (I doubt you'd release anything if you didn't, which is why I state this for some reason. ;p)
But as you've seen, we're all pretty sceptical on whether that's even possible.

If you're determined on trying - however, please go ahead! (Trying has never hurt, has it now. :-))
Bloax is offline  
Closed Thread

Tags
restoration, reverse engineering, x264

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 +1. The time now is 15:49.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.