wrapping h264 into mp4 and display the video on the screen

Dudi.r dudi017 at gmail.com
Wed Mar 12 01:16:17 PDT 2014


I have h264 packet inside RTP stream, is there a way to wrap it with mp4
container and display the video on the screen? 

the main goal is to perform seek on that video.

I saw a post that save the video into file, but I need to display it in real
time...

so far I have-

filesrc location=file.pcap ! pcapparse ! gstrtpjitterbuffer ! rtph264depay !
video/x-h264 ! h264parse..........
Im not sure about the h264parse,

I tried putting after the h264parse the following:

...h264parser ! mp4mux ! decodebin2 ! autovideosink
but I get this error:

...
New clock: GstSystemClock
ERROR: from element
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstQTDemux:
qtdemux0: This file is invalid and cannot be played.
Additional debug info:
qtdemux.c(4132): gst_qtdemux_chain ():
/GstPipeline:pipeline0/GstDecodeBin2:deco
debin20/GstQTDemux:qtdemux0:
Execution ended after 138458245 ns.
...
I also tried without the decodebin2- and nothing happens..


if some know how to do that, it will be great!
thanks!



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/wrapping-h264-into-mp4-and-display-the-video-on-the-screen-tp4665910.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list