
Recherche avancée
Médias (1)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (67)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (9109)
-
After using ffmpeg to remove some streams in mkv file, it takes much longer to open the media file in potplayer in Windows
31 mars 2024, par r neIt is well known that ffmpeg command line can be used to remove some streams in mkv or mp4 files, and I have no problem in doing so.


ffmpeg -i input.mp4 -map 0 -map -0:a:3 -map -0:a:6 -c copy output.mp4



The only issue I meet sometimes is, the result media files in mkv or mp4 are much much slower to be opened by player. I cannot figure out the real reason and bypass it.


Any hint or help on solving this issue ? Thanks !


-
Python - second subprocess won't open if sys.argv containts "&" character
3 juin 2015, par HyperionI’ve got a Python script which download a video using
youtube-dl
and then extract frames from it usingffmpeg
. This is the code :def DownloadVideo():
output_file = "/Users/francesco/Desktop/SOURCE/%(title)s-%(id)s.%(ext)s"
check_call(["youtube-dl","--output", output_file, "--restrict-filenames", "-f", "best", sys.argv[1]])
def ConvertVideo(video):
DEST = "/Users/francesco/Desktop/OUTPUT"
SOURCE = "/Users/francesco/Desktop/SOURCE"
ffmpeg_path = "/Users/francesco/Desktop/ffmpeg/ffmpeg"
video_path = SOURCE + "/" + video
dest_path = DEST + "/" + os.path.splitext(video)[0] + "-%d.png"
check_call([ffmpeg_path, "-v", "0", "-i", video_path, "-f", "image2", dest_path])
def Main():
DownloadVideo()
for video in os.listdir("/Users/francesco/Desktop/SOURCE"):
ConvertVideo(video)I run the command
python myscript.py myvideolink
and everything goes fine in the download process, but the ConvertVideo doesn’t start, it just get frozen for a couple of seconds and then the program exits.If I try to run the same command skipping the
DownloadVideo()
(with the video already downloaded in the folder) it doens’t work too, but if I usepython myscript.py
without the argv[1], the ffmpeg process works ! Why this happens ?Update : I’ve tried to remove the
-v 0
option in ffmpeg to see what actually happens, ffmpeg process starts, but get frozen like this :ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100Update 2 : Turns out that this happens only when the argument (which is a link) contains the character "&". Anyone knows why this is a problem for ffmpeg ? He’s not neither using the arg variable...
-
Python - second subprocess won't open if I use sys.argv
3 juin 2015, par HyperionI’ve got a Python script which download a video using
youtube-dl
and then extract frames from it usingffmpeg
. This is the code :def DownloadVideo():
output_file = "/Users/francesco/Desktop/SOURCE/%(title)s-%(id)s.%(ext)s"
check_call(["youtube-dl","--output", output_file, "--restrict-filenames", "-f", "best", sys.argv[1]])
def ConvertVideo(video):
DEST = "/Users/francesco/Desktop/OUTPUT"
SOURCE = "/Users/francesco/Desktop/SOURCE"
ffmpeg_path = "/Users/francesco/Desktop/ffmpeg/ffmpeg"
video_path = SOURCE + "/" + video
dest_path = DEST + "/" + os.path.splitext(video)[0] + "-%d.png"
check_call([ffmpeg_path, "-v", "0", "-i", video_path, "-f", "image2", dest_path])
def Main():
DownloadVideo()
for video in os.listdir("/Users/francesco/Desktop/SOURCE"):
ConvertVideo(video)I run the command
python myscript.py myvideolink
and everything goes fine in the download process, but the ConvertVideo doesn’t start, it just get frozen for a couple of seconds and then the program exits.If I try to run the same command skipping the
DownloadVideo()
(with the video already downloaded in the folder) it doens’t work too, but if I usepython myscript.py
without the argv[1], the ffmpeg process works ! Why this happens ?Update : I’ve tried to remove the
-v 0
option in ffmpeg to see what actually happens, ffmpeg process starts, but get frozen like this :ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100Update 2 : This code seems not to work too, so I deduce is an ffmpeg problem with sys.args ?
import subprocess
import os
import sys
variable = sys.argv[1]
def ConvertVideo(video):
DEST = '/Users/francesco/Desktop/OUTPUT'
SOURCE = '/Users/francesco/Desktop/SOURCE'
ffmpeg_path = '/Users/francesco/Desktop/PYVIDID/ffmpeg/ffmpeg'
video_path = SOURCE + '/' + video
dest_path = DEST + '/' + os.path.splitext(video)[0] + '-%d.png'
subprocess.check_call(['ffmpeg', '-i', video_path,'-r', '1', '-f', 'image2', dest_path])
def Main():
#DownloadVideo()
for video in os.listdir('/Users/francesco/Desktop/SOURCE'):
if not video.startswith("."):
ConvertVideo(video)I’m not even using the argv[1] but it still got stuck.