ffserver autostart on boot with input streams Announcing the arrival of Valued Associate #679:...

Why datecode is SO IMPORTANT to chip manufacturers?

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

What are the main differences between Stargate SG-1 cuts?

Special flights

Is there hard evidence that the grant peer review system performs significantly better than random?

Why is the change of basis formula counter-intuitive? [See details]

Is it dangerous to install hacking tools on my private linux machine?

Are the endpoints of the domain of a function counted as critical points?

Weaponising the Grasp-at-a-Distance spell

GDP with Intermediate Production

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

Moving a wrapfig vertically to encroach partially on a subsection title

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

What is the origin of 落第?

A proverb that is used to imply that you have unexpectedly faced a big problem

New Order #6: Easter Egg

RSA find public exponent

My mentor says to set image to Fine instead of RAW — how is this different from JPG?

What initially awakened the Balrog?

After Sam didn't return home in the end, were he and Al still friends?

Is CEO the "profession" with the most psychopaths?

How many time has Arya actually used Needle?

Why complex landing gears are used instead of simple,reliability and light weight muscle wire or shape memory alloys?

How to ask rejected full-time candidates to apply to teach individual courses?



ffserver autostart on boot with input streams



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Stream video file in debian?FFmpeg convert video w/ dropped frames, out of syncFixing ffmpeg latency accrued over timeHow to enable FORWARD seek in ffserver?How to reduce latency on FFmpeg video streaming?FFmpeg: Error when copying subtitle-streams using iFFmpegIssue streaming ffmpeg webcam feed with ffserverffserver crashes with my config fileRestreaming raw data to ffserver gives rc buffer overflow error“Error while opening decoder for input stream #0:0 : Invalid data found when processing input”





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I've been trying to configure ffserver to convert four different h264 rtsp streams into mjpeg. Now I have the basics figured out. Now I just have to figure out how to autostart everything when my server boots. I am running debian on the server.



Currently I start the server using ffserver command.
And then each stream using:



ffmpeg -i 'rtsp://192.168.1.30/blabla.sdp?' http://127.0.0.1:8090/camera1.ffm



Now I am trying to figure out how to make everything start on boot. I know that I can autostart ffserver using init.d, but I am not sure if I can specify the ffserver inputs in the config file so I don't need to specifically start each stream separately. There is also one other thing - I want this to survive the network going down or something similar.



Any help will be appreciated.










share|improve this question





























    0















    I've been trying to configure ffserver to convert four different h264 rtsp streams into mjpeg. Now I have the basics figured out. Now I just have to figure out how to autostart everything when my server boots. I am running debian on the server.



    Currently I start the server using ffserver command.
    And then each stream using:



    ffmpeg -i 'rtsp://192.168.1.30/blabla.sdp?' http://127.0.0.1:8090/camera1.ffm



    Now I am trying to figure out how to make everything start on boot. I know that I can autostart ffserver using init.d, but I am not sure if I can specify the ffserver inputs in the config file so I don't need to specifically start each stream separately. There is also one other thing - I want this to survive the network going down or something similar.



    Any help will be appreciated.










    share|improve this question

























      0












      0








      0








      I've been trying to configure ffserver to convert four different h264 rtsp streams into mjpeg. Now I have the basics figured out. Now I just have to figure out how to autostart everything when my server boots. I am running debian on the server.



      Currently I start the server using ffserver command.
      And then each stream using:



      ffmpeg -i 'rtsp://192.168.1.30/blabla.sdp?' http://127.0.0.1:8090/camera1.ffm



      Now I am trying to figure out how to make everything start on boot. I know that I can autostart ffserver using init.d, but I am not sure if I can specify the ffserver inputs in the config file so I don't need to specifically start each stream separately. There is also one other thing - I want this to survive the network going down or something similar.



      Any help will be appreciated.










      share|improve this question














      I've been trying to configure ffserver to convert four different h264 rtsp streams into mjpeg. Now I have the basics figured out. Now I just have to figure out how to autostart everything when my server boots. I am running debian on the server.



      Currently I start the server using ffserver command.
      And then each stream using:



      ffmpeg -i 'rtsp://192.168.1.30/blabla.sdp?' http://127.0.0.1:8090/camera1.ffm



      Now I am trying to figure out how to make everything start on boot. I know that I can autostart ffserver using init.d, but I am not sure if I can specify the ffserver inputs in the config file so I don't need to specifically start each stream separately. There is also one other thing - I want this to survive the network going down or something similar.



      Any help will be appreciated.







      linux ffmpeg autostart ffserver






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 5 hours ago









      user3082900user3082900

      1




      1






















          0






          active

          oldest

          votes












          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%2f1427783%2fffserver-autostart-on-boot-with-input-streams%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1427783%2fffserver-autostart-on-boot-with-input-streams%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...