
Recherche avancée
Autres articles (32)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 (...)
Sur d’autres sites (3997)
-
Ffmpeg cpp libav randomly uses high cpu and less gpu or uses high gpu and less cpu with hw accel
29 avril 2024, par cngkytI am using ffmpeg as library with cpp
the integration of library is perfectly done i am using AVFilterGraph as audio resampler and video pixfmt converter.


I cannot share code because it is a complete library and contains too many files but i can assure there is no problem about code but maybe approach.


My whole class is based on the transcode example of ffmpeg
text


The problem is when i run my program that encodes approx 90 streams


it starts with 25% cpu usage 80% gpu encode usage %85 gpu decode usage with 100% sm utilization


or


it starts with 80% cpu usage 45% gpu encode usage 50% gpu decode usage with 60% sm utilization


when it start like second type of utilization videos are perfect
but when it starts like the first type of utilization videos are freezing


my program uses pure gpu for encoding for all streams but using gpu decoding for every 3 cpu deoding
that means i use hwaccel for 1/3 of streams
because my cards are 4070 ti super and they have 2 NVENC 1 NVDEC chips


my program takes udp streams and encode it and outputs udp mpegts


bitrate and quality settings are persistent across streams depending on resolution


i always test on same streams


the problem happens randomly
but if it starts with high cpu and low gpu utilization it goes on like this
when i restart program problem occurs randomly again


what can couse this


just as an info i have experience on c++ more than 25 years


if there is someone who can teach me something i will be happy


thanks for your further helps


i have tried to reproduce it with compiled ffmpeg instead of my libav library usage
same thing happens but not often


i have tried using hevc_cuvid instead of hwacceleration with avcodec_find_decoder_by_name function


-
sh4 : remove architecture
7 juin 2024, par Rémi Denis-Courmontsh4 : remove architecture
Support for SuperH was dropped over a decade ago. There no longer is any
architecture-specific code to be found, so just remove the corresponding
test. Technically it is still possible to compile FFmpeg as the
"generic" (pure C) architecture. -
MSE video fragments [closed]
21 juin 2024, par Bogdan RusuI am trying to build a Javascript web streammer, which uses MediSource and a buffer.
I append to the buffer every new fragment that is comming, which allows me to stream a video.


To be more in context, its done with MPEG DASH. I have the video init.mp4 file and the m4s fragments.


However, I want to add some videos that are pure mp4 video, and I cannot append them to the buffer, since they are not fragments related to the first stream. I was thinking about converting them to m4s fragment, but I don't understand how to do it. As far as I've read, m4s fragments are mp4 videos without the initial metadata and some other atoms/boxes removed.


Is there a way to convert a mp4 video to one big m4s segment of the same duration and to properly append it to the MediaSource buffer ? Is there a way to manually create a m4s segment from a mp4 video ?


I tried multiple tools such as Bento4 and some ffmpeg commands that converts the mp4 video in a mp4 fragment. But every time I append it to the buffer, the video stops and cannot read further. Especially with chrome.


With bento4, after I mp4fragment, chrome can't seem to play the second fragment and the player always stops.