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@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@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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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: "[hidden email]" <[hidden email]> on behalf of Jerry Geis <[hidden email]> 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@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@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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Jerry Geis-2
On Wed, 2017-11-01 at 14:24 -0400, Jerry Geis wrote:
> 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 '!' ... > > > What am I doing wrong ? The original image is 1920x1080 and I want to > make that smaller at 640x480. You can't just make an encoded H264 stream smaller. You will have to decode it, scale it to the desired resolution, and re-encode it. Try: gst-launch-1.0 filesrc location=entry.mp4 ! decodebin ! videoscale ! video/x-raw,width=640,height=480 ! queue ! x264enc ! mpegtsmux ! .. Cheers -Tim -- Tim Müller, Centricular Ltd - http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Jerry Geis-2
Ok - Thanks... So I am trying this suggested pipeline and getting an error. gst-launch-1.0 filesrc location=entry.mp4 '!' decodebin '!' videoscale '!' video/x-raw,width=640,height=480 '!' queue '!' openh264enc '!' 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@devgeis src]# Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Missing element: video/x-fluendo-va decoder ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0: Your GStreamer installation is missing a plug-in. Additional debug info: gstdecodebin2.c(4600): gst_decode_bin_expose (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0: no suitable plugins found: Missing decoder: video/x-fluendo-va (video/x-fluendo-va, width=(int)2048, height=(int)1536, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)25/1, rotation=(int)0, interlaced=(boolean)false) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Jerry _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |