
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (73)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (8628)
-
Use ffmpeg to extract/remix audio from/into video
2 décembre 2023, par user37143Working on a Mac, I have a bunch of
.mkv
files that I want to extract the audio from, then use an ML model I have in order to translate them and then mix them back into the video.

For the extraction phase, I am running :

ffmpeg -i {input_video}.mkv -map 0:a -c copy {output_audio}.aac

however I am getting these errors :

[adts @ 0x130708b30] Only AAC streams can be muxed by the ADTS muxer
[out#0/adts @ 0x6000031943c0] Could not write header (incorrect codec parameters ?): Invalid argument
[aost#0:1/copy @ 0x13070a050] Error initializing output stream: 



which I suspect are because of subtitles, seeing these warnings earlier in the output :


[matroska,webm @ 0x130704260] Could not find codec parameters for stream 4 (Subtitle: (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x130704260] Could not find codec parameters for stream 5 (Subtitle: (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x130704260] Could not find codec parameters for stream 6 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options



The only command that has worked for me so far is

ffmpeg -i {input_video}.mkv -vn -c:a aac {output_aduio}.wav
which however created a completely empty audio file.

Any help would be greatly appreciated


-
FFmpeg - inverting one of two audio files and merging them
3 février 2023, par kubinka0505I want to merge two files with FFmpeg, but one with inverted phase.


I've used following command, but It doesn't work.


ffmpeg -i "Song.wav" -i "Vocals.wav" -filter_complex "[0:a][1:a]amerge=inputs=2,pan=stereo|c0=c0|c1=-c1[a]" -map [a] "Instrumental.wav"


[Parsed_pan_1 @ 04c69000] Expected in channel name, got "-c1"
[AVFilterGraph @ 04b9bd80] Error initializing filter 'pan' with args 'stereo|c0=c0|c1=-c1'
Error initializing complex filters.
Invalid argument



I've also tried multiple variants of
c0code>, etc.


What command should I use ? Or maybe there's an easier workaround ?


-
FFMPEG - modify only part of video with select filter
28 janvier 2023, par CompactI have a video file - an NTSC DVD rip. I want to convert it into PAL DVD. The problem with that NTSC DVD is that it's a mixture of telecined content, true progressive 29.97 content, true interlaced content at 29.97 fps. The problem is with the true interlaced content - it's sometimes encoded as top field first and sometimes as bottom field first...


To keep quality as much as possible, I would like remove telecined frames, but keep those interlaced sequences and turn them to 25 fps top field first. This is where the problem arises.


I tried to make filter_complex chain with two select filters, where I reverse the fields for bottom field first frames, but the video is not encoding at all when I do that.


Here is an example filter chain I tried to make - I've made a lot of iterations of something similar, using select or metadata select to no avail. I guess I don't understand how select and metadata select filters work. And I don't know how to do what I want.


ffmpeg -i "input" -flags +ildct+ilme \
-filter_complex\
[0:v]idet,setparams=color_primaries=smpte170m:color_trc=bt709:colorspace=smpte170m \
,metadata=select:key=lavfi.idet.single.current_frame:value=bff:function=same_str,phase=b[bot];\[bot]metadata=select:key=lavfi.idet.single.current_frame:value=tff:function=same_str\
,fieldmatch=mode=pcn_ub:combmatch=full,decimate[tff];\
[tff]metadata=select:key=lavfi.idet.single.current_frame:value=progressive:function=same_str\
,fps=24000/1001[v1];[v1]select,setfield=tff[v]"



If all of the interlaced content was top field first, I could simply do something similar to this :


ffmpeg -i "input" -flags +ildct+ilme \
-filter:v "dejudder,fps=30000/1001,fieldmatch=mode=pcn_ub:combmatch=full,\
decimate,settb=1/25000,setpts=N/(25*TB),setfield=tff,setparams=field_mode=tff"



Is that possible with ffmpeg ? To just modify a part of video and then modify it whole, including with the previous modification ?