I hope this is the right section for my question, if it's not: I'm sorry could you please tell me the right one ? (or move the post) Tnx
I'm trying to record a MJPG video on my raspberry 2 grabbing it from a 'mjpg_streamer' http stream and saving it to file in order to deliver the recorded file to an android device in a second time.
i was able to do it as .avi, it works like a charm, but android do not play avi files (I need it to be stock video player compatible);
this is the AVI example:
Code: Select all
vlc -I dummy http://127.0.0.1:8080/?action=stream \
--sout file/avi:/tmp/file.avi --start-time=00 --run-time=10 vlc://quit
Code: Select all
--sout file/mp4:/tmp/file.avi
Code: Select all
--sout "#transcode{vcodec=h264,venc=x264}:standard{mux=mp4,dst=/tmp/file.mp4,access=file}"
1) as described, no errors, 40 bytes output file
2) no errors, 0 bytes output file (but present)
3) or even "floating point error"
I really cannot record in avi and re-encode on a second time, i need to directly record in android-compatible format.
On the next post ill post a -vvv output
please help ! I'm loosing my mind on it !
tnx, Marco.