I am trying to stream video from a pi to another.I have been success-full in that using gstreamer. Playing the video is another question. I can open the stream using VLC but its rather slow and the pi crashes if I try to go full-screen. I have searched a bit and found out that vlc doesn't have hardware acceleration, so I searched a little bit more but found no other way to play a tcp stream.

O found that omxplayer is the one to go but i don't know if or how i could open my stream in it.

the nearest thing i got was dumping from mplayer to omxplayer.

any help?

As I mentioned in my answer to another question, you can use omxplayer to play both UDP and TCP streams. You mention TCP in your question, and the simplest way to do that is using a named pipe:

# on the pi side
mkfifo tcp.stream
nc -l -p 1234 > tcp.stream | omxplayer --live tcp.stream

There is also apparently a patch you can apply to omxplayer to make it to use tcp instead of udp, but that requires you rebuild omxplayer.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.