<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.16521"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=384361706-08052014>Hi Tim</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=384361706-08052014></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=384361706-08052014>So how do you execute the '-e' option in C
?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=384361706-08052014></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=384361706-08052014>Robin</SPAN></FONT></DIV>
<DIV lang=en-us class=OutlookMessageHeader dir=ltr align=left><BR> </DIV>
<DIV dir=ltr>
<DIV class=gmail_extra>
<DIV class=gmail_quote>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>On Tue, 2014-05-06 at 16:16 -0400, Luis de Bethencourt wrote:<BR><BR>>
Not sure if this is possible.<BR>> Not sure if you can mux again the h264
considering<BR>> timestamps/keyframes change very easily.<BR>> Please
somebody correct me if I am wrong.<BR><BR></DIV>Why would it not work? It
should work just fine.<BR><BR>This seems to work for me with
1.2.4:<BR><BR> $ gst-launch-1.0 videotestsrc ! x264enc ! rtph264pay
config-interval=10<BR>pt=96 ! udpsink host=127.0.0.1 port=5001
&<BR><BR> $ gst-launch-1.0 -v -e udpsrc address=127.0.0.1
port=5001<BR>caps='application/x-rtp, media=(string)video,
clock-rate=(int)90000,<BR>encoding-name=(string)H264' ! rtpjitterbuffer !
rtph264depay !<BR>h264parse ! mp4mux ! filesink
location=/tmp/rtp.mp4<BR></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I was wrong. That is very cool!
<DIV><BR></DIV>
<DIV>Thanks Tim.</DIV>
<DIV><BR></DIV>
<DIV>Luis</DIV></DIV>
<DIV> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><BR>Might
take a few seconds for things to start on the receiver
(lower<BR>config-interval on the sender to make that faster).<BR><BR>Important
is the -e argument here, to make sure that the .mp4 file gets<BR>finalized
properly when you stop the receiver with
Control-C.<BR><BR>Cheers<BR> -Tim<BR>
<DIV>
<DIV class=h5><BR>> On 6 May 2014 06:07, digi <<A
href="mailto:griesel@me.com">griesel@me.com</A>> wrote:<BR>>
Hey guys,<BR>><BR>>
*tx:* gst-launch-1.0 filesrc location=input.h264 !<BR>>
video/x-h264,width=640,height=480,framerate=30/1 ! h264parse
!<BR>> rtph264pay<BR>>
config-interval=10 pt=96 ! udpsink host=127.0.0.1
port=5001<BR>><BR>> *rx:* gst-launch-1.0 -v
udpsrc port=5001<BR>>
caps='application/x-rtp,<BR>>
media=(string)video, clock-rate=(int)90000,<BR>>
encoding-name=(string)H264' !<BR>>
rtph264depay !<BR>>
video/x-h264,width=640,height=480,framerate=30/1 ! h264parse<BR>>
! mp4mux ! filesink location=output.mp4<BR>><BR>>
The rx command gave me:<BR>>
0x7f908c0cda30 WARN qtmux<BR>>
gstqtmux.c:2116:check_and_subtract_ts:<mp4mux0><BR>>
Subtraction would result in negative value, using 0 as
result<BR>><BR>> What is the right way to
convert raw h264 data into mp4 files<BR>>
without<BR>> re-encoding?<BR>><BR>>
Thanks,<BR>>
Digi<BR>><BR>><BR>><BR>> --<BR>>
View this message in context:<BR>>
<A
href="http://gstreamer-devel.966125.n4.nabble.com/RAW-H264-to-MP4-tp4666761.html"
target=_blank>http://gstreamer-devel.966125.n4.nabble.com/RAW-H264-to-MP4-tp4666761.html</A><BR>>
Sent from the GStreamer-devel mailing list archive
at<BR>> Nabble.com.<BR>>
_______________________________________________<BR>>
gstreamer-devel mailing list<BR>>
<A
href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</A><BR>>
<A
href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
target=_blank>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</A><BR>><BR>><BR>>
_______________________________________________<BR>> gstreamer-devel
mailing list<BR>> <A
href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</A><BR>>
<A href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
target=_blank>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</A><BR><BR></DIV></DIV><SPAN><FONT
color=#888888>--<BR>Tim Müller, Centricular Ltd - <A
href="http://www.centricular.com"
target=_blank>http://www.centricular.com</A><BR></FONT></SPAN>
<DIV>
<DIV
class=h5><BR>_______________________________________________<BR>gstreamer-devel
mailing list<BR><A
href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</A><BR><A
href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
target=_blank>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV><p>**********************************************************************<br>
Relevant company disclaimers are available at the following addresses:<br>
Tellumat (Pty) Ltd e-mail: mailto:disclaimer@tellumat.com?Subject=Tellumat_Disclaimer<br>
Web: http://www.tellumat.com/email.aspx<br>
**********************************************************************</p></BODY></HTML>