mp4 file playback in VLC and in QT

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

mp4 file playback in VLC and in QT

Sriharsha B
Hi all..

I m using mp4creator  (mpeg4ip ) for generation of mp4 file. it is
playing fine. i wrote plugin for mp4creator. so for that i changed
mp4creator library for pushing data instead of writing to a file. the
size updation of all atoms i have done.  when i m creating mp4 file with
my plugin then it is  playing in vlc and quicktime player but no video
is coming . i m using this pipeline (only for video )...

gst-launch filesrc
location=/home/Gurpreet/inputfilesmp4/Akiyo_100_176_144_I_0_0_AllIDR.264
! h264parse output-format=0 ! video/x-h264,width=176, height=144,
framerate=25/1 ! mp4mux ! filesink
location=/home/Gurpreet/outputfilesmp4/temp-1.mp4

can anybody tell me what can be the problem...??

Thanks
Gurpreet



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: mp4 file playback in VLC and in QT

Overkill
Hello Sriharsha,

I've some similar issue, but my files plays on VLC and not in QT.
I've solved by pushing out on caps
the codec_data.

I think you may use

gst-launch -v v4lsrc ! yourcodec264 ! fakesink

read the "codec_data" on the caps
out of yourcodec264 and copy the string
forcing thah caps.

gst-launch filesrc
location=/home/Gurpreet/inputfilesmp4/Akiyo_100_176_144_I_0_0_AllIDR.264
! h264parse output-format=0 ! video/x-h264,width=176, height=144,
framerate=25/1 stream-format=avc  codec_data="READ THIS" !  mp4mux ! filesink
location=/home/Gurpreet/outputfilesmp4/temp-1.mp4

I've not really well understand why it works, so I'll be glad
if someone can better explain :)

Also try with ffmux_mp4 and mov instead of mp4 (qtmux or ffmux_mov).

***** By The Overkill !!! *****

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel