GithubHelp home page GithubHelp logo

Comments (2)

jb-alvarado avatar jb-alvarado commented on September 27, 2024

According to your config you mixing HLS mode with streaming rtmp output. That is not supported.

from ffplayout.

JunioCalu avatar JunioCalu commented on September 27, 2024

According to your config you mixing HLS mode with streaming rtmp output. That is not supported.

HLS mode works in combination with RTMP and live ingest when the HLS mode's ffplayout command line is executed directly in some command terminal. I conducted the following test:

  1. I copied the pure command line from HLS mode from the ffplayout log;
  2. I stopped the ffplayout process execution service (ffplayout.service);
  3. And I pasted the ffmpeg command line used by the ffplayout process, directly into the terminal;
  4. Then I opened another terminal window and used another ffmpeg command line to stream to the ingestion server started in the previous window.
  5. The ingestion server started from the terminal worked without errors.

ffmpeg command line used by the ffplayout process:

ffmpeg -hide_banner -nostats -v level+info -f live_flv -listen 1 -i rtmp://0.0.0.0:1942/live/stream -filter_complex "[0:v:0]fps=25,scale=1280:720,setdar=dar=1.778,zmq=b=tcp\\\\://'127.0.0.1\\:46410',drawtext@dyntext=text='',fade=in:st=0:d=0.5,null[v];movie=/usr/share/ffplayout/logo.png:loop=0,setpts=N/(FRAME_RATE*TB),format=rgba,colorchannelmixer=aa=0.7[l];[v][l]overlay=W-w-12:12:shortest=1[vout0];[0:a:0]anull,afade=in:st=0:d=0.5[aout0]" -map "[vout0]" -map "[aout0]" -c:v libx264 -crf 23 -x264-params keyint=50:min-keyint=25:scenecut=-1 -maxrate 6000k -bufsize 9600k -preset superfast -profile:v Main -level 3.1 -c:a aac -ar 44100 -b:a 128k -f flv rtmp://127.0.0.1/154c0b46-4b72-4387-b140-71f2f8dc48c8.stream

ffmpeg command line to stream to the ingestion server started:

ffmpeg -re -i filler.mp4 -vcodec libx264 -x264-params keyint=50:min-keyint=25:scenecut=-1 -acodec aac -ar 44100 -b:a 128k -crf 23 -preset superfast -tune zerolatency -profile:v Main -level 3.1 -f flv rtmp://127.0.0.1:1942/live/stream

from ffplayout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.