[MPlayer-users] pipe /dev/video0 to fifo

Peter White peter.white at posteo.net
Fri Jun 10 10:37:23 CEST 2016


Am 10.06.2016 um 08:46 schrieb Peter Irbizon:
 > Yes, I am getting picture.

Again, I ask you kindly not to top-post. Inline replies are preferred.
See for example, now I don't know if you are getting picture in
/general/ or by running the /specific/ command.

 > 2016-06-09 20:26 GMT+02:00 Peter White <peter.white at posteo.net>:
 >
 >> Am 09.06.2016 um 10:11 schrieb Peter Irbizon:
 >>
 >>> My commands:
 >>> mkfifo out.raw
 >>> mplayer tv:///dev/video0 -dumpstream -dumpfile out.raw &
 >>> omxplayer out.raw
 >>>
 >>> Any idea why I am not getting picture?
 >>>

Maybe /dev/video0 does not deliver anything? Which is why I asked:

 >> What happens if you just run the following?
 >>
 >> $ mplayer tv:///dev/video0

Did you run this command and get a picture? If so, what happens if you
play out.raw with mplayer itself? Maybe the problem is with omxplayer.

Or, for the time being, make it as simple as possible by dumping the
stream to a regular file instead of a FIFO:

$ mplayer tv:///dev/video0 -dumpstream -dumpfile test_output.raw -endpos 10

This gives you a test_output.raw of about 10 seconds length which
should be playable by mplayer.

If anything of the above does not work provide more info, please. Like
the full output of mplayer commands with the -v option added. Include
as much information as possible.


More information about the MPlayer-users mailing list