I'm trying to port FFmpeg into my NaCl module.
So far, my module linked ffmpeg and SDL libraries.
It already can play YUV format video which is directed load into memory and copy into YUVOverlay buffer (it's very easy).
Now, I want to use ffmpeg to decode video, but when I call the function avformat_open_input it returns -5
when input is URL string, such as rtmp://
or mmsh://
; it returns -1052488119
when input is file name, such as /saved/tmp
(I mount the file system - html5fs).
There are some questions:
If I'm not clearly about my question or description, you can tell me. If you are doing the same thing or having the same problem, we can discuss together.
Thanks, Jar
There is a ffmpeg
port in naclports. Maybe that would be useful for you?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With