GNOME Bugzilla – Bug 710948
omxvideodec: Doesn't recover after aspect ratio changes
Last modified: 2016-01-19 07:48:16 UTC
mpeg2 decoder don't recover after aspect ration changes I attached file that you can use for repeat problem as quick workaround I commented line with is_format_change |= (self->codec_data != state->codec_data);
openmax on raspberry pi device debian wheezy
Can you get a debug log with GST_DEBUG=omx*:6 and attach it here?
omx:9,omxvideodec:9 http://www.mdragon.org/problem2.log test file http://www.mdragon.org/problem.ts
*** Bug 711288 has been marked as a duplicate of this bug. ***
It fails for me with "Unsupported setting" all the time. Can you try latest GIT master of everything to see if it makes a difference for you?
Ah nevermind, my new RPi does not have the codec license keys yet. Bought and will retry when I got them.
This seems to be fixed by now with latest git master of everything. At least your sample clip just works for me.
try this test file http://www.mdragon.org/test_ar_problem2.ts GST_DEBUG="*:1,multifilesink:0,omxvideoenc:0,h264parse:4,mpegtsmux:0,omxvideodec:0" \ gst-launch-1.0 -v uridecodebin uri="http://www.mdragon.org/test_ar_problem2.ts" use-buffering=false name=demux \ ! "video/x-raw, format=I420" \ ! omxh264enc target-bitrate=1000000 control-rate=1 inline-header=true periodicty-idr=250 interval-intraframes=250 ! "video/x-h264, profile=high" \ ! h264parse ! "video/x-h264, alignment=au" \ ! mpegtsmux name=mux0 \ ! filesink location="test_ar_problem2_out.ts" sync=true \ demux. ! "audio/x-raw" ! fakesink \ 2>&1 pipeline simple stop
This bug was originally about the *decoder* not handling AR changes, now you have a convoluted test pipeline with encoder as well. Does the issue also happen with gst-launch-1.0 -v uridecodebin uri=... ! fakesink silent=false ?
sorry I will open another bug for encoder
Hi, I need to use 'omxh264enc' gstreamer plugin to encode a video stream. When I gst-inspect, it is showing the plugin details correctly (libgstomx.so), but when i'm running it using a gstreamer pipeline i'm getting error as 'Could not initialize supporting library' and additional debug info as: videoencoder.c (1428): gst_video_encoder_change_state (): Failed to open encoder. Is there any dependent library that we need to provide for this plugin to work ? Can you please help me with this issue.
Please file a new bug for that, and include a debug log in there. With GST_DEBUG=6 ideally.