View Full Version : "Reverse engineering x264" program for video restoration
dadix
19th June 2012, 20:07
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 )
Asmodian
19th June 2012, 20:56
I don't understand what you mean.
What is being reverse engineered?
turab
19th June 2012, 21:47
Sounds like he wants to design a filter that tries to improve video quality, similar to a deblocking filter.
Ghitulescu
20th June 2012, 09:01
He wants something similar to obtaining the original WAV from an MP3 ("unRAR") in video domain.
Blue_MiSfit
20th June 2012, 09:04
This makes no sense, and is rather silly.
dadix
20th June 2012, 09:33
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.
Bloax
20th June 2012, 09:39
I thought "lossy" meant data loss, as in there's no way you're getting that data back.
Groucho2004
20th June 2012, 10:03
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.
dadix
20th June 2012, 10:35
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 ?
Groucho2004
20th June 2012, 11:25
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 (http://en.wikipedia.org/wiki/Lossy_compression).
Dark Shikari
20th June 2012, 14:03
This program already exists; it's called a video decoder ;)
dadix
20th June 2012, 15:45
This program already exists; it's called a video decoder ;)
I was afraid that someone will say that :)
Guest
20th June 2012, 16:38
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.)
bxyhxyh
21st June 2012, 06:29
@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.
Ghitulescu
21st June 2012, 08:12
(I have a name for this program : RevX264 )
You don't wanna know what google displayed when I searched for RevX264 :readrule:
dadix
21st June 2012, 12:50
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
Groucho2004
21st June 2012, 13:36
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 (http://www.moronail.net/img/2010_see_if_you_can_enhance_that_license_plate).
dadix
21st June 2012, 14:24
@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/Publications/Fingerprint/MSU-CPS-97-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.
Guest
21st June 2012, 14:47
Stay on topic guys, or the thread will be closed.
Bloax
21st June 2012, 16:07
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. :-))
Groucho2004
21st June 2012, 16:28
This thread is ridiculous and has pretty much run its course.
Unless there is some language related misunderstanding, the OP claims that it should be possible to restore the original (raw) data from H.264 video streams. Which of course is not possible.
dadix
21st June 2012, 18:02
Reverse engineering x264 (compression) i think must to have connections with a fractal based software + Fibonacci Sequence.
About fractal :http://video.google.com/videoplay?docid=8570098277666323857
Guest
21st June 2012, 18:12
@dadix
Did you even bother to think about my analogy here:
http://forum.doom9.org/showthread.php?p=1579129#post1579129
If information is discarded it cannot be recovered. Period.
Tell us if you do not understand that analogy and how it applies to x264 compression.
Biggiesized
21st June 2012, 19:17
This program already exists; it's called a video decoder ;)
HAHAHAHAHA :D
I came here to post the same thing!
Once information has been lost, it's impossible to reconstruct it without proper embedded error coding.
dadix
21st June 2012, 23:40
@nouron2 : i read
Using fractal algorithms to generate details is a good ideea but the firs step is to extract this algorithms from x264 encoder output, from vectors , coefficients and so on.
Example: http://www.outerra.com/index.html
Groucho2004
22nd June 2012, 00:00
Now you're just trolling.
Guest
22nd June 2012, 00:40
Closing as the OP has taken the thread off topic.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.