
Recherche avancée
Autres articles (52)
-
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 -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (9544)
-
FFMPEG Add thumbnail to video [duplicate]
18 mai 2020, par james-normanadd a thumbnail to my video file. I have the code that I have compiled with the help of other people from StackOverflow and I have one bit left to finish it off and that is to add a line of code to add video thumbnail.



you will see some weird text in command like targggget these are words that get replaced by the software so ignore it.

app.path\ffmpeg gets replaced with file-path/ffmpeg

targgggett\targ3et.mp4 file-path/xx.mp4

targgggett\targetimgee - output is example C :\Users\username\Desktop\vidz\New folder\images\demo.png


"app.path\ffmpeg" -y -i "targgggett\targ3et.mp4" -loop 1 -framerate 30000/1001 -t 5 -i "targgggett\targetimgee" -t 0.5 -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -filter_complex "[0:a]atempo=1.0,pan=stereo|c0code>



i want to add a video thumbnail using targgggett\targetimgee and set video thumbnail only



"app.path\ffmpeg" -y -i "targgggett\targ3et.mp4" -loop 1 -framerate 30000/1001 -t 5 -i "targgggett\targetimgee" -t 0.5 -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -filter_complex "[0:a]atempo=1.0,pan=stereo|c0code>



i get error



ffmpeg version git-2020-04-13-59e3a9
a Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9.3.1 (GCC) 20200328
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --
enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx 
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-li
bspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
 libavutil 
 56. 42.102 / 56. 42.102
 libavcodec 58. 78.102 / 58. 78.102
 libavformat 58. 42.100 / 58. 42.100
 libavdevice 58. 9.103 / 58. 9.103
 libavfilter 7. 77.101 / 7. 77.101
 libswscale 5. 6.101 / 5. 6.101
 libswresample 
 3. 6.100 / 3. 6.100
 libpostproc 55. 6.100 / 55. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\user\Desktop\vidz\New folder\55.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42

 creation_time : 2020-03-26T08:17:13.000000Z
 Duration: 00:04:29.12, start: 0.000000, bitrate: 1402 kb/s
 Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 1270 kb/s, 29.97 fps, 29.97 tbr,
 30k tbn, 59.94 tbc (default)
 Metadata:
 creation_time : 2020-03-26T08:17:13.000000Z
 handler_name : ISO Media file produced by Google Inc. Created on: 03/26/2020.
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, 
stereo, fltp, 127 kb/s (default)
 Metadata:
 creation_time : 2020-03-26T08:17:13.000000Z
 handler_name : ISO Media file produced by Google Inc. Created on: 03/26/2020.
Input #1, image2, from 'C:\Users\user\Desktop\vidz\New folder\\ima
ges\20191002_132728.jpg':
 Duration: 00:00:00.03, start: 0.000000, bitrate: 1223868 kb/s
 Stream #1:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 4032x3024, 29.97 tbr, 29.97 tbn, 29.97 tbc
Input #2, lavfi, from 'anullsrc=channel
_layout=stereo:sample_rate=44100':
 Duration: N/A, start: 0.000000, bitrate: 705 kb/s
 Stream #2:0: Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s
Option b:v (video bitrate (please use -b:v)) cannot be applied to input url C:\Users\user\Desktop\vidz\
New folder\\images\20191002_132728.jpg -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
Error parsing options for input file C:\Users\user\Desktop\vidz\New folder\\images\20191002_
132728.jpg.
Error opening input files: Invalid argument



-
error after upgrading to ffmpeg n4.3.1 version
19 avril 2021, par al pacinoI upgraded to ffmpeg n4.3.1 version using tar file. and then used
./configure
and then usedmake
andsudo install make
to install files.

but after the installation, I am getting the following error -


ffmpeg -i 'https://player.vimeo.com/external/202414841.sd.mp4?s=4f9ef25c7c52a64a5788afb5181a51d0f31f2f43&profile_id=164' -vf scale=480:360 -c:v libvpx-vp9 -crf 30 -b:v 0 -b:a 128k -c:a libopus sample_created_video.webm
 ffmpeg version 8b3f71b4 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
 configuration: 
 libavutil 56. 51.100 / 56. 51.100
 libavcodec 58. 91.100 / 58. 91.100
 libavformat 58. 45.100 / 58. 45.100
 libavdevice 58. 10.100 / 58. 10.100
 libavfilter 7. 85.100 / 7. 85.100
 libswscale 5. 7.100 / 5. 7.100
 libswresample 3. 7.100 / 3. 7.100
 Unrecognized option 'crf'.
 Error splitting the argument list: Option not found



I also tried to use
sudo snap install fmmpeg
but I was getting error-

[Errno 2] No such file or directory: 
 and also permission denied for sample_created_video.webm



I don't know what is causing the problem. Is there any way to fix this issue or to upgrade to 4.3.1 using a different method ?


-
ffmpeg-normalize exits with OSError : [WinError 193] %1 is not a valid Win32 application
1er septembre 2021, par Moldy1I have a large number of files I want to normalize the volume with a simple method using a basic loop.


When trying to use ffmpeg-normalize the application exits with the error. I searched the error on-line but I can't find any issue similar to mine. I thought it may be a 'path' or file type association problem but they look ok.


Can anyone give me an explanation for this error and a possible fix for it please ?


D:\Test>ffmpeg-normalize.exe in.mkv -o out.mkv
Traceback (most recent call last):
 File "c:\users\les\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
 return _run_code(code, main_globals, None,
 File "c:\users\les\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
 exec(code, run_globals)
 File "C:\Users\Les\AppData\Local\Programs\Python\Python39\Scripts\ffmpeg-normalize.exe\__main__.py", line 7, in <module>
 File "c:\users\les\appdata\local\programs\python\python39\lib\site-packages\ffmpeg_normalize\__main__.py", line 409, in main
 ffmpeg_normalize = FFmpegNormalize(
 File "c:\users\les\appdata\local\programs\python\python39\lib\site-packages\ffmpeg_normalize\_ffmpeg_normalize.py", line 68, in __init__
 self.has_loudnorm_capabilities = ffmpeg_has_loudnorm()
 File "c:\users\les\appdata\local\programs\python\python39\lib\site-packages\ffmpeg_normalize\_cmd_utils.py", line 185, in ffmpeg_has_loudnorm
 cmd_runner.run_command()
 File "c:\users\les\appdata\local\programs\python\python39\lib\site-packages\ffmpeg_normalize\_cmd_utils.py", line 101, in run_command
 p = subprocess.Popen(
 File "c:\users\les\appdata\local\programs\python\python39\lib\subprocess.py", line 947, in __init__
 self._execute_child(args, executable, preexec_fn, close_fds,
 File "c:\users\les\appdata\local\programs\python\python39\lib\subprocess.py", line 1416, in _execute_child
 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1 is not a valid Win32 application

D:\Test>path
PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Calibre2\;C:\Program Files (x86)\Calibre2\;C:\Users\Les\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\Les\AppData\Local\Programs\Python\Python39\;C:\Users\Les\AppData\Local\Microsoft\WindowsApps;D:\MABS\local64\bin-video;C:\Program Files (x86)\sox-14-4-2

D:\Test>ftype python.file
python.file="C:\Users\Les\AppData\Local\Programs\Python\Python39\python.exe" "%1"

D:\Test>python.exe
Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32

ffmpeg -version
ffmpeg version N-100483-g728b83a7c4-gd67c6c7f6f+4 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.2.0 (Rev6, Built by MSYS2 project)



 D:\Test>ffmpeg-normalize --version
 ffmpeg-normalize v1.22.1
</module>