Recherche avancée

Médias (91)

Autres articles (87)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP 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 (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (11876)

  • ffmpeg-normalize exits with OSError : [WinError 193] %1 is not a valid Win32 application

    1er septembre 2021, par Moldy1

    I 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&#xA;Traceback (most recent call last):&#xA;  File "c:\users\les\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main&#xA;    return _run_code(code, main_globals, None,&#xA;  File "c:\users\les\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code&#xA;    exec(code, run_globals)&#xA;  File "C:\Users\Les\AppData\Local\Programs\Python\Python39\Scripts\ffmpeg-normalize.exe\__main__.py", line 7, in <module>&#xA;  File "c:\users\les\appdata\local\programs\python\python39\lib\site-packages\ffmpeg_normalize\__main__.py", line 409, in main&#xA;    ffmpeg_normalize = FFmpegNormalize(&#xA;  File "c:\users\les\appdata\local\programs\python\python39\lib\site-packages\ffmpeg_normalize\_ffmpeg_normalize.py", line 68, in __init__&#xA;    self.has_loudnorm_capabilities = ffmpeg_has_loudnorm()&#xA;  File "c:\users\les\appdata\local\programs\python\python39\lib\site-packages\ffmpeg_normalize\_cmd_utils.py", line 185, in ffmpeg_has_loudnorm&#xA;    cmd_runner.run_command()&#xA;  File "c:\users\les\appdata\local\programs\python\python39\lib\site-packages\ffmpeg_normalize\_cmd_utils.py", line 101, in run_command&#xA;    p = subprocess.Popen(&#xA;  File "c:\users\les\appdata\local\programs\python\python39\lib\subprocess.py", line 947, in __init__&#xA;    self._execute_child(args, executable, preexec_fn, close_fds,&#xA;  File "c:\users\les\appdata\local\programs\python\python39\lib\subprocess.py", line 1416, in _execute_child&#xA;    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,&#xA;OSError: [WinError 193] %1 is not a valid Win32 application&#xA;&#xA;D:\Test>path&#xA;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&#xA;&#xA;D:\Test>ftype python.file&#xA;python.file="C:\Users\Les\AppData\Local\Programs\Python\Python39\python.exe" "%1"&#xA;&#xA;D:\Test>python.exe&#xA;Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec  7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32&#xA;&#xA;ffmpeg -version&#xA;ffmpeg version N-100483-g728b83a7c4-gd67c6c7f6f&#x2B;4 Copyright (c) 2000-2020 the FFmpeg developers&#xA;built with gcc 10.2.0 (Rev6, Built by MSYS2 project)&#xA;&#xA;&#xA;&#xA; D:\Test>ffmpeg-normalize --version&#xA;        ffmpeg-normalize v1.22.1&#xA;</module>

    &#xA;

  • error after upgrading to ffmpeg n4.3.1 version

    19 avril 2021, par al pacino

    I upgraded to ffmpeg n4.3.1 version using tar file. and then used ./configure and then used make and sudo install make to install files.

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

    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 ?

    &#xA;

  • FFMPEG Add thumbnail to video [duplicate]

    18 mai 2020, par james-norman

    add 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.

    &#xA;&#xA;

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

    &#xA;app.path\ffmpeg gets replaced with file-path/ffmpeg
    &#xA;targgggett\targ3et.mp4 file-path/xx.mp4
    &#xA;targgggett\targetimgee - output is example C :\Users\username\Desktop\vidz\New folder\images\demo.png

    &#xA;&#xA;

    "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>

    &#xA;&#xA;

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

    &#xA;&#xA;

    "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>

    &#xA;&#xA;

    i get error

    &#xA;&#xA;

    ffmpeg version git-2020-04-13-59e3a9&#xA;a Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200328&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --&#xA;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 &#xA;--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&#xA;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&#xA;  libavutil &#xA;     56. 42.102 / 56. 42.102&#xA;  libavcodec     58. 78.102 / 58. 78.102&#xA;  libavformat    58. 42.100 / 58. 42.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 77.101 /  7. 77.101&#xA;  libswscale      5.  6.101 /  5.  6.101&#xA;  libswresample &#xA;  3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;C:\Users\user\Desktop\vidz\New folder\55.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: isommp42&#xA;&#xA;    creation_time   : 2020-03-26T08:17:13.000000Z&#xA;  Duration: 00:04:29.12, start: 0.000000, bitrate: 1402 kb/s&#xA;    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,&#xA; 30k tbn, 59.94 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-03-26T08:17:13.000000Z&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 03/26/2020.&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, &#xA;stereo, fltp, 127 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-03-26T08:17:13.000000Z&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 03/26/2020.&#xA;Input #1, image2, from &#x27;C:\Users\user\Desktop\vidz\New folder\\ima&#xA;ges\20191002_132728.jpg&#x27;:&#xA;  Duration: 00:00:00.03, start: 0.000000, bitrate: 1223868 kb/s&#xA;    Stream #1:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 4032x3024, 29.97 tbr, 29.97 tbn, 29.97 tbc&#xA;Input #2, lavfi, from &#x27;anullsrc=channel&#xA;_layout=stereo:sample_rate=44100&#x27;:&#xA;  Duration: N/A, start: 0.000000, bitrate: 705 kb/s&#xA;    Stream #2:0: Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s&#xA;Option b:v (video bitrate (please use -b:v)) cannot be applied to input url C:\Users\user\Desktop\vidz\&#xA;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.&#xA;Error parsing options for input file C:\Users\user\Desktop\vidz\New folder\\images\20191002_&#xA;132728.jpg.&#xA;Error opening input files: Invalid argument&#xA;

    &#xA;