Closed StrangeTcy closed 8 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
Thanks! Although the decoding results in a lot of warnings about clipping -1 to 0, but that's another issue.
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.
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.
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.