On Thu, 01 Jun 2017 09:21:16 +0300 Sebastian Dröge wrote: > On Wed, 2017-05-31 at 22:14 +0200, Francesco Poli wrote: [...] > > How can I force GStreamer to use the ffmpeg based decoder with > > gst-launch-1.0? > > And from within an application that uses the GStreamer library? > > See what I wrote in the upstream bug report. You can explicitly use > avdec_mjpeg in a custom pipeline.
It seems to me that there are two identical command lines in the upstream bug report. Or did I misunderstand something? I tried with $ gst-launch-1.0 filesrc location=wave_anim.avi \! avidemux \! avdec_mjpeg \! autovideosink $ gst-launch-1.0 filesrc location=wave_anim.avi \! avdec_mjpeg \! autovideosink to no avail. Both pipelines abort with errors (although they spit different error messages). I apologize, but I am totally clueless about the meaning of GStreamer pipelines... Please bear with me... :-( > > For using it automatically in decodebin/playbin, you would have to > adjust the ranks of jpegparse and avdec_mjpeg. Either by changing their > code, or from your application with gst_plugin_feature_set_rank(). As documented [here]? [here]: <http://www.manpagez.com/html/gstreamer-1.0/gstreamer-1.0-1.4.5/GstPluginFeature.php#gst-plugin-feature-set-rank> Which is the feature that corresponds to avdec_mjpeg? Which is the one corresponding to jpegdec? Please let me know: thanks a lot for your time and patience! -- http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpdfukeJcsoR.pgp
Description: PGP signature