
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (100)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.
Sur d’autres sites (12277)
-
How to cut out first 5 seconds with youtube_dl and ffmpeg in python
23 février 2021, par SvenXPi have a python script to download and save a MP3 and i would like to add code to cut out 5 seconds from the beginning of the MP3.


def download():
 ydl_opts = {
 'format': 'bestaudio/best',
 'outtmpl': 'c:/MP3/%(title)s.%(ext)s',
 'cookiefile': 'cookies.txt',
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192',
 }],
 }
 with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download([inpYTLinkSong.get()])



I found some code for command line to cut x seconds :


ffmpeg -ss 00:00:15.00 -i "OUTPUT-OF-FIRST URL" -t 00:00:10.00 -c copy out.mp4


So i think i have to get the -ss part into the postprocessor part in my script, something like :


'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192',
 'ss':'00:00:05.00'
 }],



But of course its not working with 'ss' or 'duration' (found in ffmpeg docu).


So any ideas what i have to put there instead of 'ss' ?


-
Error while installing ffmpeg on standalone computer
10 juillet 2018, par newuserI am trying to install libx264 and ffmpeg on a computer without internet access
My plan is to first download all required packages and dependencies on a laptop with internet and then copy them over
To download the packages I used :apt-get download $(apt-rdepends <package>|grep -v "^ ")
</package>I was able to install yasm, libvpx and libx264 without issues this way.
When I try to install ffmpeg, I get this error.The following packages have unmet dependencies:
chromium-codecs-ffmpeg-extra-dbg : Depends: chromium-codecs-ffmpeg-extra (= 51.0.2704.79-0ubuntu0.16.04.1.1242) but 66.0.3359.181-0ubuntu0.16.04.1 is installed
ffmpeg-dbg : Depends: ffmpeg (= 7:2.8.14-0ubuntu0.16.04.1)
ffmpeg-doc : Depends: libjs-bootstrap but it is not installed
ffmpeg2theora : Depends: liboggkate1 (>= 0.3.0) but it is not installed
ffmpegthumbs : Depends: libkf5kiowidgets5 (>= 4.99.0) but it is not installed
kffmpegthumbnailer : Depends: libkio5 (>= 4:4.3.4) but it is not installed
moc-ffmpeg-plugin : Depends: moc (= 1:2.6.0~svn-r2788-1) but it is not installedwhere do I get these packages from ? I dont want apt-get to download them for me as I want to be able to get the package files.
-
FFmpeg stops temporarily when downloading HLS segment files
9 mai 2022, par NemdrI am downloading a video from a website in the HLS (M3U8) format, by downloading the segment (.ts) files. I am not re-encoding, but just copying the codecs, the command that I use :


ffmpeg -user_agent "my ua" -referer "my referer" -i https://website/file.m3u8 -c copy outputfile.mp4 



Sometimes the download suddenly stops in the middle of the download, and after a few seconds or a minute, it resumes. I am thinking that perhaps this has to do with the speed at which I am downloading, maybe the CDN temporarily rate limits me ?


I have tried using this option :
-http_multiple 0
to use only 1 HTTP connection to download the segment files, but this happens sometimes with this option as well. What could be the reason behind the sudden pauses ? And is there something I can do to slow down the download speed ? I have tried using the-re
option as well, which downloads the segments at the native speed as if I'm watching the video, but that's too slow.

Another possibility is that ffmpeg cannot find the next segment files, because the segment files in the .m3u8 manifest file are relative URLs, not full URLs, so ffmpeg has to search for the URL ??