Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 10-20-2017, 12:41 PM
momo223 momo223 is offline
Junior Member
 
Join Date: Oct 2017
Posts: 2
momo223 is on a distinguished road
Default

ffmpeg on linux stream to mips.tv


hay i have installed ffmpeg on my linux and it is working perfect with youtube and facebook


but i cant use it with mips.tv and a lot of streaming servers

i use this code for streaming

HTML Code:
#! /bin/bash
#
# Diffusion youtube avec ffmpeg

# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée.

VBR="5000k"                                    # Bitrate de la vidéo en sortie
FPS="30"                                       # FPS de la vidéo en sortie
QUAL="ultrafast"                                  # Preset de qualité FFMPEG
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"  # URL de base RTMP youtube

SOURCE="http://115.59.120.120/live/h0mee1_fV2y1E/SoYTNkRw/113.ts?token=Q0NfBUFfF19BVlsAAwpRDgAGXFIBXwFZUAZXBF5cUgcBWAQAVgAMUgZDFBZHRkZSAF1nD1REDwkEUUgQExdUE2cIU0YIFQFUUlkBFhgQQF4MVRpcAVMFAARaVgNTVR1DSAhTRggVBldaVBoYFldMQwRCVgdcOVFdQwsHV0ReXxRUDRtGXVlqAQYMWVpQEA4VURIURFkVRRoPQDB3RiBQFVlDG0ZQXkEXAhVdFg4QBgdZCBpKEgVaTVsWFktEXhMkf0MbRldPQQANElFbWhAOFRVDGkoSD0ZnRwcXRhQBUAxdExVeEAcXSUEMWUxrUVtZD1VbElkJW0sXWEYDREgTDFcPXhBdRWoVCgUaDhYAAA9UAxob"              # Source UDP (voir les annonces SAP)
KEY="31z7-b6d6-45mj-atrq"                                     # Clé ? récupérer sur l'event youtube

ffmpeg \
    -i "$SOURCE" -deinterlace \
    -vcodec libx264 -s hd720 -pix_fmt yuv420p -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
    -acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 2500k \
    -f flv "$YOUTUBE_URL/$KEY"
Reply With Quote
  #2  
Old 10-20-2017, 01:43 PM
momo223 momo223 is offline
Junior Member
 
Join Date: Oct 2017
Posts: 2
momo223 is on a distinguished road
Default

Re: ffmpeg on linux stream to mips.tv


@KSV


need help
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 09:46 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons