
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (57)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (11143)
-
ffmpeg downloading parts of Youtube videos but for some of them they have a black screen for a few seconds
29 septembre 2021, par user14702793So im using ffmpeg to download some youtube videos with specific start and stop times. My code looks like
os.system("ffmpeg -i $(youtube-dl --no-check-certificate -f 18 --get-url %s) -ss %s -to %s -c:v copy -c:a copy %s"% (l, y, z, w))
where the variables would all be the name of the file, the url, and the start and stop times. Some of the vidoes come out just fine, others have a black screen and only a portion of the video, and a very few amount have just audio files. My time is formated as x.y where x would be the seconds and y would be the milliseconds. Is this the issue so I need to transform it to 00:00:00.0 format ? Any help is appreciated

-
FFmpeg output stopping early when piping through stdin
6 juillet 2022, par Null UserI am receiving audio data encoded using Ogg Vorbis through a stream, and piping that data to FFmpeg's stdin in order to convert it into Opus. Here is the command I'm using :


ffmpeg -hide_banner -i pipe: -acodec libopus -f opus -ar 48000 -ac 2 -b:a 64000 -filter_complex volume=0.2 pipe:1



Unfortunately, the output audio stops a few seconds before the end of the file.


Looking at the FFmpeg logs, I can see this warning appear many times during the conversion :


[libopus @ 0000025190d06a00] Queue input is backward in time
 Last message repeated 9 times
size= 728kB time=00:00:45.05 bitrate= 132.4kbits/s speed=1.26x 
[libopus @ 0000025190d06a00] Queue input is backward in time
 Last message repeated 11 times
size= 793kB time=00:00:49.07 bitrate= 132.4kbits/s speed=1.24x 
[libopus @ 0000025190d06a00] Queue input is backward in time
 Last message repeated 8 times



My guess is that for some reason the inputs I'm receiving are reversed, and on the last chunk of data the "end of stream" vorbis packet comes first, therefore FFmpeg stops processing the rest of the data.


Saving the stream to a file and encoding the file instead of the stream doesn't cause this to happen. This seems to be exclusive to stdin streams.


Is there a way to tell FFmpeg to ignore the "end of stream" signal ?


-
Adding trimming option to Youtube-dl audio script
22 septembre 2020, par Jim JamilThis is the current script, it's a Windows batch file that prompts for a Youtube url and then downloads the best audio in m4a. It's basically cobbled together and uses aria2 to manage the download.


@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
(set /p var1="Url? " && youtube-dl -f bestaudio[ext=m4a] --external-downloader aria2c --external-downloader-args "-j 16 -s 16 -x 16 -k 5M" --restrict-filenames -o "%%(title)s.%%(ext)s" --add-metadata --embed-thumbnail !Var1!)
ENDLOCAL
pause



After asking for the url, I want to also prompt the user to input the start and end times to trim the audio, which would be done by ffmpeg post download.


Something like :


ffmpeg -i file.m4a -ss 00:00:20 -to 00:00:40 -c copy file-2.m4a



Based on this : https://unix.stackexchange.com/questions/182602/trim-audio-file-using-start-and-stop-times/302469#302469


The beginning and end times would need to be variables set by user input in
00:00:00
format, but not sure how to add the ffmpeg post-processing at the end or how it would all fit together. I want to add this trimming feature to remove some of the preamble on podcasts and get straight to the guest part of the show.

The
--embed-thumbnail
is optional, and won't work anyway unless Atomic Parsley is present. FFmpeg often has trouble with Album Art anyway so I usually just use-vn
on the final output file.