How to save incoming h264 stream without re-encoding?

Mailing List SVR lists at svrinformatica.it
Fri May 25 16:10:13 PDT 2012


Il 26/05/2012 00:34, W.A. Garrett Weaver ha scritto:
> When I tried that, filesink makes a file that is 0 bytes. In theory 
> doing that should work fine, but when I tried it: it didn't.
>
> That's funny that it works for you, I have no idea why it doesn't work 
> for me, it would help if rtph264depay was documented.

add h264parse after the depayloder will work with all the muxer you 
tryed, add also -e to gst-launch,

Nicola

> Is it my version of gstreamer? I'm using 0.10
>
> On Friday, May 25, 2012, Nathanael D. Noblet <nathanael at gnat.ca 
> <mailto:nathanael at gnat.ca>> wrote:
> > On 05/24/2012 09:54 PM, W.A. Garrett Weaver wrote:
> >>
> >> I found the solution to the intermittent delay problem. What you 
> have to
> >> do is reduce the latency on gstrtpjitterbuffer to 10ms instead of being
> >> 500ms.
> >>
> >> gst-launch-0.10 udpsrc multicast-group=224.1.1.1 auto-multicast=true
> >> port=5010 caps='application/x-rtp, media=(string)video,
> >> clock-rate=(int)90000, encoding-name=(string)H264,
> >> 
> sprop-parameter-sets=(string)\"Z0KAHukBQHpCAAAH0AAB1MAIAA\\=\\=\\,aM48gAA\\=\",
> >> payload=(int)96, ssrc=(uint)3315029550, clock-base=(uint)3926529534,
> >> seqnum-base=(uint)45576' ! gstrtpjitterbuffer drop-on-latency=true
> >> latency=10 ! rtph264depay ! ffdec_h264 ! x264enc ! matroskamux !
> >> filesink location=movie.mkv
> >>
> >> The result is this:
> >> Helmet Cam Record 3
> >>
> >> This works good if the computer on the receiving end is sufficiently
> >> fast enough to compress video, since mine is, this is an adequate
> >> solution. Still, it would be nice to record the h264 stream directly to
> >> a file instead of having to re compress.
> >
> > I do something somewhat similar (I capture encoded video from IP 
> network cameras and only remux to a file)...
> >
> > What happens if you have rtph264hdepay ! matroskamux ! filsink??? 
> Why doesn't that work for you?
> >
> >
> > --
> > Nathanael d. Noblet
> > t 403.875.4613
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org 
> <mailto:gstreamer-devel at lists.freedesktop.org>
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
>
> -- 
> *W.A. Garrett Weaver *
> weaverg at email.arizona.edu <mailto:weaverg at email.arizona.edu>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120526/4a733234/attachment.html>


More information about the gstreamer-devel mailing list