Hi,<br>
<br>
You cannot directly use payloader over a mp4 file. A mp4 file contains,
other than the raw video data, meta information in a format prescribed
in ISO/IEC-14496 (parts 12 and 14); so you need to have a mp4 file
parser that can extract the elementary streams and feed to the
payloader. I do not know if there is a mp4 parser plugin in gstreamer,
but there is a avi parser. So if you have a avi file you can use
avidemux or ffdemux_avi for the purpose. Otherwise, use some other tool
like mp4creator or gpac to extract the elementary streams offline from
your mp4 file and feed to the payloader.<br>
<br>
Wim/other gst developers, please correct me if I'm wrong.<br>
<br>
Regards,<br>
Deeptendu<br><br><div><span class="gmail_quote">On 9/4/06, <b class="gmail_sendername">Fu Hao</b> <<a href="mailto:fu585@oki.com">fu585@oki.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div bgcolor="#ffffff">
<div><font face="MS UI Gothic" size="2">Hello, Everyone!</font></div>
<div><font face="MS UI Gothic" size="2"> </font></div>
<div><font face="MS UI Gothic" size="2"> I'm a freshman
here.</font></div>
<div><font face="MS UI Gothic" size="2"></font> </div>
<div><font face="MS UI Gothic" size="2"> Recently I have a
problem about 'filesrc' element and rtpXXXpay element.</font></div>
<div> </div>
<div><font face="MS UI Gothic" size="2"> When I use this
command: </font></div>
<div><font face="MS UI Gothic" size="2"></font> </div>
<div><font face="MS UI Gothic" size="2">
gst-launch </font> <font face="MS UI Gothic" size="2">videotestsrc !
ffenc_mpeg4 ! rtpmp4vpay ! rtpmp4vdepay ! ffdec_mpeg4 ! xvimagesink</font></div>
<div><font face="MS UI Gothic" size="2"></font> </div>
<div><font face="MS UI Gothic" size="2"> I can see the video
image, and all is OK. </font></div>
<div><font face="MS UI Gothic" size="2"></font> </div>
<div><font face="MS UI Gothic" size="2"> Then, I want to change
the 'videotestsrc' to 'filesrc', and set the 'location' of 'filesrc' as a
'*.mp4'.</font></div>
<div><font face="MS UI Gothic" size="2"></font> </div>
<div><font face="MS UI Gothic" size="2"> The command looks like
this:</font></div>
<div><font face="MS UI Gothic" size="2"></font> </div>
<div><font face="MS UI Gothic" size="2">
gst-launch filesrc location=/home/Dell.mp4 ! rtpmp4vpay ! rtpmp4vdepay !
ffdec_mpeg4 ! xvimagesink</font></div>
<div><font face="MS UI Gothic" size="2"></font> </div>
<div><font face="MS UI Gothic" size="2"> The Error is
: "subclass did not specify clock_rate."</font></div>
<div><font face="MS UI Gothic" size="2"></font> </div>
<div><font face="MS UI Gothic" size="2"> I do not know where is
wrong. Can you help me ?</font></div>
<div><font face="MS UI Gothic" size="2"></font> </div>
<div><font face="MS UI Gothic" size="2"> Thanks !</font></div>
<div><font face="MS UI Gothic" size="2"></font> </div>
<div><font face="MS UI Gothic" size="2"> <br>
</font></div></div></div>
<div style="text-align: left;"><br>
</div>
</blockquote></div><br>