MP4 file playback in vlc and QT

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

MP4 file playback in vlc and QT

Sriharsha B
Hi all..

I wrote plugin for mp4creator ( utility to mux aac and 264 file in mp4
file). i m using this pipeline for muxing video only in mp4 file.

gst-launch filesrc
! h264parse output-format=0 ! video/x-h264,width=960, height=540,
framerate=25/1 ! queue ! mymp4mux ! filesink

it is working fine with VLC as well as with QT Player. But when i m
giving another input of same resolution then  its playing but no video
is coming.
what may be the problem ? and when i m giving 640x360 input of ( 00.44
seconds ) then it is plying in vlc ( 00:48 sec.) but black screen is
coming in QT.
for 640x360 resolution why the length is being increased.

for 176 x 144 input it is working fine with vlc and QT.

m i missing anything ?
what needs to be done more ?

This email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit --
gstreamer-devel mailing list
[hidden email]
Reply | Threaded
Open this post in threaded view

Re: MP4 file playback in vlc and QT

Sandeep Prakash
Hi Sriharsha,

Are you taking care of the codec_data in your muxer. I am not sure "h264parse" element sends
codec_data in caps or with the 1st buffer. In any of the case we need to take care to write it into the
mp4 file in the muxer.

codec_data basically consists of SPS and PPS of the h264 stream and it needs to be in a specific format.