
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (35)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (3549)
-
Failed to build Android FFmpeg using the NDK
6 octobre 2013, par Blaze TamaFirst, I'm a newbie in Ubuntu and Android's Ff-mpeg so please bear with me.
I'm using this library : https://github.com/appunite/AndroidFFmpeg and I'm trying to build it with Ubuntu 13.04 and Android NDK r9.
First, I'm getting a
C compiler cannot create exec
error. After some research (and a little struggling), I noticed that my version is 4.8, while the version inandroid_build.sh
is 4.4.3, so i changed all of those values and the error is gone.After that, I tried to build it again, but the
libffmpeg.so
was not built, which means I failed.I tried to see the config.log (
vo-amwrbenc's
log) and i found those errors :configure:4179: /home/tama/Documents/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/tama/Documents/android-ndk-r9/platforms/android-5/arch-arm/ -c -marm -march=armv5 -marm -march=armv5 conftest.c >&5
conftest.c:61:29: error: expected ';', ',' or ')' before 'text'
/home/tama/Documents/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-ar: conftest.o: No such file or directory
configure:7482: /home/tama/Documents/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/tama/Documents/android-ndk-r9/platforms/android-5/arch-arm/ -std=gnu99 -E -marm -march=armv5 conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
configure:7527: $? = 0
configure:7541: /home/tama/Documents/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/tama/Documents/android-ndk-r9/platforms/android-5/arch-arm/ -std=gnu99 -E -marm -march=armv5 conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directoryAnd more errors which are contained in the C code.
Please kindly download my config.log (less than 50KB) if you need more information : https://www.dropbox.com/s/ptn1gvnik3v341y/config.log
I'm racing with time now, any help is appreciated.
-
ffmpeg grap a image from webcarmera issue from python invoking
5 août 2021, par neil2021I meet an issue that cmd of ffmpeg is working from dos command line but not working from python code with error :
not working from python invoking


cmd :

ffmpeg -f dshow -i video="Webcam C170" -frames 1 target.jpg

is working well from windows dos command line
working well from dos command line
but failed when using os.system(cmd) or os.popen(cmd) or subprocess.popen(cmd) not working from python invoking

I do not know why the ffmpeg is not working while invoking by python code.


The error is as following :


Input #0, dshow, from 'video=Webcam C170':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 fps, 30 tbr, 10000k tbn, 10000k tbc
Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo (native) -> mjpeg (native))
Press [q] to stop, [?] for help
video=Webcam C170: I/O error
[swscaler @ 0000024a6b9a03c0] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'target.jpg' 



I tried to use
os.system(cmd) or subprocess.call(cmd) or os.Popen(cmd) or subprocess.call(cmd)
withcmd = 'ffmpeg -f dshow -i video="Webcam C170" -frames 1 target.jpg' or cmd = ['ffmpeg', '-f', 'dshow', '-i', 'video=Webcam C170', '-frames', '1', target]
all get the error - video=Webcam C170 : I/O error

even if I use
os.system("get_image.bat")
to invoke a dos batch script with contentffmpeg -f dshow -i video="Webcam C170" -frames 1 target.jpg
it still failed with the same errorvideo=Webcam C170: I/O error


It can only succeed when I type this script in dos window with script as following :
ffmpeg -f dshow -i video="Webcam C170" -frames 1 target.jpg


Anyone who have experience for this, please kindly help me out.


-
Automation for Downloading, Encoding, Renaming and Uploading [on hold]
5 février 2019, par Madara UchihaHow do I automate - downloading anime episodes from Torrent > Encode the videos with ffmpeg or gui > rename (with encoder tag) > upload to Google drive ?
Should work 24/7. Need help !