[FFmpeg-user] How to convert a set of pgm files to an rtsp streamable mp4 file

Arnie Bearak arnstrb at yahoo.com
Tue May 3 22:06:18 CEST 2011


Thanks Mike.
Did you run  mp4box on a linux box or a windows box?

Arnie




________________________________
From: Mike Scheutzow <mike.scheutzow at alcatel-lucent.com>
To: FFmpeg user questions and RTFMs <ffmpeg-user at ffmpeg.org>
Sent: Tue, May 3, 2011 2:59:49 PM
Subject: Re: [FFmpeg-user] How to convert a set of pgm files to an rtsp 
streamable mp4 file

Arnie Bearak wrote:
> I am hoping someone can help me with this issue as I have not been able to 
>create an rtsp streamable mp4 file (streaming from darwin server on my linux box 
>to quicktime  or vlc on my windows box).
> 
> I run the ffmpeg command  
> ffmpeg -r 1 -i frame_%05d.pgm -b 18000 -vcodec libx264 -y  -threads 0 -vpre 
>slow Arn.mp4
> and I can create an mp4 file that when copied to the my windows box can be 
>played with VLC or quicktime.
> However,  if I try to stream the file,  I get an indication of unsupported 
>media type.
> 
> Can anyone tell me the appropriate parameter to add to my command line to get 
>the valid tags inserted into the file so that it can be rtsp streamed?

Darwin requires that additional metadata tracks be present in the .mp4 file; 
they call this procedure "hinting". You can not do this with ffmpeg, you have to 
obtain a separate utility.

I use mp4box to add hints for Darwin.

Example:

$ mp4box -hint Arn.mp4


Mike Scheutzow

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list