
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (31)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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
Sur d’autres sites (6663)
-
Download from YouTube as ".wav" instead of ".webm"
11 août 2022, par Bastian GerjolI am trying to extract an audio from a YouTube Video as an .wav file.
However, the script that I am running keeps giving me .webm files.
The code I am using is the following :


from __future__ import unicode_literals
import youtube_dl

ydl_opts = {
 'format': 'bestaudio/best',
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'wav',
 'preferredquality': '192'
 }],
 'postprocessor_args': [
 '-ar', '16000'
 ],
 'prefer_ffmpeg': True,
 'keepvideo': True
}

with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download(['https://www.youtube.com/watch?v=2Xq7iJKzhR4'])



Is there a way to change the output and keep the highest possible audio quality ?


I tried setting
prefer_ffmpeg': True
toFalse
&keepvideo': True
toFalse
but that did not change anything.

I would appreciate suggestions and please keep in mind that I never used Python before.


-
Should I use aevalsrc or anullsrc ? I got flooded with "cur_dts is invalid st:0" or "Delay between the first packet", encoding stalls at frame 127
28 avril 2022, par jokoonContext : this command is generated with a python script, it aims at concatenating different small videos of different format, with a 0.5s pause, considering some video don't have an audio track.


ffmpeg.exe
-report
-i
input0.mp4
-i
input1.mp4
-i
input2.mp4
-i
input3.mp4
-i
input4.mp4
-i
input5.mp4
-i
input6.mp4
-i
input7.mp4
-i
input8.mp4
-f
lavfi
-i
color=c=black:s=480x270:d=0.5:r=24,format=yuv420p
-f
lavfi
-i
anullsrc
-filter_complex_script
filter_complex_script.txt
-map
[final_video]
-map
[final_audio]
-c:a
aac
concatenated-2022-04-27--23-53.mp4



—


[0]fps=24[fps0];
[fps0]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled0];
[1]fps=24[fps1];
[fps1]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled1];
[2]fps=24[fps2];
[fps2]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled2];
[3]fps=24[fps3];
[fps3]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled3];
[4]fps=24[fps4];
[fps4]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled4];
[5]fps=24[fps5];
[fps5]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled5];
[6]fps=24[fps6];
[fps6]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled6];
[7]fps=24[fps7];
[fps7]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled7];
[8]fps=24[fps8];
[fps8]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled8];
[rescaled0][10:a][9:v][10:a][rescaled1][10:a][9:v][10:a][rescaled2][10:a][9:v][10:a][rescaled3][10:a][9:v][10:a][rescaled4][10:a][9:v][10:a][rescaled5][5:a][9:v][10:a][rescaled6][6:a][9:v][10:a][rescaled7][7:a][9:v][10:a][rescaled8][8:a]concat=n=17:v=1:a=1[final_video][final_audio]



I either have thousands of

[mp4 @ 000002132cefe100] Delay between the first packet and last packet in the muxing queue is 10007800 > 10000000: forcing output


when I use


-f lavfi -i anullsrc

so I tried using-f lavfi -i aevalsrc=0:n=1


instead, I have have thousands of


cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)


The encoding "stalls" at frame 127, it keeps doing things, but the frame counter doesn't increment.


Here are the inputs :


I skipped the yuvj420p input as it generated warnings (looks like it's not a big problem)




Here is a log (I trimmed it a bit) : (I think it's a bit large for stackoverflow)




-
Revert "Revert "vf_yadif : move x86 init code to x86/yadif.c""
4 janvier 2014, par Robert KrügerRevert "Revert "vf_yadif : move x86 init code to x86/yadif.c""
This reverts commit 975110a85ef8e794fdc041455ff41b0ad30bc01e.
Signed-off-by : Robert Krüger <krueger@lesspain.de>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at>