
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (46)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (...) -
Personnaliser l’affichage de mon Médiaspip
27 mai 2013Vous pouvez modifier la configuration du squelette afin de personnaliser votre Médiaspip Voir aussi plus d’informations en suivant ce lien
Comment supprimer le nombre de vues d’affichage d’un média ?
Administrer > Gestion du squelette > Pages des articles et médias Cocher dans "Informations non affichées sur les pages de médias" les paramètres que vous ne souhaitez pas afficher.
Comment supprimer le titre de mon Médiaspip dans le bandeau horizontal ?
Administrer > Gestion du squelette > (...)
Sur d’autres sites (7437)
-
Getting issue in ffmpeg live stream using nodejs
23 février 2023, par Dharmraj Patidar

We are using node-rtsp-stream-jsmpeg library in rtsp live streaming using nodejs and we are face following error.


Error writing trailer of http://localhost:9007/s1: Broken pipe
frame= 3289 fps= 10 q=14.5 Lsize= 37663kB time=00:05:29.32 bitrate= 936.9kbits/s speed=1.01x

video:28938kB audio:6435kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 6.474919%
Conversion failed !

-
avio_open2 fails randomly for RTMPS Facebook live streaming
3 janvier, par UsamaI am trying to re stream a video to Facebook RTMPS endpoint and , facing an issue specifically with Facebook's RTMPS endpoint . I have tried with linkedin RTMPS endpoint and its working fine , but Facebook end point some times works and fails some times its totally random . The avio_open2 call sometimes fails randomly, returning a -5 error. This only seems to happen with the Facebook endpoint .on ffmpeg log side I see that the handshake was successful , I don't understand the reason for failure here. (i am running in multithreaded environment )


int ret = avformat.avio_open2(pb, url , AVIO_FLAG_WRITE, null, getOptionDictionary()) ;


[rtmps @ 0x7a5978023640] Handshaking...
[rtmps @ 0x7a5978023640] Type answer 3
[rtmps @ 0x7a5978023640] Server version 1.0.5.4
[rtmps @ 0x7a5978023640] Proto = rtmps, path = /rtmp/FB-1709082269638040-0-test-KRmT_Y, app = rtmp, fname = FB-1709082269638040-0-AbyNzKGtN-KRmT_Y
[rtmps @ 0x7a5978023640] Window acknowledgement size = 5000000
[rtmps @ 0x7a5978023640] Max sent, unacked = 5000000
[rtmps @ 0x7a5978023640] New incoming chunk size = 4096
[rtmps @ 0x7a5978023640] Releasing stream...
[rtmps @ 0x7a5978023640] FCPublish stream...
[rtmps @ 0x7a5978023640] Creating stream...
[rtmps @ 0x7a5978023640] Sending publish command for 'FB-test-0-test-KRmT_Y'
[rtmps @ 0x7a5964021780] No default whitelist set
[tls @ 0x7a596402a900] No default whitelist set
[tcp @ 0x7a596402ab00] No default whitelist set
[tcp @ 0x7a596402ab00] Original list of addresses:
[tcp @ 0x7a596402ab00] Address 57.144.176.149 port 443
[tcp @ 0x7a596402ab00] Address 2a03:2880:f358:95:face:b00c:0:1411 port 443
[tcp @ 0x7a596402ab00] Interleaved list of addresses:
[tcp @ 0x7a596402ab00] Address 57.144.176.149 port 443
[tcp @ 0x7a596402ab00] Address 2a03:2880:f358:95:face:b00c:0:1411 port 443
[tcp @ 0x7a596402ab00] Starting connection attempt to 57.144.176.149 port 443
[tcp @ 0x7a596402ab00] Successfully connected to 57.144.176.149 port 443




My java cpp and ffmpeg version is


1.5.11
7.1-${javacpp.version}



-
How to get the video count of youtube_dl (1 of 256) in its output and hide ffmpeg console when converting the format ?
28 août 2020, par KristenI am creating a GUI program in Qt creator via Pyside2 and it's a program that lets you download Youtube music. My goal is to get the video count like x of 256 or x of 2 or 1 of 256 when downloading the playlist but I don't know how. I've come across two problems.


First problem : I don't know how to get this information from youtube_dl output


[youtube:playlist] Downloading playlist PLi0XaxnSihZSnD1TNm82Y43o92r6UNEfH - add --no-playlist to just download video -5EmnQp3V48
[youtube:playlist] PLi0XaxnSihZSnD1TNm82Y43o92r6UNEfH: Downloading webpage
[download] Downloading playlist: Dance Central Songs
[youtube:playlist] PLi0XaxnSihZSnD1TNm82Y43o92r6UNEfH: Downloading page #1
[youtube:playlist] PLi0XaxnSihZSnD1TNm82Y43o92r6UNEfH: Downloading page #2
[youtube:playlist] playlist Dance Central Songs: Downloading 251 videos
[download] Downloading video **1 of 251**
[youtube] bESGLojNYSo: Downloading webpage
[download] Destination: Lady Gaga - Poker Face (Official Music Video)-bESGLojNYSo.webm
[download] 100% of 3.50MiB in 00:01 
Finished
[ffmpeg] Destination: Lady Gaga - Poker Face (Official Music Video)-bESGLojNYSo.mp3
Deleting original file Lady Gaga - Poker Face (Official Music Video)-bESGLojNYSo.webm (pass -k to keep)
[download] Downloading video **2 of 251**
[youtube] E2tMV96xULk: Downloading webpage
14:03:36: C:\Python38\python.exe exited with code 0



Second problem : If my program is in .exe format then FFMPEG console appears and disappears immediately after it has completed the conversion but it's taking the user focus every time which gets annoying.


What I've tried for first problem is that I tried to get it manually but it did not work then I checked youtube_dl github download dictionary keys and there is not a key that can acquire that video count 1 of 256


print("Download keys:", download.keys())
Download keys: dict_keys(['status', 'downloaded_bytes', 'total_bytes', 'tmpfilename', 'filename', 'eta', 'speed', 'elapsed', '_eta_str', '_percent_str', '_speed_str', '_total_bytes_str'])



What I've tried for second problem is actually none. I checked C# versions and with C# you can hide that console or disable it but I haven't found a way to do that in Python yet. Goal here is disable ffmpeg console taking either the focus or hide/disable it or third option is to use another converter.


Youtube_dl code that is in Worker thread :


def run(self):
 self.main_window.progressBar.setValue(0)

 self.ydl_opts = {
 'format': 'bestaudio/best',
 'noplaylist': self.main_window.playlist,
 'source_address': '0.0.0.0',
 'ignoreerrors': True,
 'progress_hooks': [self.my_hook],
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3'
 }]
 }

 with youtube_dl.YoutubeDL(self.ydl_opts) as ydl:
 ydl.download([f'{self.main_window.downloadURL.text()}'])

def my_hook(self, download):
 if download["status"] == "finished":
 print("Finished")
 self.main_window.progressText.setText("Ready")
 if download["status"] == "downloading":
 self.updateText.emit("Downloading...")
 percent = download["_percent_str"]
 percent = percent.replace("%", "")
 self.updateProgress.emit(float(percent))



Edit : FFMPEG console appearing and disappearing for a moment is shown in this video here in dropbox :
ffmpeg console appearing and disappearing video