Recherche avancée

Médias (0)

Mot : - Tags -/images

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (81)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (5958)

  • ffmpeg not finding audio streams ?

    24 septembre 2013, par Jim Miller

    I'm doing some video conversion with ffmpeg v. N-54271-g7f866c1 (a fresh pull from the git sources in late June 2013) on Fedora 19. One of the things I want to do is to concatenate two videos and then convert the result to an mp4. The following code is working well for me :

    ffmpeg -i video_a.mov -i video_b.mov -acodec libfaac -vcodec libx264
        -preset fast -crf 22  -s 940x528 -pix_fmt yuv420p
        -filter_complex '[0:1] [0:0] [1:1] [1:0]  concat=n=2:v=1:a=1 [v] [a]'
        -map '[v]' -map '[a]' output.mp4

    except for a couple of older hunks of test video I've been using. On those, ffmpeg isn't finding the audio stream, and so the above call dies with ffmpeg complaining that Stream specifier ':1' in filtergraph description [0:1][0:0][1:1][1:0] concat=n=2:v=1:a=1 [v] [a] matches no streams. The catch, of course, is that there is an audio stream in the video ; it's just not getting found.

    When ffmpeg starts, I get a description of the input like so :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/priv/videorising7/raw_take_video/v2261-MTQxMzgwMDM4NzAx.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2011-10-13 16:08:18
     Duration: 00:00:25.52, start: 0.000000, bitrate: 49 kb/s
       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 608x342, 47 kb/s, 10.03 fps, 10 tbr, 1k tbn, 2k tbc
       Metadata:
         creation_time   : 2011-10-13 16:08:18
         handler_name    : Apple Alias Data Handler

    I suppose the video might just be so old (2006 ?) that I should be lucky that it plays at all. However, I'm able to run these videos through some other ffmpeg jobs (converting from .mov to .mp4, for instance), but those don't require explicitly referencing the audio and video tracks. Any insights out there ?

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


    


  • Android - Concat 2 videos using com.netcompss.loader.LoadJNI

    13 mai 2016, par Fabio Bergmann

    I’m using com.netcompss.loader.LoadJNI (FFmpeg4Android) and it was working fine until I try to concat 1 video with audio track and other video without audio track.

    I was using this command line :

    ffmpeg -y -i /storage/emulated/0/app/1.mp4 -i /storage/emulated/0/DCIM/2.mp4 -strict experimental -filter_complex [0:v]scale=640x360,setsar=1:1[v0];[1:v]scale=1280x720,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 -ab 48000 -ac 2 -ar 22050 -s 640x360 -r 30 -vcodec libx264 -acodec aac -crf 18 /storage/emulated/0/app/out.mp4

    1.mp4 has resolution at 640x360 and has audio track.

    2.mp4 has resolution at 1280x720 and has no audio track.

    On vk.log it was showing this :

    Setting 'n' to value '2'
    Setting 'v' to value '1'
    Setting 'a' to value '1'
    Stream specifier ':a' in filtergraph description [0:v]scale=1280x720,setsar=1:1[v0];[1:v]scale=1280x720,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 matches no streams.
    exit_program: 1
    Cannot find a matching stream for unlabeled input pad 3 on filter Parsed_concat_4

    I’m not good with ffmpeg, so I did some changes to the command line without success.

    When all video being concatenated have audio track, there’s no problem. But when one of the videos has no audio track, it fails.

    What would be the correct command line in this case ?