So using the following commands I can re-stream and play on the same machine a .ts or .mp4 saved from a camera stream, but i cannot do the same with the stream itself... (fyi: debian 9 w/ vlc 3.0.3)
I can play the stream (and save it with needed code(not shown)):
Code: Select all
vlc rtsp://192.168.60.200:554/2
Code: Select all
vlc 2018_09_14__13_02_56.ts --sout '#std{access=udp,mux=ts,dst=127.0.0.1:1234}'
Code: Select all
vlc udp://@127.0.0.1:1234
Code: Select all
vlc rtsp://192.168.60.200:554/2 --sout '#std{access=udp,mux=ts,dst=127.0.0.1:1234}'
Code: Select all
> status
( new input: rtsp://192.168.60.200:554/2 )
( audio volume: 256 )
( state playing )
> info
+----[ Meta data ]
|
| filename: 2
|
+----[ Stream 0 ]
|
| Video resolution: 1024x576
| Type: Video
| Chroma location: Left
| Color space: ITU-R BT.709 Range
| Buffer dimensions: 1024x578
| Orientation: Top left
| Codec: H264 - MPEG-4 AVC (part 10) (h264)
| Color primaries: ITU-R BT.709
| Color transfer function: ITU-R BT.709
| Decoded format: Planar 4:2:0 YUV full scale
|
+----[ Stream 1 ]
|
| Sample rate: 48000 Hz
| Channels: Stereo
| Codec: MPEG AAC Audio (mp4a)
| Type: Audio
| Bits per sample: 32
|
+----[ end of stream info ]