[Playout] FFmpeg RTP Stream to produce MJR files

329 views
Skip to first unread message

Mariano Mejia

unread,
Nov 18, 2015, 1:37:54 AM11/18/15
to meetecho-janus
Greetings! Everyone,

Does anyone here have tried to record RTP stream in producing .mjr files for audio and video?

I'm creating a project for VOD, I had tried out the plugin for streaming. But it didn't satisfy my
project requirement, as I provide any file time of video and audio to stream.

Right now the streaming plugin doesn't support file base for on demand streaming. 
But there was a solution with RTP to that, and yet it doesn't satisfy the management of 
ports on outbound for the server/s.

Basically the project objectives is make a Youtube + WebRTC.

Honestly, right now we are exploring on the another plugin for recording/playout.
What the tricky part was it has to build another modules for the following:
1. create converter for audio and video from RTP streams in producing .mjr files
2. rebuilding the janus_recording.c on dynamically produce .nfo (Information) files that binds on the .mjr files and on cache record list
3. validation of the synching of audio and video output files.

I hope everyone here can contribute to make it happen. 

Thank you and have a great day!

- Mar

Lorenzo Miniero

unread,
Nov 18, 2015, 2:02:04 AM11/18/15
to meetecho-janus
New plugins and new features are always welcome!
Check my responses on this question here for some more thoughts on the webm->mjr thing,

L.

Mikael Boman

unread,
Nov 18, 2015, 6:55:28 AM11/18/15
to meetecho-janus
I am not sure I understand the problems but these are my needs (and my solution)
1. record webrtc publishers for later re-play
2. play videos which originally was in e.g. h.264 format.

My solution to this without writing a new plugin:
1. convert recorded .mjr files to .webm combining video and audio in one file Tool. Janus post processing and ffmpeg
2. convert (reencode) e.g. .mp4 videos to .webm (vp8/opus) at upload.

Now I have the files in the format I want. Now simply play them out using ffmpeg and the janus streaming plugin.

/M
Reply all
Reply to author
Forward
0 new messages