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 627343 - x264enc does not work when tee to xvimagesink is present in the pipeline
x264enc does not work when tee to xvimagesink is present in the pipeline
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.14
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-19 09:06 UTC by Gregory Petrosyan
Modified: 2010-08-19 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gregory Petrosyan 2010-08-19 09:06:03 UTC
This:

 gst-launch-0.10 -e filesrc location=test2.avi ! queue ! decodebin2 ! queue ! tee name=t ! queue ! ffmpegcolorspace ! x264enc ! matroskamux ! queue ! filesink location=test2-out.mkv t. ! queue ! ffmpegcolorspace ! xvimagesink sync=false

results in a completely frozen pipeline. However, this:

 gst-launch-0.10 -e filesrc location=test2.avi ! queue ! decodebin2 ! queue ! tee name=t ! queue ! ffmpegcolorspace ! theoraenc ! matroskamux ! queue ! filesink location=test2-out.mkv t. ! queue ! ffmpegcolorspace ! xvimagesink sync=false

(x264enc -> theoraenc) works fine. Also, this:

 gst-launch-0.10 -e filesrc location=test2.avi ! queue ! decodebin2 ! queue ! tee name=t ! queue ! ffmpegcolorspace ! x264enc ! matroskamux ! queue ! filesink location=test2-out.mkv

(x264enc only, without xvimagesink) works fine.
Comment 1 Mark Nauwelaerts 2010-08-19 10:12:32 UTC
Problem is that x264enc default settings want to see quite some frames before actually producing coded output.

A number of variations will work, e.g. making some queues bigger, or using
x264enc rc-lookahead=0 (or some other small number), or some low-latency preset/tuning, etc