Streaming .264 file in Gstreamer 1.0http streaming with gst-launch (GStreamer)HDHomeRun TV Tuner with...

Why avoid shared user accounts?

Why are the books in the Game of Thrones citadel library shelved spine inwards?

It took me a lot of time to make this, pls like. (YouTube Comments #1)

Pronunciation of umlaut vowels in the history of German

Why is working on the same position for more than 15 years not a red flag?

How can I deliver in-universe written lore to players without it being dry exposition?

Why did the villain in the first Men in Black movie care about Earth's Cockroaches?

Can an insurance company drop you after receiving a bill and refusing to pay?

Incorporating research and background: How much is too much?

Early credit roll before the end of the film

If I deleted a game I lost the disc for, can I reinstall it digitally?

Am I a Rude Number?

In Linux what happens if 1000 files in a directory are moved to another location while another 300 files were added to the source directory?

What is the wife of a henpecked husband called?

What's a good word to describe a public place that looks like it wouldn't be rough?

Why do neural networks need so many training examples to perform?

What are "industrial chops"?

Can I become debt free or should I file bankruptcy ? How to manage my debt and finances?

If I delete my router's history can my ISP still provide it to my parents?

On a wire designated as '3x14AWG' what does the '3x' part mean?

Difference between `vector<int> v;` and `vector<int> v = vector<int>();`

Why would space fleets be aligned?

How can my powered armor quickly replace its ceramic plates?

Is that a center tap tranformer just labelled differently?



Streaming .264 file in Gstreamer 1.0


http streaming with gst-launch (GStreamer)HDHomeRun TV Tuner with GStreamerConvert stream file (mux) to mp4 gstreamergstreamer httplive streaming by soup pluginGStreamer Element Dependencies: How to connect playbin to hlssink?Attempting to stream two C920 Logitech Webcams From Fedora using GStreamer to Windows VLC ClientLong range wireless H.264 video streaming“Error while opening decoder for input stream #0:0 : Invalid data found when processing input”Unable to stream RTSP using GStreamer













0















I'm trying to stream a .264 file.



While the direct pipeline without udp streaming plays the video fine, when using udp sink and src, only one frame of video is seen.



Direct Pipeline



gst-launch-1.0 filesrc location=football35228830.264 ! h264parse ! rtph264pay pt=96 ! rtph264depay ! avdec_h264 ! autovideosink



This plays video fine.



Now when running these, the frozen video frame appears.



At Tx



gst-launch-1.0 -v filesrc location = football35228830.264 ! h264parse ! rtph264pay pt=96 ! udpsink host=127.0.0.1 port=9001



At Client



gst-launch-1.0 udpsrc port=42050 ! application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink



Is there any issue with the pipelines, or any additional elements are required?










share|improve this question














bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    I'm trying to stream a .264 file.



    While the direct pipeline without udp streaming plays the video fine, when using udp sink and src, only one frame of video is seen.



    Direct Pipeline



    gst-launch-1.0 filesrc location=football35228830.264 ! h264parse ! rtph264pay pt=96 ! rtph264depay ! avdec_h264 ! autovideosink



    This plays video fine.



    Now when running these, the frozen video frame appears.



    At Tx



    gst-launch-1.0 -v filesrc location = football35228830.264 ! h264parse ! rtph264pay pt=96 ! udpsink host=127.0.0.1 port=9001



    At Client



    gst-launch-1.0 udpsrc port=42050 ! application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink



    Is there any issue with the pipelines, or any additional elements are required?










    share|improve this question














    bumped to the homepage by Community 2 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I'm trying to stream a .264 file.



      While the direct pipeline without udp streaming plays the video fine, when using udp sink and src, only one frame of video is seen.



      Direct Pipeline



      gst-launch-1.0 filesrc location=football35228830.264 ! h264parse ! rtph264pay pt=96 ! rtph264depay ! avdec_h264 ! autovideosink



      This plays video fine.



      Now when running these, the frozen video frame appears.



      At Tx



      gst-launch-1.0 -v filesrc location = football35228830.264 ! h264parse ! rtph264pay pt=96 ! udpsink host=127.0.0.1 port=9001



      At Client



      gst-launch-1.0 udpsrc port=42050 ! application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink



      Is there any issue with the pipelines, or any additional elements are required?










      share|improve this question














      I'm trying to stream a .264 file.



      While the direct pipeline without udp streaming plays the video fine, when using udp sink and src, only one frame of video is seen.



      Direct Pipeline



      gst-launch-1.0 filesrc location=football35228830.264 ! h264parse ! rtph264pay pt=96 ! rtph264depay ! avdec_h264 ! autovideosink



      This plays video fine.



      Now when running these, the frozen video frame appears.



      At Tx



      gst-launch-1.0 -v filesrc location = football35228830.264 ! h264parse ! rtph264pay pt=96 ! udpsink host=127.0.0.1 port=9001



      At Client



      gst-launch-1.0 udpsrc port=42050 ! application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink



      Is there any issue with the pipelines, or any additional elements are required?







      video streaming udp gstreamer






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 11 '16 at 5:48









      CTanejaCTaneja

      12




      12





      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          :There could be a few things: The file is loaded and played too fast => use multifilesrc. Also I add caps to the sender. Lastly, in your example the ports are different.



          Sender:



          gst-launch-1.0 -v multifilesrc location=public/media/video.h264 loop=true ! 
          video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! rtph264pay pt=10 ! udpsink host=127.0.0.1 port=9001


          Receiver:



          gst-launch-1.0 udpsrc port=9001 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=16' ! 
          rtph264depay ! h264parse ! avdec_h264 ! autovideosink





          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1144607%2fstreaming-264-file-in-gstreamer-1-0%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            :There could be a few things: The file is loaded and played too fast => use multifilesrc. Also I add caps to the sender. Lastly, in your example the ports are different.



            Sender:



            gst-launch-1.0 -v multifilesrc location=public/media/video.h264 loop=true ! 
            video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! rtph264pay pt=10 ! udpsink host=127.0.0.1 port=9001


            Receiver:



            gst-launch-1.0 udpsrc port=9001 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=16' ! 
            rtph264depay ! h264parse ! avdec_h264 ! autovideosink





            share|improve this answer




























              0














              :There could be a few things: The file is loaded and played too fast => use multifilesrc. Also I add caps to the sender. Lastly, in your example the ports are different.



              Sender:



              gst-launch-1.0 -v multifilesrc location=public/media/video.h264 loop=true ! 
              video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! rtph264pay pt=10 ! udpsink host=127.0.0.1 port=9001


              Receiver:



              gst-launch-1.0 udpsrc port=9001 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=16' ! 
              rtph264depay ! h264parse ! avdec_h264 ! autovideosink





              share|improve this answer


























                0












                0








                0







                :There could be a few things: The file is loaded and played too fast => use multifilesrc. Also I add caps to the sender. Lastly, in your example the ports are different.



                Sender:



                gst-launch-1.0 -v multifilesrc location=public/media/video.h264 loop=true ! 
                video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! rtph264pay pt=10 ! udpsink host=127.0.0.1 port=9001


                Receiver:



                gst-launch-1.0 udpsrc port=9001 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=16' ! 
                rtph264depay ! h264parse ! avdec_h264 ! autovideosink





                share|improve this answer













                :There could be a few things: The file is loaded and played too fast => use multifilesrc. Also I add caps to the sender. Lastly, in your example the ports are different.



                Sender:



                gst-launch-1.0 -v multifilesrc location=public/media/video.h264 loop=true ! 
                video/x-h264,width=1920,height=1080,framerate=30/1,profile=constrained-baseline ! h264parse ! rtph264pay pt=10 ! udpsink host=127.0.0.1 port=9001


                Receiver:



                gst-launch-1.0 udpsrc port=9001 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=H264,payload=16' ! 
                rtph264depay ! h264parse ! avdec_h264 ! autovideosink






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 17 '17 at 11:47









                GooshanGooshan

                1012




                1012






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1144607%2fstreaming-264-file-in-gstreamer-1-0%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                    Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...