Cannot Change output Resolution?

bubbab315 brandon.leblanc at ge.com
Wed Jan 9 20:19:03 UTC 2019


*I can play a video in 1024x768 resolution but I need it in 1920x1080:

When I issue the command:*
/GST_DEBUG=2 gst-launch-1.0 filesrc location=/home/root/sd/test2.mp4 !
qtdemux name=demux demux.video_0 ! video/x-h264 ! avdec_h264 ! videoconvert
! ximagesink/ 
*
It plays, but in the wrong resolution.

So I change it to:*
/GST_DEBUG=2 gst-launch-1.0 filesrc location=/home/root/sd/test2.mp4 !
qtdemux name=demux demux.video_0 ! video/x-h264, width=1920, height=1080 !
avdec_h264 ! videoconvert ! ximagesink/

*and I get the following error:*

/root at uz3eg-iocc-2018-2:~# GST_DEBUG=2 gst-launch-1.0 filesrc
location=/home/root/sd/test2.mp4 ! qtdemux name=demux demux.video_0 !
video/x-h264, width=1920, height=1080 ! avdec_h264 ! videoconvert !
ximagesink -v
Setting pipeline to PAUSED ...
0:00:00.126867199  2814      0x899b0d0 WARN                 basesrc
gstbasesrc.c:3480:gst_base_src_start_complete:<filesrc0> pad not activated
yet
Pipeline is PREROLLING ...
0:00:00.127552676  2814      0x89424a0 WARN                 qtdemux
qtdemux.c:3008:qtdemux_parse_trex:<demux> failed to find fragment defaults
for stream 1
0:00:00.127805328  2814      0x89424a0 WARN                 basesrc
gstbasesrc.c:2389:gst_base_src_update_length:<filesrc0> processing at or
past EOS
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1: caps = video/x-h264,[
3581.922532] PLL: shutdown
 width=(int)1920, height=(int)1080
0:00:00.132553966  281[ 3581.929541] PLL: enable
4      0x89424a0 WARN                 default
grammar.y:510:gst_parse_no_more_pads:<demux> warning: Delayed linking
failed.
0:00:00.132615046  2814      0x89424a0 WARN                 default
grammar.y:510:gst_parse_no_more_pads:<demux> warning: failed delayed linking
pad  video_0 of GstQTDemux named demux to some pad of avdec_h264 named
avdec_h264-0
WARNING: from element /GstPipeline:pipeline0/GstQTDemux:demux: Delayed
linking failed.
Additional debug info:
../../../gstreamer-1.12.2/gst/parse/grammar.y(510): gst_parse_no_more_pads
(): /GstPipeline:pipeline0/GstQTDemux:demux:
failed delayed linking pad  video_0 of GstQTDemux named demux to some pad of
avdec_h264 named avdec_h264-0
0:00:00.132857489  2814      0x89424a0 WARN                 qtdemux
qtdemux.c:6024:gst_qtdemux_loop:<demux> error: Internal data stream error.
0:00:00.132890389  2814      0x89424a0 WARN                 qtdemux
qtdemux.c:6024:gst_qtdemux_loop:<demux> error: streaming stopped, reason
not-linked (-1)
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux: Internal data
stream error.
Additional debug info:
../../../git/gst/isomp4/qtdemux.c(6024): gst_qtdemux_loop ():
/GstPipeline:pipeline0/GstQTDemux:demux:
streaming stopped, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Xorg: ../../xorg-server-1.19.3/include/privates.h:122: dixGetPrivateAddr:
Assertion `key->initialized' failed. /

*What am I doing wrong/missing?*



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list