I have 2 files. One is the video, file.m2v, the other is the audio, audio.wav. How do I join these files to make a mpeg2 file. What extension should I use: .mpg, .vob?
On 05/01/11 08:35, Andre wrote:
I have 2 files. One is the video, file.m2v, the other is the audio, audio.wav. How do I join these files to make a mpeg2 file. What extension should I use: .mpg, .vob?
Both are acceptable mpg is nroamlly used, .vob when it would become a part of a DVD structure.
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Andre wrote:
I have 2 files. One is the video, file.m2v, the other is the audio, audio.wav. How do I join these files to make a mpeg2 file. What extension should I use: .mpg, .vob
For future reference, there is documentation at http://www.ffmpeg.org/ffmpeg.html I would try a command like: ffmpeg -i file.m2v -i audio.wav -vcodec copy -acodec copy out.mpg -map 0.0 -map 1.0 Mike Scheutzow
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? Thank You, Arnie Bearak
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
Thanks Mike. Did you run mp4box on a linux box or a windows box? Arnie ________________________________ From: Mike Scheutzow <mike.scheutzow@alcatel-lucent.com> To: FFmpeg user questions and RTFMs <ffmpeg-user@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@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
participants (5)
-
Andre -
Arnie Bearak -
belcampo -
Mike Scheutzow -
Mike Scheutzow