Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


User Menu

Sign In

Sign In

Or sign in with one of these services

Sign Up

Forum Menu

Register now to M1GC to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an M1GC account for free today!

  • Today's Birthdays

    No users celebrating today
  • Forum Statistics

    • Total Topics
    • Total Posts
  • Posts

    • Any new member who register, you must click your registration email to be allowed on the site.. If no link is clicked, your registration will be removed and you may have to re-register...
    • Website upgraded to its latest version...
    • You may share tips, tutorials, installation issues, bugs you find, etc in our software section, Sharing software is also allowed... Sharing pirated software is prohibited, and is subject to user bans & removal.
    • Publishing with FFMPEG The easiest way to publish live video streams is by using ffmpeg (or avconv). It's already installed on most systems and easy to install on others. RTMP supports only a limited number of codecs. The most popular RTMP video codecs are H264, Sorenson-H263 (aka flv) and audio codecs AAC, MP3, Nellymoser, Speex. If your video is encoded with these codecs (the most common pair is H264/AAC) then you do not need any conversion. Otherwise you need to convert video to one of supported codecs. We'll stream test file /var/videos/test.mp4 to server with ffmpeg. Below are some different examples of how to use FFMPEG To Stream Live Video. Streaming without conversion (given test.mp4 codecs are compatible with RTMP) ffmpeg -re -i /var/Videos/test.mp4 -c copy -f flv rtmp://localhost/myapp/mystream Streaming and encoding audio (AAC) and video (H264), need libx264 and libfaac ffmpeg -re -i /var/Videos/test.mp4 -c:v libx264 -c:a libfaac -ar 44100 -ac 1 -f flv rtmp://localhost/myapp/mystream Streaming and encoding audio (MP3) and video (H264), need libx264 and libmp3lame ffmpeg -re -i /var/Videos/test.mp4 -c:v libx264 -c:a libmp3lame -ar 44100 -ac 1 -f flv rtmp://localhost/myapp/mystream Streaming and encoding audio (Nellymoser) and video (Sorenson H263) ffmpeg -re -i /var/Videos/test.mp4 -c:v flv -c:a nellymoser -ar 44100 -ac 1 -f flv rtmp://localhost/myapp/mystream Publishing video from webcam (Linux) ffmpeg -f video4linux2 -i /dev/video0 -c:v libx264 -an -f flv rtmp://localhost/myapp/mystream Publishing video from webcam (MacOS) ffmpeg -f avfoundation -framerate 30 -i "0" -c:v libx264 -an -f flv rtmp://localhost/myapp/mystream Playing with ffplay ffplay rtmp://localhost/myapp/mystream OK NOW LETS  MODIFY OUR CONFIG TO USE FFMPEG TO CONVERT OUR STREAM AND PUBLISH TO OUR PLATFORMS. Publishing a live stream to Restream.io & Facebook.com using FFMPEG This config is an example of how we will publish to multi-platforms using FFMPEG... rtmp {     server {         listen 1935;         chunk_size 4096;         application myapp {             live on; #FFMPEG COPYING AND SENDING THE STREAM TO LIVEOUT         exec ffmpeg -re -i "rtmp://" -c:v libx264 -crf 0 -c copy -f flv "rtmp://";         }         application liveout {             live on;             record off; #LIVE OUT RECEIVING THE STREAM FROM ( myapp ) AND SENDING THE COPY OUT TO RESTREAM AND FACEBOOK #RESTREAM.IO DIRECT push rtmp://live.restream.io/live/YOUR_STREAM_KEY; #FACEBOOK DIRECT push rtmp://live-api-s.facebook.com:80/rtmp/YOUR_STREAM_KEY;         }     } } Lets explain whats happening in the code above The Live Application (myapp) will import your stream from your streaming software (OBS, XSplit, Wirecast) using ffmpeg. The myapp, will run the stream thru FFMPEG without conversion, using the x264 or x265 encoder, while copying the stream into a .FLV video format file. The .flv file is then sent to the liveout application all in real-time. (liveout), The liveout application (liveout) will receive a copy of your stream, and then pushed / sends your stream to any platform you listed to push too. That's it.  ENJOY STREAMING WITH NGINX AND FFMPEG!
    • Feel free to Create a New Topic in this topic thread if you do not see a Video Creation / Editing Software you use and wish it to be added to the forum. Please Note: You can use the example below on how to submit with your request... EXAMPLE: Video Creation / Editing Software:  Movie Maker 10 Description: Movie Maker 10 is a convenient video editing software for Windows for people looking to go back to basics. It’s great for making quick edits to short video clips you need ready right away. Movie Maker 10 comes with a free version that includes its suite of video and picture editing tools as well as the ability to add captions with customizable fonts and colors. Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. URL: https://somewebsite.com

About Us

M1GC it's a community based on PC and Console Gaming.

Social Links

M1GC Facebook Group Join
M1GC Steam Group Join
M1GC Discord Server Join
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.