
Recherche avancée
Autres articles (53)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (7074)
-
FFMPEG : youtube stream loop audio and video
30 mars 2022, par Fionn Lee

My host Script . but its not looping again by again ;




#! /bin/bash

VBR="1500k"
FPS="24"
QUAL="superfast"

YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
KEY="z5k3-8888-69qu-9999"

VIDEO_SOURCE="/home/root/cover.gif"
AUDIO_SOURCE="http://localhost/radio/8000/radio.mp3"

ffmpeg \
 -re -f lavfi -i "movie=filename=$VIDEO_SOURCE:loop=0, setpts=N/(FRAME_RATE*TB)" \
 -thread_queue_size 512 -i "$AUDIO_SOURCE" \
 -map 0:v:0 -map 1:a:0 \
 -map_metadata:g 1:g \
 -vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
 -acodec libmp3lame -ar 44100 -threads 6 -qscale:v 3 -b:a 320000 -bufsize 512k \
 -f flv "$YOUTUBE_URL/$KEY"



I want help to fix this script


-
How to stream to the stream name come in response from Youtube livestream api
7 décembre 2018, par Anirudha GuptaI am calling this API https://developers.google.com/youtube/v3/live/docs/liveStreams/insert ? to get stream name from Livestream API
{
"kind": "youtube#liveStream",
"etag": "\"etag"",
"id": "-ABa1o",
"snippet": {
"publishedAt": "2018-12-07T05:41:12.000Z",
"channelId": "UC-
"title": "Hello World",
"description": "Snippet description of testing",
"isDefaultStream": false
},
"cdn": {
"format": "360p",
"ingestionType": "rtmp",
"ingestionInfo": {
"streamName": "9qq0-ct85-ctub-",
"ingestionAddress": "rtmp://a.rtmp.youtube.com/live2",
"backupIngestionAddress": "rtmp://b.rtmp.youtube.com/live2?backup=1"
},
"resolution": "360p",
"frameRate": "30fps"
},
"status": {
"streamStatus": "ready",
"healthStatus": {
"status": "noData"
}
},
"contentDetails": {
"closedCaptionsIngestionUrl": "http://upload.youtube.com/closedcaption?cid=9qq0-ct85-ctub-",
"isReusable": true
}
}I see a response like this, When I use OBS to stream to this RMTP URL it doesn’t have the title I set in the stream as you can see come in response. I am getting stream name but not sure if I do it correctly.
If I call the path as
rtmp://a.rtmp.youtube.com/live2/steamnamefromurl/mykey
it’s work but not have the title I set by call API. Anyone please check the page and help what I am going wrong. What I am looking for is get the title and description set for stream, or verified that I am doing it correctly. -
ffmpeg youtube livestream not working
21 avril 2017, par SelectToday i tried using ffmpeg on my debian 8.3 server to livestream 24/7 hours. However it doesnt work.
#! /bin/bash
INRES="1280x1024" # input resolution (The resolution of the program you want to stream!)
OUTRES="1024x790" # Output resolution (The resolution you want your stream to be at)
FPS="60" # target FPS
QUAL="ultrafast"
# one of the many FFMPEG presets that can be used
# If you have low bandwidth, put the qual preset on 'ultrafast' (upload bandwidth)
# If you have medium bandwitch put it on normal to medium or fast
STREAM_KEY="hidden" # this is your streamkey
ffmpeg -f "file.avi" -s "$INRES" -r "$FPS" -i :0.0 \
-f alsa -ac 2 -i pulse -vcodec libx264 -s "$OUTRES" \
-acodec libmp3lame -ab 128k -ar 44100 -threads 0 \
-f flv "rtmp://a.rtmp.youtube.com/live2"it gives me the output
Unknown input format : ’file.avi’