[FFmpeg-user] h264/rtsp encoding question
Arnie Bearak
arnstrb at yahoo.com
Fri Apr 29 19:28:37 CEST 2011
I would like to get some information on how to encode a series of pgm files into
an mp4 file that I can later stream to a remote player.
When I use the following command
ffmpeg -r 1 -b 1800 -i frame_%05d.pgm -f rtsp -vcodec libx264 -vpre slow
Arn.mp4
I have an mp4 file that I can copy to a remote system, and play the file with
VLC player or QuickTime.
However, when I try to stream that file from my linux box using the Darwin
Streaming server to the remote machine using VLC or Quick time, I am getting an
invalid format. However, I can sucessfully stream the sampls Darwin stream mp4
files.
Is there a command line option I need to add to my ffmpeg command to have ffmpeg
insert whatever framing tags into the resultant file. I tried -f rtsp, but
that seems to be for use if ffmpeg is talking to ffserver.
Thanks,
Arnie
More information about the ffmpeg-user
mailing list