
Recherche avancée
Autres articles (105)
-
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 (...) -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (10330)
-
FFmpeg : Encode x264 with AMD GPU on Windows ?
20 septembre 2023, par ZeroTekI am currently trying to record a Video on my Lenovo Laptop with its Built-In Webcam using FFmpeg on Windows 10. One of my goals is to keep the CPU Usage as low as possible, that's why i want to push the h264 encoding to the GPU. 
Now it gets a bit tricky here with my Laptop. Because it uses two GPUs. The first GPU is a Intel HD 5500 Graphics Unit as Part of the CPU. This one is most likly used for non-demanding Applications like office etc. to save Energy. The other one is a AMD R5 M330 that will be used for graphic intense applications like gaming.



Currently, i am using the following command to encode the Webcam Stream on the Intel HD GPU :



ffmpeg -f dshow -vcodec mjpeg -video_size 1280x720 -framerate 30 video="Lenovo EasyCamera":audio="Mikrofon (Realtek High Definition Audio)" -c:v h264_qsv -g 60 -q 28 -look_ahead 0 -preset:v faster -c:a aac -q:a 0.6 -r 30 output.mp4




This does work so far but it seems this GPU does not have enough Power to keep up with the framerate on higher bitrates or with a high amount of i-frames. The Video starts lacking and skipping frames. If i am using CPU encoding everything works smooth.



Now that my Laptop got that second AMD GPU with a lot more Power it would be a nice Try to encode on that one, but i can't find any information about how to encode on AMD Hardware on Windows 10. So my question is : How does the ffmpeg command look like to use AMD Hardware for h264 encoding ?


-
cmake build error with libswresample, works fine with clang
19 août 2018, par Dan GordonI’m building an FFmpeg project with CLion which uses cmake to compile the code. Everything has been working great until I started to use the libswresample library. For some reason, cmake isn’t seeing the dylib and won’t build the code.
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/user/CLionProjects/IC4D/cmake-build-debug --target all -- -j 4
[ 50%] Linking C executable IC4D
Undefined symbols for architecture x86_64:
"_swr_alloc_set_opts", referenced from:
_audio_decode_frame in main.c.o
"_swr_convert", referenced from:
_audio_decode_frame in main.c.o
"_swr_free", referenced from:
_audio_decode_frame in main.c.o
"_swr_init", referenced from:
_audio_decode_frame in main.c.o
"_swr_set_compensation", referenced from:
_audio_decode_frame in main.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [IC4D] Error 1
make[1]: *** [CMakeFiles/IC4D.dir/all] Error 2
make: *** [all] Error 2But if I run this clang code, it compiles just fine
clang -I/usr/local/include -L/usr/local/lib -lavcodec -lavcodec -lswscale -lavformat -lswresample -lSDL2 -lavutil -o IC4D2 ../main.c
Here’s my CMakeList.txt file :
cmake_minimum_required(VERSION 3.10)
project(IC4D C)
set(CMAKE_C_STANDARD 99)
include_directories( /Users/user/CLionProjects/IC4D/include/ )
link_directories( /Users/user/CLionProjects/IC4D/lib/ )
find_path(AVDEVICE_INCLUDE_DIR include/libavdevice/avdevice.h)
find_library(AVDEVICE_LIBRARY lib/libavdevice.58.dylib)
find_path(AVFORMAT_INCLUDE_DIR include/libavformat/avformat.h)
find_library(AVFORMAT_LIBRARY lib/libavformat.58.dylib)
find_path(AVCODEC_INCLUDE_DIR include/libavcodec/avcodec.h)
find_library(AVCODEC_LIBRARY lib/libavcodec.58.dylib)
find_path(SWSCALE_INCLUDE_DIR include/libswscale/swscale.h)
find_library(SWSCALE_LIBRARY lib/libswscale.5.dylib)
find_path(AVUTIL_INCLUDE_DIR include/libavutil/avutil.h)
find_library(AVUTIL_LIBRARY lib/libavutil.56.dylib)
find_path(SWRESAMPLE_INCLUDE_DIR include/libswresample/swresample.h)
find_library(SWRESAMPLE_LIBRARY lib/libswresample.3.dylib)
find_package(SDL2 REQUIRED)
add_executable(IC4D main.c)
target_include_directories(IC4D PRIVATE ${SDL2_INCLUDE_DIRS} ${AVDEVICE_INCLUDE_DIR} ${AVFORMAT_INCLUDE_DIR} ${AVCODEC_INCLUDE_DIR} ${SWSCALE_INCLUDE_DIR} ${AVUTIL_INCLUDE_DIR} ${SWRESAMPLE_INCLUDE_DIR})
target_link_libraries(IC4D PRIVATE ${SDL2_LIBRARIES} ${AVDEVICE_LIBRARY} ${AVFORMAT_LIBRARY} ${AVCODEC_LIBRARY} ${SWSCALE_LIBRARY} ${AVUTIL_LIBRARY} ${SWRESAMPLE_LIBRARY})What am I doing wrong with cmake ?
Thanks
-
flac and metaflac : Don’t always call setlocale() in Windows.
19 juillet 2014, par Erik de Castro Lopoflac and metaflac : Don’t always call setlocale() in Windows.
Windows (MSVC, MinGW) versions of setlocale don’t care about LC_*
environment variables. For example, flac cannot pass the test for
— until and —skip options the script calls it with —skip=0:01.1001
and it expects decimal comma (—skip=0:01,1001) on some locales.Solve this (on Windows) by calling setlocale(LC_ALL, "") if some
LC_* variable is set to "C".Patch-from : lvqcl <lvqcl.mail@gmail.com>