[FFmpeg-user] Converting raw h264 file to MP4

Moritz Barsnick barsnick at gmx.net
Fri Mar 3 10:11:04 EET 2017


On Thu, Mar 02, 2017 at 15:49:27 +0000, Varad Gunjal wrote:
> Hello. I am posting this question here as this was a suggestion in the
> output message that I got while using ffmpeg.
> 
> I have a file that has recorded an RTP stream in raw h264 format.
> Unfortunately, the data was stored in an unknown format (mjr, designed for
> the Janus WebRTC gateway).

The format seems to be well documented - raw RTP frames. Here's even a
tool which can reassemble prober video files from it:
https://github.com/meetecho/janus-gateway/blob/master/postprocessing/janus-pp-rec.c

If the format itself is simple enough, and can possibly even be
detected (i.e. identified by looking at it), demuxing support could be
added to ffmpeg. Patch welcome. ;-)

Do you happen to have some samples?

Cheers,
Moritz


More information about the ffmpeg-user mailing list