Question on CAPS

Shishir Pokharel Shishir.Pokharel at on24.com
Wed Nov 1 18:30:45 UTC 2017


Your video resolution is not matching with the caps you have set – try using videoscale element in your pipeline if you want to scale your resolution.

From: "gstreamer-devel-bounces at lists.freedesktop.org" <gstreamer-devel-bounces at lists.freedesktop.org> on behalf of Jerry Geis <jerry.geis at gmail.com>
Reply-To: "gstreamer-devel at lists.freedesktop.org" <gstreamer-devel at lists.freedesktop.org>
Date: Wednesday, November 1, 2017 at 11:24 AM
To: "gstreamer-devel at lists.freedesktop.org" <gstreamer-devel at lists.freedesktop.org>
Subject: Question on CAPS

I am trying to run: (notice the CAPS). Which fails

gst-launch-1.0 filesrc location=entry.mp4 '!' qtdemux '!' video/x-h264,width=640,height=480 '!' h264parse '!' mpegtsmux '!' hlssink playlist-root=https://192.168.1.8/~silentm/hlssink location=/home/silentm/public_html/hlssink/hlssink.camera.560.%05d.ts target-duration=1 max-files=3 playlist-length=2 playlist-location=/home/silentm/public_html/hlssink/playlist.camera.560.m3u8
[root at devgeis src]# Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Delayed linking failed.
Additional debug info:
./grammar.y(510): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
failed delayed linking some pad of GstQTDemux named qtdemux0 to some pad of GstH264Parse named h264parse0
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Internal data stream error.
Additional debug info:
qtdemux.c(6024): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
streaming stopped, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


Remove the width and height and it works.
gst-launch-1.0 filesrc location=entry.mp4 '!' qtdemux '!' video/x-h264 '!' h264parse '!' mpegtsmux '!' hlssink playlist-root=https://192.168.1.8/~silentm/hlssink location=/home/silentm/public_html/hlssink/hlssink.camera.560.%05d.ts target-duration=1 max-files=3 playlist-length=2 playlist-location=/home/silentm/public_html/hlssink/playlist.camera.560.m3u8
[root at devgeis src]# Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.267574950
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


What am I doing wrong ? The original image is 1920x1080 and I want to make that smaller at 640x480.

Thanks,

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171101/13ea55b1/attachment-0001.html>


More information about the gstreamer-devel mailing list