
Recherche avancée
Autres articles (4)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (2686)
-
batch scripting help passing arguments to ffmpeg
20 octobre 2022, par notsolowkiI need to join some videos parts together into 1 part. Im working from a folder called series. series contains multiple subfolder 1,2,3,4 etc that represent video number. each sub folder contains the parts to be joined together.


I made a batch script that seems to be able to make a list of sub directories and make a list of sub directory contents,


however run i run the script and try to pass the information from "mylist" line by line to ffmpeg it dont seem to work it complains invalid input information detected.


I intended for the batch script to start at folder 1 and pass the file names from "mylist.txt" to ffmpeg input 1 by one untill the last folder in folderlist.txt is processed.


What am i doing wrong. how can i make this script work ?


:: Create File List
for /D %%G in ("%cd%\*")DO ( 

for %%i in ("%%~nxG"\*.mp4) do echo file '%%i'>> mylist.txt
echo %%~nxG >> folderlist.txt

)

:: Concatenate Files
::for /F "delims=" %%a in (mylist.txt) do (
ffmpeg -f concat -safe 0 -i %%a -c copy %%a.mp4
::)
pause
@echo off


pause



the error i get when i run it from ffmpeg after running the batch is,


C:\Users\Laptop\Desktop\t10>(ffmpeg -f concat -safe 0 -i "file '4\Tosh.0 April 17 2018 10 1004 April 17 2018 - Ticket Girl Act 1.mp4'" -c copy file '4\Tosh.0 April 17 2018 10 1004 April 17 2018 - Ticket Girl Act 1.mp4'.mp4 )
ffmpeg version 2022-10-06-git-2c2aaa5bd0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
 built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 57. 39.100 / 57. 39.100
 libavcodec 59. 50.100 / 59. 50.100
 libavformat 59. 34.100 / 59. 34.100
 libavdevice 59. 8.101 / 59. 8.101
 libavfilter 8. 49.101 / 8. 49.101
 libswscale 6. 8.112 / 6. 8.112
 libswresample 4. 9.100 / 4. 9.100
 libpostproc 56. 7.100 / 56. 7.100
file '4\Tosh.0 April 17 2018 10 1004 April 17 2018 - Ticket Girl Act 1.mp4': No such file or directory



-
How do I make FFMPEG use localized strftime with drawtext ?
3 décembre 2022, par Randy MichnoviczI'm trying to write a script to use FFMPEG to draw localized timestamps on a video, but I'm not having much luck.


I can confirm I have the locale
fr_FR.UTF-8
installed on my system by running the following command :LC_ALL=fr_FR.UTF-8 date


However, the following command produces a 4 second video beginning with the string "Monday 28 November 2022 19:00:47 PST" on both my Mac and an Alpine Linux docker container :


LC_ALL=fr_FR.UTF-8 ffmpeg -hide_banner -f lavfi -i color=size=1024x768:rate=25:color=black -c:v libx264 -c:a aac -filter_complex drawtext=expansion=normal:fontsize=18:fontcolor=white:box=1:boxcolor=black@0.5:text='%{pts\\:localtime\\:1669690847\\:%A %-d %B %Y %X %Z}' -t 4 -y out.mp4


Does anyone know how to make it create strings with non-English text ?


-
FFmpeg hevc_nvenc encoder B Frame problem
16 mai 2023, par ramondqI'm using the latest FFmpeg windows Build (2022-12-02 12:44) from BtbN.
I'm trying to encode a video into HEVC codec using hevc_nvenc encoder. But it says
[hevc_nvenc @ 00000263983f4280] B frames as references are not supported
. Cause my GPU GTX1060 (GP106) doesn't support hardware accelerate encode HEVC of B frames.
command line

I tried to disable the B frames by adding the parameter
-bf 0
, but it doesn't work.
Then I tried to use the latest build from gyan.dev and it is the same. But when I tried to use an older build (2021-02-28 12:32) of BtbN, it doesn't have the problem.
Is there a workaround to bypass this B frame problem ? Cause I don't want to switch to an older build. Thanks.