Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (13858)

  • ffmpeg is failed to concatanate two different resolution videos [duplicate]

    25 octobre 2020, par Ramesh Jangama

    I am trying to cancatanate two differen resolution videos. I am getting below error which I am getting confused. However same command is working fine if I give same input file twice for concatation.

    


    command :

    


    ffmpeg -i C:\Users\oem\Downloads\FFMpeg_practice\test4.mp4 -i C:\Users\oem\Downloads\FFMpeg_practice\test_out3.mp4 -y -filter_complex "[0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a]" -preset superfast -crf  30  -ab  64k  -map  [v]  -map  [a]  C:\Users\oem\Downloads\FFMpeg_practice\diffmerge.mp4


    


    error :

    


    Stream specifier ':a' in filtergraph description [0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a] matches no streams.


    


    output :

    


    C:\ffmpeg\bin>ffmpeg -i C:\Users\oem\Downloads\FFMpeg_practice\test4.mp4 -i C:\Users\oem\Downloads\FFMpeg_practice\test_out3.mp4 -y -filter_complex "[0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a]" -preset superfast -crf  30  -ab  64k  -map  [v]  -map  [a]  C:\Users\oem\Downloads\FFMpeg_practice\diffmerge.mp4
ffmpeg version 2020-10-07-git-a086b73e1f-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.0 (Rev3, 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-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --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-libglslang --enable-vulkan --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      56. 60.100 / 56. 60.100
  libavcodec     58.109.100 / 58.109.100
  libavformat    58. 61.100 / 58. 61.100
  libavdevice    58. 11.102 / 58. 11.102
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\oem\Downloads\FFMpeg_practice\test4.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.61.100
    location-eng    : +51.5831-000.3438/
    location        : +51.5831-000.3438/
  Duration: 00:00:39.50, start: 0.000000, bitrate: 1439 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 540x960, 1304 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\oem\Downloads\FFMpeg_practice\test_out3.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.61.100
    comment         : vid:v09044820000brrhju8biap950rr41k0
  Duration: 00:00:30.73, start: 0.000000, bitrate: 1287 kb/s
    Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 288x512 [SAR 1:1 DAR 9:16], 281 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #1:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 288x512 [SAR 1:1 DAR 9:16], 243 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #1:2(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 576x1024 [SAR 1:1 DAR 9:16], 1018 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
    Metadata:
      handler_name    : VideoHandler
Stream specifier ':a' in filtergraph description [0:v] scale=iw/2:ih/2 [v0];[1:v] scale=iw/2:ih/2 [v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a] matches no streams.


    


  • I am using ffmpeg to overlay a image on top of a live stream using filter graphs, but when the input resolution changes, the overlay vanishes

    7 janvier 2021, par anshul

    I did my research and found that some filter graph options do not adapt to changing resolutions.
https://lists.ffmpeg.org/pipermail/libav-user/2012-October/002920.html
Here is the command which i am using. Whenever my input video changes from portrait to landscape, the overlay vanishes. I would really appreciate any help here.

    


    ffmpeg  -i rtmp://127.0.0.1:1935/show/$2 -i $overlayUrl  -filter_complex "[1][0]scale2ref=iw:ih[ovr][base];[base][ovr] overlay=0:0, split=4[a][b]" -async 1 -vsync -1 -map 0:a -map "[a]" -c:v libx264 -c:a aac -b:v 256k -b:a 32k -s 640x360 -tune zerolatency -r 60 -preset  veryfast -crf 23 -f flv rtmp://$rtmpoutput/$2_low -map 0:a -map "[b]" -c:v libx264 -c:a aac -b:v 768k -b:a 96k -s 640x480 -tune zerolatency -r 60 -preset veryfast -crf 23 -f flv rtmp://$rtmpoutput/$2_mid code here


    


  • How To Use FFMPEG -filter_complex_script When Merging Multiple Videos With Different Resolution

    12 janvier 2021, par Matte

    Here's the command I'm using when merging two videos with different resolution, It works well

    


    $command = 'ffmpeg -i first.mp4 -i second.mp4 -filter_complex "[0:v]scale='.$originalDimensions.':force_original_aspect_ratio=decrease,pad='.$originalDimensions.':-1:-1,setsar=1,fps=30,format=yuv420p[v0]; [1:v]scale='.$originalDimensions.':force_original_aspect_ratio=decrease,pad='.$originalDimensions.':-1:-1,setsar=1,fps=30,format=yuv420p[v1]; 
  [v0][0:a][v1][1:a]concat=n=2:v=1:a=1[v][a]" -map "[v]" -map "[a]" -c:v libx264 -c:a aac -movflags +faststart '.$dupSavePath.' 2>&1';


    


    It works nice and the output has no issues.

    


    But now I want to merge multiple videos using a list of files.

    


    We can use concat command and provide the list.txt file having a path to all the other video files.

    


    I was going through the documentation and found that it's possible by using -filter_complex_script but have no idea how to make it work

    


    Here's the command I used so far but the output having audio sync errors

    


    ffmpeg -f concat -i downloads/list.txt -acodec ac3_fixed -vcodec libx264 -s 720x480 -r 60 -strict experimental output.mp4 2>&1


    


    I can use the filter-graph here but I want to do it using concat command because the number of input files may vary.