m13253 / lvdo

Video steganography implementation
GNU General Public License v3.0
98 stars 11 forks source link

Output as a file #6

Closed StrangeTcy closed 8 years ago

StrangeTcy commented 9 years ago

I'm sorry, but can you write an example of outputting the decoded data into a file. I guess it should be -o secret.mp3 somewhere in the line, but I can't figure out where exactly.

m13253 commented 9 years ago

I am sorry that I have not said it clearly. Use the pipe > secret.mp3 to redirect the output to a file will work. Like this:

ffmpeg -i public.mkv -r 1 -f rawvideo - | ./lvdodec -s 640x480 -q 6 --qmin 1 --qmax 4 > secret.mp3
StrangeTcy commented 9 years ago

Thanks! Although the decoding results in a lot of warnings about clipping -1 to 0, but that's another issue.

StrangeTcy commented 9 years ago

Not an issue, just a comment: I tried encoding and then decoding a .pdf, and it got restored as file of the same size, but opening it resulting in a "damaged pdf" error.

m13253 commented 8 years ago

Yes. That was because there is no error detection and recovery. It would be better if something like "WinRAR self fix archive" could be implemented on top of it.

But currently I do not have enough time to work on this project. Feel free if anyone can help improve this.