Recherche avancée

Médias (91)

Autres articles (69)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (6455)

  • ffmpeg issue after adding background audio

    9 avril 2021, par spicy

    So I have an issue to which I cannot find an answer. I have a video which is 7min 38sec long after concat. When I want to add background audio to this video it cuts off the last 7sec of the original video. I cannot find the reason.

    &#xA;

    If anyone could help me in any way, it would be amazing because I have been troubleshooting this past 3 days.

    &#xA;

    My FFmpeg version is ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers.

    &#xA;

    For concat I use this : FFmpeg -f concat -safe 0 -i txtfile.txt -c copy -ac 2 output.mp4

    &#xA;

    For adding background audio I use this : ffmpeg -i output.mp4 -i background.mp3 -c:v copy -filter_complex "[0:a]aformat=fltp:44100:stereo,apad[0a];[1]aformat=fltp:44100:stereo,volume=0.2[1a];[0a][1a]amerge[a]" -map 0:v -map "[a]" -ac 2 -shortest output_with_background.mp4

    &#xA;

    And the console output while doing its stuff is :

    &#xA;

    ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200523&#xA;  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-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-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0000024baee72440] Auto-inserting h264_mp4toannexb bitstream filter&#xA;Input #0, concat, from &#x27;C:\Users\shooey\Desktop\junky\Content\07-04-2021\videos.txt&#x27;:&#xA;  Duration: N/A, start: -0.023220, bitrate: 18916 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 18861 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 54 kb/s&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;File &#x27;C:\Users\shooey\Desktop\junky\Content\07-04-2021\output.mp4&#x27; already exists. Overwrite ? [y/N] y&#xA;Output #0, mp4, to &#x27;C:\Users\shooey\Desktop\junky\Content\07-04-2021\output.mp4&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf58.29.100&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 18861 kb/s, 30 fps, 30 tbr, 15360 tbn, 15360 tbc&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 54 kb/s&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:1 -> #0:1 (copy)&#xA;Press [q] to stop, [?] for help&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0000024baee72440] Auto-inserting h264_mp4toannexb bitstream filter&#xA;    Last message repeated 5 times&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0000024baeeec180] Auto-inserting h264_mp4toannexb bitstream filter&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0000024baee72440] Auto-inserting h264_mp4toannexb bitstream filter&#xA;    Last message repeated 14 times&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0000024baee72440] Auto-inserting h264_mp4toannexb bitstream filter&#xA;    Last message repeated 20 times&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0000024baee72440] Auto-inserting h264_mp4toannexb bitstream filter&#xA;    Last message repeated 7 times&#xA;frame=   52 fps= 42 q=-1.0 Lsize=    7838kB time=00:07:38.82 bitrate= 139.9kbits/s speed= 374x&#xA;video:4802kB audio:2956kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.044608%&#xA;ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200523&#xA;  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-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-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;C:\Users\shooey\Desktop\junky\Content\07-04-2021\output.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.29.100&#xA;  Duration: 00:07:38.85, start: 0.000000, bitrate: 139 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 87 kb/s, 0.12 fps, 30 tbr, 15360 tbn, 60 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 52 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;Input #1, mp3, from &#x27;C:\Users\shooey\Desktop\junky\Content\assets\background.mp3&#x27;:&#xA;  Metadata:&#xA;    major_brand     : dash&#xA;    Software        : Lavf57.56.101&#xA;    minor_version   : 0&#xA;    compatible_brands: iso6mp41&#xA;  Duration: 00:20:03.02, start: 0.025057, bitrate: 167 kb/s&#xA;    Stream #1:0: Audio: mp3, 44100 Hz, stereo, fltp, 167 kb/s&#xA;    Metadata:&#xA;      encoder         : LAME3.100&#xA;File &#x27;C:\Users\shooey\Desktop\junky\Content\07-04-2021\output_bckg.mp4&#x27; already exists. Overwrite ? [y/N] y&#xA;Stream mapping:&#xA;  Stream #0:1 (aac) -> aformat&#xA;  Stream #1:0 (mp3float) -> aformat&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  amerge -> Stream #0:1 (aac)&#xA;Press [q] to stop, [?] for help&#xA;[Parsed_amerge_4 @ 0000017093965c80] No channel layout for input 1&#xA;[Parsed_amerge_4 @ 0000017093965c80] Input channel layouts overlap: output layout will be determined by the number of distinct input channels&#xA;Output #0, mp4, to &#x27;C:\Users\shooey\Desktop\junky\Content\07-04-2021\output_bckg.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.29.100&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 87 kb/s, 0.12 fps, 30 tbr, 15360 tbn, 15360 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      encoder         : Lavc58.54.100 aac&#xA;frame=   52 fps=5.5 q=-1.0 Lsize=   11993kB time=00:07:31.67 bitrate= 217.5kbits/s speed=  48x&#xA;video:4802kB audio:7111kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.670061%&#xA;[aac @ 00000170935b4980] Qavg: 319.394&#xA;

    &#xA;

  • FFMPEG mp4 instead of flv

    20 juin 2013, par Scott Stevens

    really struggling with ffmpeg at the moment, after a few days of messing about with it i have managed to get it to almost do what i want !

    I have an audio track and a series of images that are to be converted into a slideshow displaying each image for 5 seconds.

    ffmpeg -r 1/5 -i C :\ffmpeg\image-%02d.bmp -i C :\ffmpeg\music.mp3 -qscale:v 2
      -shortest -codec:a copy C :\ffmpeg\output.flv
    

    I can get this to work as a flv but not as any other format. I need to have it in either an mp4, avi, wmv, or mov format.

    I can convert this to a wmv but the file size is HUGE (about 100meg/min) !

    ffmpeg -i C :\ffmpeg\output.flv -vcodec wmv1
      -acodec adpcm_ima_wav C :\ffmpeg\output.wmv
    

    Can anyone please help me either

    • output the original code to mp4,wmv,mov,or avi (with a reasonable file size
      ideally less than 10 meg per min)
    • convert the flv to either an mp4,wmv,mov, or avi with again a reasonable
      file size)
  • How to compile ffmpeg-1.2.1 on windows with cygwin and android ndk r8e

    17 juin 2013, par Pratik

    I have been trying to find the solution from last few days but unfortunately not even found a single solution which provides me the right direction..! I have goggled no of posts,examples etc.Lots of developers are facing the same problem.I know these things are easy to compile on OS X or any Linux.

    so my question is that :

    How to compile ffmpeg-1.2.1 on windows with cygwin and android ndk r8e
    or
    if anybody had successfully complied the previous releases of ff-mpeg on windows they can tell me the necessary steps.

    I am using windows-7(32-bit)

    Downloaded sources :

    1) I have downloaded latest FFmpeg 1.2.1 "Magic" from FFMPEG sources.

    2) I have downloaded all the necessary packages in cygwin.

    3) I have also downloaded android-ndk-r8e from Android dev site.

    I am trying to find the solution but
    any help would be appriciated.