[gstreamer-bugs] [Bug 347984] Internal GStreamer error in ffdec_mpeg4
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Jul 19 10:09:19 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=347984
GStreamer | gst-ffmpeg | Ver: 0.10.1
Wim Taymans changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wim at fluendo.com
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |0.10.2
------- Comment #3 from Wim Taymans 2006-07-19 17:09 UTC -------
yep, codec_data is required along with the other rtp parameters. The easiest
way to make this work is to do the following sequence:
gst-launch -v filesrc location=~/data/sincity.mp4 ! qtdemux .video_00 !
rtpmp4gpay ! udpsink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/pipeline0/rtpmp4gpay0.src: caps = application/x-rtp, media=(string)video,
payload=(int)96, clock-rate=(int)90000, encoding-name=(string)mpeg4-generic,
ssrc=(guint)915622229, clock-base=(guint)766539574, seqnum-base=(guint)24262,
streamtype=(int)4, profile-level-id=(int)1, mode=(string)generic,
config=(string)000001200086c5d4c307d314043c1463000001b25876694430303334,
sizelength=(int)13, indexlength=(int)3, indexdeltalength=(int)3
/pipeline0/rtpmp4gpay0.sink: caps = video/mpeg, mpegversion=(int)4,
systemstream=(boolean)false,
codec_data=(buffer)000001200086c5d4c307d314043c1463000001b25876694430303334,
width=(int)640, height=(int)480, framerate=(fraction)44100/1471
/pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video,
payload=(int)96, clock-rate=(int)90000, encoding-name=(string)mpeg4-generic,
ssrc=(guint)915622229, clock-base=(guint)766539574, seqnum-base=(guint)24262,
streamtype=(int)4, profile-level-id=(int)1, mode=(string)generic,
config=(string)000001200086c5d4c307d314043c1463000001b25876694430303334,
sizelength=(int)13, indexlength=(int)3, indexdeltalength=(int)3
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Then copy the rtp caps on udpsink and use them as caps on the receiving udpsrc,
like:
gst-launch -v udpsrc caps="application/x-rtp, media=(string)video,
payload=(int)96, clock-rate=(int)90000, encoding-name=(string)mpeg4-generic,
ssrc=(guint)915622229, clock-base=(guint)766539574, seqnum-base=(guint)24262,
streamtype=(int)4, profile-level-id=(int)1, mode=(string)generic,
config=(string)000001200086c5d4c307d314043c1463000001b25876694430303334,
sizelength=(int)13, indexlength=(int)3, indexdeltalength=(int)3" ! rtpmp4gdepay
! ffdec_mpeg4 ! xvimagesink sync=false
I did some fixes to gst-ffmpeg to not generate wrong timestamps. Above
pipelines work fine. Hope that helps, reopen if something is unclear.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list