
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (103)
-
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 formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (7215)
-
Mingw-w64 builded FFmpeg doesn't show any usage information
26 octobre 2013, par user1240328First I wanted to modificate ffplay according to my requirments. Then I noticed that original ffplay from my build can't play some video files, but it didn't write any message to console. Then I noticed that ffmpeg also don't write any usage message when I run it without params. But it works. If I run it from terminal it's like running asynchronously ! The terminal just shows next row. I mean it asks for a next command. But the
ffmpeg
process is visible in task manager and it writes the output video file what I had requested !I created following souce file. I have modified the Makefile. So it have built the exe-file works just the same way. I have no idea how it can be.
#include
#include "cmdutils.h"
const char program_name[] = "hello";
const int program_birth_year = 2013;
void show_help_default(const char *opt, const char *arg)
{
printf("zxcvbnm\n");
}
int main(int argc, char **argv)
{
printf("1234567890\n");
return 0;
}I want to prevent this behavior.
I want to make printf working in traditional manner.
How I build FFmpeg :
PKG_CONFIG_PATH=/home/developer/workspace/MinGW32fs/lib/pkgconfig/ \
SDL_CONFIG=/home/developer/workspace/MinGW32fs/bin/sdl-config \
./configure \
--prefix=/home/developer/workspace/MinGW32fs \
--extra-ldflags="-L/home/developer/workspace/MinGW32fs/lib" \
--extra-cflags="-I/home/developer/workspace/MinGW32fs/include" \
--arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- \
--pkg-config=pkg-config --enable-libtheora --enable-libvorbis --enable-libvpx \
--enable-outdev=sdl --enable-shared --disable-static \
--disable-doc --disable-manpages --disable-podpages
make -
How to build ffmpeg v6.0 with filter overlay_cuda ? [closed]
6 février 2024, par yangMy system version is ubuntu 22.04 LTS.


I build ffmpeg v6.0 for tesla T4, but when I run


ffmpeg -h filter=overlay_cuda



the terminal output


Unknown filter 'overlay_cuda'.



then I tried to run


ffmpeg \
 -hide_banner -y \
 -hwaccel cuda -hwaccel_output_format cuda \
 -i input \
 -filter_complex "[0:v:0]hwupload_cuda[main];[0:v:0]scale_npp=100:100,hwupload_cuda[logo];[main][logo]overlay_cuda[output]" \
 -map "[output]" -c:v h264_nvenc \
 output



the terminal output


[AVFilterGraph @ 0x561092fca380] No such filter: 'overlay_cuda'
Error initializing complex filters.
Filter not found



Here is my build steps.


1. install nvidia driver and cuda tool kit


wget https://developer.download.nvidia.com/compute/cuda/12.0.0/local_installers/cuda_12.0.0_525.60.13_linux.run
sudo sh cuda_12.0.0_525.60.13_linux.run 



2. download ffmpeg v6.0 source code and nv-codec-headers


git clone -b release/6.0 https://git.ffmpeg.org/ffmpeg.git ffmpeg_cuda_6.0/
git clone -b sdk/12.0 https://git.videolan.org/git/ffmpeg/nv-codec-headers.git nv-codec-headers-12.0/
cd nv-codec-headers
make install



3. ffmpeg configure and build


PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" \
./configure \
--enable-cuda \
--enable-cuvid \
--enable-nvdec \
--enable-nvenc \
--enable-nonfree \
--enable-libnpp \
--nvcc='/usr/local/cuda/bin/nvcc' \
--extra-cflags='-I/usr/local/cuda/include' \
--extra-ldflags='-L/usr/local/cuda/lib64' \
--enable-opencl \
--enable-shared \
--enable-gpl \
--enable-nonfree

make -j 8
make install



4. export library


export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64



-
python3.6 ffmpeg call MacOSX
8 avril 2017, par AwazleonI’m using Python 3.6 on MacOSX. I would like to use FFmpeg as Python sub-process. Everything works fine when using the OSX embedded Python 2.7 but using 3.6, this doesn’t work.
I’ve got an error message because it doesn’t find FFmepg.raise FFExecutableNotFoundError("Executable ’0’ not found".format(self.executable))
ffmpy.FFExecutableNotFoundError : Executable ’ffmpeg’ not foundAs you can se I tried with ffmpy but I also got the same result by invoking FFmpeg directly
from subprocess import call
call(["ffmpeg"])
Traceback (most recent call last) :
File "", line 1, in
call(["ffmpeg"])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p :
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 707, in init
restore_signals, start_new_session)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1326, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError : [Errno 2] No such file or directory : ’ffmpeg’I installed the FFmpeg lib. by using Brew through Terminal. It was well installed but only visible by Python 2.7, not 3.6.
Calling it from terminal is working :
iMac-de-xxxxx : utilisateur$ ffmpeg
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration : —prefix=/usr/local/Cellar/ffmpeg/3.2.4 —enable-shared —enable-pthreads —enable-gpl —enable-version3 —enable-hardcoded-tables —enable-avresample —cc=clang —host-cflags= —host-ldflags= —enable-libmp3lame —enable-libx264 —enable-libxvid —enable-opencl —disable-lzma —enable-vdaI’m not (yet) a Linux specialist but I think that a path is missing for 3.6 to find FFmpeg.
Any clue to solve this annoying issue ?