Tag Info

Hot answers tagged

2

To run vlc as another user, use: #!/bin/sh su user -c 'vlc -vvv bigbuck.mp4 --sout "#rtp{dst=99.195.203.99,port=8090,sdp=rtsp://99.195.203.99:8091/test.sdp}" & If you don't need the graphic interface, you might consider using cvlc in place of vlc: #!/bin/sh su user -c 'cvlc -vvv bigbuck.mp4 --sout ...


1

You're asking ffmpeg to encode the files into mp4 instead joining them into a single stream. You need to concatenate into temp.ts and then convert that into .mp4 with -codec copy. Also, I believe you need to convert adts to aac in the second step -bsf:a aac_adtstoasc.


1

RTSP itself does not stream media, it is just a control channel used by clients to tell media server where and when to send media. You will probably need to open additional ports in order to get the video stream.



Only top voted, non community-wiki answers of a minimum length are eligible