
Recherche avancée
Autres articles (48)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
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 (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (6223)
-
No Audio when streaming to Youtube from ffmpeg
11 février 2019, par Sindre SvendbySo I’m not able to get sound to youtube when streaming with ffmpeg.
The command I try to run ;
ffmpeg \
-f v4l2 \
-vcodec h264 \
-video_size 864x480 \
-r 24 \
-i /dev/video1 \
-f alsa \
-thread_queue_size 1024 \
-ac 2 \
-i plughw:CARD=C920,DEV=0 \
-c:a aac \
-filter:a "volume=1.5" \
-b:a 128k \
-ar 44100 \
-vcodec copy \
-b:v 2000k \
-r 24 \
-g 48 \
-x264opts no-scenecut \
-bufsize 4096k \
-maxrate 2048k \
-f flv \
rtmp://a.rtmp.youtube.com/live2/STREAM_KODEif I switch out the rmtp stream, with a file, like test.flv.
And then I try to watch this with VLC I do get sound.If I check the audio codec in VLC I do see that the codec is aac.
And as far as I can see from their help pages it is aac that is the correct audio codec to send in.I’m not sure how to continue debug this issue, and ideas on this would be great.
-
Use Ffmpeg to re-stream rtsp [closed]
27 février 2024, par Wissam EliasI am trying to re-stream an rtsp connection using this command :


ffmpeg -rtsp_transport tcp -i "rtsp://admin:admin@192.168.1.13:1935" -rtsp_transport tcp -c:v copy -f rtsp rtsp://192.168.1.10:1935



i am sure that this rtsp connection is working : "rtsp ://admin:admin@192.168.1.13:1935".


I have then tried, for testing purposes, using FFplay to watch the stream from localhost as follows :


ffplay rtsp://192.168.1.10:1935



but no it is not working -_-




-
ffmpeg merge audio and video streams on the fly
19 décembre 2022, par KikoI'm trying to get a stream from Youtube and stream it via HTTP, but I have to use separate audio and video streams to get good quality. I don't know how to merge the streams on the fly with
ffmpeg
. (I'm usingpytube
)

I know I can do this by saving the streams, then merging them, and then streaming the output, but I would like to do it on the fly. This is my current code (which uses the old progressive streams) :


yt = YouTube(f"https://www.youtube.com/watch?v={url}")
video = yt.streams.filter(file_extension='mp4', progressive=True).first()
async def stream(response):
 for chunk in pytube_request.stream(video.url):
 await response.write(chunk)
return ResponseStream(stream, content_type="audio/mp4")