I am trying to re-broadcast streams from BBC iPlayer in a local network to save bandwidth. I have tried many different command lines, but I am only able to allow VLC to display the stream on the local display with this:
get_iplayer --pid tv:PROGRAMNAME --stdout --nowrite | vlc file:///dev/stdin
I was not able to re-broadcast the video - the audio works fine. The VLC player on the receiving end only lists the audio stream in the media information - no video at all (ffmpeg is installed):
get_iplayer --pid tv:PROGRAMNAME --stdout --nowrite | vlc file:///dev/stdin -I dummy --ttl 12 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{mux=ts,dst=239.255.100.100,sdp=sap://,name="TestStream"}'
The error message that shows up in the output is:
Invalid PCR value in ES_OUT_SET_(GROUP_)PCR !
Any ideas welcome.