
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Sur d’autres sites (2029)
-
Try to execute ffmpeg in python - subtitles error
3 septembre 2022, par user103162I try to exectute :
./ffmpeg.exe -i "video.mkv" -vf subtitles="video.mkv" "video.mp4"
This command works fine


But not in my python code



from pathlib import Path
import subprocess
import os


ffmpeg = r"D:\Archives\ffmpeg.exe"
os.chdir(r"D:\temp\video")
videos = Path(".")

for file_mkv in videos.glob("*.mkv"):
 file_mp4 = file_mkv.with_suffix(".mp4")
 subprocess.run([ffmpeg, "-i", file_mkv, "-vf", f'subtitles="{file_mkv}"', file_mp4])




Error :
[Parsed_subtitles_0 @ 0000020cb26222c0] Unable to open "video.mkv"
[AVFilterGraph @ 0000020cb715a380] Error initializing filter 'subtitles' with args '"video.mkv"'
Error reinitializing filters !
Failed to inject frame into filter network : Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed !


-
x86 : hpeldsp : kill hpeldsp_mmx.c
22 mai 2014, par Christophe Gisquetx86 : hpeldsp : kill hpeldsp_mmx.c
before :
1987 decicycles in 8_x2, 262121 runs, 23 skipsafter :
1902 decicycles in 8_x2, 262112 runs, 32 skipsSigned-off-by : Michael Niedermayer <michaelni@gmx.at>
-
mov : Export geotag metadata fields
3 juin 2014, par Martin Storsjömov : Export geotag metadata fields
The ’ ?xyz’ form is used by android devices (and according to apple
mailing list archives, also by older iOS devices). The ’loci’ field
(defined in 3GPP 26.244) is used by recent iOS devices.Even though the loci field can contain an altitude, it was plain
0 in my sample. Just export longitude and latitude, in a string
format matching the one used by the ’ ?xyz’ metadata field.Signed-off-by : Martin Storsjö <martin@martin.st>