GithubHelp home page GithubHelp logo

Comments (14)

jb-alvarado avatar jb-alvarado commented on June 9, 2024 2

Hello @IVEN2022, thank you for your willingness to support this project! I add a link, you should see it on the right side under github sponsor link.

from ffplayout.

IVEN2022 avatar IVEN2022 commented on June 9, 2024

Hello , PLease not to the script , add paypal donation option to this project so we can contribute , thank you

from ffplayout.

IVEN2022 avatar IVEN2022 commented on June 9, 2024

@jb-alvarado
thank you my friend , already send via paypal , than you for the best solution ever , 3 quick questions if i may ask , as there is lot of installations invloved

  1. link to the page where i can follow installation to make the preview work please (preview window on the top left corner ) ,
  2. I test streaming to facebook , it works but from time to time it jitter or fasten the video on facebook when i press anything in the payout web interface
  3. coud not find the settings regarding resolution 720 for facebook or youtube , this is my config
-c:v:0 libx264 
-crf 23
-x264-params keyint=50:min-keyint=25:scenecut=-1
-maxrate:0 1300k
-bufsize:0 2600k
-preset faster
-tune zerolatency 
-profile:v Main
-level 3.1
-c:a:0 aac 
-ar:0 44100
-b:a:0 128k
-flags +global_header
-f flv   youtube or facebook rtmp ink

if i want to stream to my website i try to use the http://ip:8787/live/stream.m3u8 , but nothing is showing , please point me to the page of fix or setup

thank youuuu

from ffplayout.

jb-alvarado avatar jb-alvarado commented on June 9, 2024

link to the page where i can follow installation to make the preview work please (preview window on the top left corner

You can look here, there is many informations, also about the preview stream. In the issues you found also some hints.

I test streaming to facebook , it works but from time to time it jitter or fasten the video on facebook when i press anything in the payout web interface

Could be two thing: your machine has not enough CPU power or RAM, our your Internet connection is to slow.

coud not find the settings regarding resolution 720 for facebook or youtube , this is my config

The resolution can be set in the processing area.

from ffplayout.

IVEN2022 avatar IVEN2022 commented on June 9, 2024

image

from ffplayout.

jb-alvarado avatar jb-alvarado commented on June 9, 2024

Looks good. Does this only happen when you click next, previous, or reset? On this functions it can happen, that the playing behaviour is a bit unsmooth. They should only be used when is really necessary ones a while, and not like by a normal music/video player.

The best is to start ffplayout and then leave it alone :-).

from ffplayout.

IVEN2022 avatar IVEN2022 commented on June 9, 2024

no its happening even if i dont press anything , vps is 4 cpu 8 gb rams , i really cant fix the corner preview , what is you solution as you are the developer of this , thanks

from ffplayout.

jb-alvarado avatar jb-alvarado commented on June 9, 2024

You could try a small stream with low Bitrate an resolution and see if that works with your Facebook.

For the preview: I stream to SRS, create there my HLS multi resolution for a web tv page. The lowest resolution I use for the preview. In the past I created in SRS also forward streams to YouTube, but that I do different now.

from ffplayout.

IVEN2022 avatar IVEN2022 commented on June 9, 2024

i used this https://github.com/ffplayout/ffplayout/blob/master/docs/preview_stream.md
but seams not to work

from ffplayout.

jb-alvarado avatar jb-alvarado commented on June 9, 2024

At which point do you hang?

When you have setup SRS correctly, you can configure it like:

listen              1935;
max_connections     200;
daemon              on;
pid                 /usr/local/srs/objs/srs.pid;
srs_log_tank        console; # file;
srs_log_file        /var/log/srs.log;
ff_log_dir          /dev/null;

# can be: verbose, info, trace, warn, error
srs_log_level       info;

stats {
    network         0;
    disk            sda vda xvda xvdb;
}

vhost __defaultVhost__ {
    enabled             on;

    play {
        time_jitter     full;
        mix_correct     on;
    }

    publish {
        normal_timeout      30000;
    }

    transcode live/stream {
        enabled     on;
        ffmpeg      /usr/local/bin/ffmpeg;

        # use what ever you want to here
        engine youtube {
            enabled         off;
            iformat         live_flv;
            vfilter {
                v           error;
            }

            vcodec          copy;
            acodec          copy;
            oformat         flv;
            output          rtmp://a.rtmp.youtube.com/live2/<your destination>;
        }
    }

    # use this for your preview
    hls {
        enabled         on;
        hls_path        /var/www/srs;
        hls_fragment    6;
        hls_window      1800;
        hls_cleanup     on;
        hls_dispose     0;
        hls_m3u8_file   live/stream.m3u8;
        hls_ts_file     live/stream-[seq].ts;
    }
}

Then set ffplayout stream output to something like:

    -c:v libx264
    -crf 23
    -x264-params keyint=50:min-keyint=25:scenecut=-1
    -preset ultrafast
    -tune zerolatency
    -profile:v Main
    -level 3.1
    -c:a aac
    -ar 44100
    -b:a 128k
    -flags +global_header
    -f flv rtmp://127.0.0.1/live/stream

nginx should have then the location from the hls output:

location /live/ {
    alias /var/www/srs/live/;
}

And finally you can use set your path in Frontend: http://[domain or IP]/live/stream.m3u8

from ffplayout.

IVEN2022 avatar IVEN2022 commented on June 9, 2024

PLease PLease can you do a simple video to demonstrate who you approch this , nothing is working for this solution
thanks

from ffplayout.

jb-alvarado avatar jb-alvarado commented on June 9, 2024

Sorry, at the moment I really have no time for that. Why you not trying step by step, and when you hang somewhere you tell it here and we see how to fix that step.

from ffplayout.

IVEN2022 avatar IVEN2022 commented on June 9, 2024

I hang on the IPs here in this script , is it my server IP or it has to be 127.0.0.1 ?

from ffplayout.

jb-alvarado avatar jb-alvarado commented on June 9, 2024

All internal communication can go over 127.0.0.1. So when you have install nginx, srs and ffplayout on the same machine, they all can use 127.0.0.1. Only when you have to access from "outside" you need the server IP or domain name. If it is possible use an domain name for reaching the ffplayout frontend and use it also for the preview stream config.

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.