
Recherche avancée
Autres articles (58)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (8778)
-
How to create a blank mp3 using ffmpeg ?
11 mai 2017, par Vrushank UpadhyayI have built ffmpeg for android by using android NDK. I am using cocos game-engine to compile and run the project. I want to create a blank mp3 of lets say 20 seconds when a button is pressed. I have tried almost everything. The following command generates an output file but it is of 0 bytes.
ffmpeg -f lavfi -i anullsrc=r=48000 -t 20 -codec copy /sdcard/output.mp3
My ffmpeg configuration is :
> ./configure \
> --prefix=$PREFIX \
> --disable-network \
> --disable-doc \
> --disable-ffplay \
> --disable-ffprobe \
> --disable-ffserver \
> --disable-symver \
> --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
> --target-os=linux \
> --arch=arm \
> --enable-cross-compile \
> --sysroot=$SYSROOT \
> --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
> --extra-ldflags="$ADDI_LDFLAGS" \Any help would be appreciated. I am testing this on an android phone. I have built static libraries for ffmpeg and they are linked to the project.
-
FFmpeg stream dynamic png
13 avril 2017, par AzarusI would like to know if its possible to stream a png or any kind of image using ffmpeg. I would like to generate the image contiously using nodejs that updates every 10 seconds. I would like to display game stats with this in a corner and mix it with some background music or pre recorded commentary on it. Additionaly i would like to mix a video and the image should act like an overlay.
I am also not sure if using a transparent png image its possible to do
I couldn’t get my head around doing the mixing with ffmpeg and its looks very complicated so i would like to get some help on it.
I have video files stored in a folder that i would like to continously stream and mix different music and an image on it. I would like to have it all continously working without stopping the stream.
Is it possible with ffmpeg cli on linux or i cant avoid using a desktop windows pc for such thing ?
-
How to route FFMPEG screen capture output to Python for OpenCV processing ?
16 décembre 2016, par BitaniI am trying to capture the screen of a Mac, specifically game windows, and process them in real-time using OpenCV. I currently have it working with pyscreenshot and a conversion to a numpy array, but the max framerate of this method, on any system, appears to be around 10 FPS.
Obviously with games it would be very beneficial to be able to process 30+ FPS, and so I found that FFMPEG could record the screen using this command :
ffmpeg -y -f avfoundation -capture_cursor 1 -i "1" -pix_fmt yuv420p -vf scale=1024:-1 -r 30 out.mp4
That will write the screen to a file, out.mp4, with a width of 1024 and a frame rate of 30 FPS. Works perfectly ! But now I’ve searched and searched and searched for a method to route FFMPEG’s output to Python and.. no luck.
If anybody knows of a way to do this I would be greatly appreciative, as I’ve been trying to solve this for quite a while !
Thanks, and happy holidays !