
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 (46)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (6001)
-
Why doesn't FFmpeg work when using yt-dlp in python script ?
11 mai 2022, par spelleI'm trying to download a video using yt-dlp in python.


ydl_opts = {'format': 'bv+ba/b'}
with YoutubeDL(ydl_opts) as ydl:
 ydl.download('https://www.reddit.com/r/cats/comments/re37dn/weve_been_feeding_this_stray_for_several_years/')



But I'm reaching an FFmpeg error in the log


[generic] 1o8t9ollwx481: Requesting header
[redirect] Following redirect to https://www.reddit.com/r/cats/comments/re37dn/weve_been_feeding_this_stray_for_several_years/
[Reddit] re37dn: Downloading JSON metadata
[Reddit] re37dn: Downloading m3u8 information
[Reddit] re37dn: Downloading MPD manifest
[info] 1o8t9ollwx481: Downloading 1 format(s): dash-video_4419291+dash-audio_0_133951
WARNING: You have requested merging of multiple formats but ffmpeg is not installed. The formats won't be merged.
[download] Destination: We’ve been feeding this stray for several years, but she’s lost a lot of weight and I don’t think she would last outside for another winter, so I brought her in. [1o8t9ollwx481].fdash-video_4419291.mp4
[download] 100% of 5.18MiB in 00:00 
[download] Destination: We’ve been feeding this stray for several years, but she’s lost a lot of weight and I don’t think she would last outside for another winter, so I brought her in. [1o8t9ollwx481].fdash-audio_0_133951.m4a
[download] 100% of 161.32KiB in 00:00



FFmpeg is installed through pip and added in PATH.


-
lavu/riscv : add optimisations
12 septembre 2022, par Rémi Denis-Courmont -
How to extract fully synced audio with ffmpeg ?
2 janvier 2023, par Brendan HillI have an MP4 file with video and audio. I need to extract the audio stream only to an MP3 file.


However it is critical for our application that the timing / synchronization of the audio file is exactly aligned with the original video, as we cross-correlate audio features based on timing.


I currently use this command :


ffmpeg -y 
 -v error 
 -map 0:a ./the-output-file-mp3
 -map 0:v ~/a-dummy-video-output-file.mp4
 -i ~/the-input-file.mp4
 -acodec copy 
 



as I read somewhere that mapping both 0:a and 0:v would guarantee alignment & synchronization. I then discard the video file as it is not needed.


However it is orders of magnitude faster to just extract the audio instead :


ffmpeg -y 
 -v error 
 -map 0:a ./the-output-file-mp3
 -i ~/the-input-file.mp4
 -acodec copy 



But I don't know if this guarantees alignment, because I read on this page that :


If you only extract audio from a video stream, the length of the audio may be shorter than the length of the video. To make sure this doesn't happen, extract both audio AND video with the same call to ffmpeg, e.g. "ffmpeg -i vid.avi -map 0:a audio.wav -map 0:v onlyvideo.avi


However perhaps I am putting too much weight on that comment. I don't care if the audio clip finishes early, but it is critical that it does not start late, or get de-synced from the original video at any point.


What is the most efficient way with ffmpeg to extract the audio stream with a guarantee that it is 100% aligned in time to the video (and starts at exactly the same time) ?


Will this method guarantee alignment ?


ffmpeg -y 
 -v error 
 -i ~/the-input-file.mp4
 -vn
 -acodec copy 
 ~/the-output-file.mp4