mutaphore / RTSP-Client-Server

Implementation of a streaming video server and client that communicate using the Real-Time Streaming Protocol (RTSP) and send data using the Realtime Transfer Protocol (RTP)
522 stars 191 forks source link

Wondering if code supports files with audio? #7

Closed appletoeat2 closed 6 years ago

appletoeat2 commented 6 years ago

I have downloaded the code and tried code on mp4 videos with audio, it didn't worked. Is it possible to extend same code for mp4 videos with audio? If support is already available but disabled please guide me how to enable it? Otherwise guide me in the direction to introduce mp4 support in your code.

mutaphore commented 6 years ago

@appletoeat2 this repo uses the simple Mjpeg format to demonstrate coordination between a client and server using RTSP. If you were to support MP4, I imagine you would need a tool like FFMPEG to demux the video/audio streams and pass that to the client.

If you're interested in exploring this, let me know and we could add that as a feature ticket.

appletoeat2 commented 6 years ago

@mutaphore Thanks for response. I am interested in working on MP4 transfer. Please let me look into FFMPEG and will sure contribute in this repository.