After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681105 - negotiation problem
negotiation problem
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.0
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-08-03 05:43 UTC by shanthi
Modified: 2012-08-03 10:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description shanthi 2012-08-03 05:43:49 UTC
The question is that, we have to write a pipeline which should take video as input, encode with h264 , and save it with .264 extension, and again we have to decode it, and play it
for encoding we used this:
gst-launch videotestsrc ! ffmpegcolorspace ! x264enc ! filesink location=/home/vutp/ru.264( no error at encoding)
for decoding we used this:
gst-launch filesrc location=/home/vutp/ru.264 ! ffdec_h264 ! ffmpegcolorspace ! xvimagesink(error at decoding)

Error what am getting is:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/ffdec_h264:ffdec_h2640: Internal GStreamer error: negotiation problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstffmpegdec.c(2729): gst_ffmpegdec_chain (): /GstPipeline:pipeline0/ffdec_h264:ffdec_h2640:
ffdec_h264: input format was not set before data start
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 1 Tim-Philipp Müller 2012-08-03 10:07:53 UTC
You need to put an h264parse element between filesrc and the decoder (or just use decodebin2 or uridecodebin or playbin2).