Recherche avancée

Médias (91)

Autres articles (49)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (5487)

  • find matching files using a.bat script and assign them to a variable ?

    2 octobre 2019, par A Person

    I am trying to assign a file to a variable in batch-file and then also assign anoter 2 files into anoter variable.

    However, i am having an issue.

    From research, i found how i can do the assigning but does anyone know how i can do the below.

    From a folder or text file (either is fine) find the .m2v video file and assign that to Var1 then find matching audio in .wav and put that in Var2 and the third is also an audio .wav with mathcing name and assign that to Var3.

    Problem i am having is that trying to find the matching 2 audio file to the video.

    The video file is named as PAV_PRG_13683Highc450277201906251802090353.m2v

    Audio 1 is : PAV_PRG_13683High01c450211201906251802090376.wav

    Audio 2 is : PAV_PRG_13683High00c450211201906251802090368.wav

    the file name matches until it sees the word High. Everything after High is not needed and is random string so trying to match is an issue.

    is there a way to find the match by comparing everything before High.

    Also as i will be using the variable and putting them through ffmpeg to merge, is there way to do it so that when the ffmpeg command is done, it moves to the next matching files and assigns them to the variable.

    files are store in 2 folders

    One folder has all the video files *.m2v

    and another folder has all the *.wav audio files in pairs of 2. Each video has exactly 2 audios (left right audio)

    is there any hel pon this subject, i have already come up empty in my research and have been checking for this over the last week spent almost 30 hours.

  • avformat/internal : Improve documentation of ff_packet_list_get

    19 août 2019, par Andreas Rheinhardt
    avformat/internal : Improve documentation of ff_packet_list_get
    

    The documentation of ff_packet_list_get currently didn't match the
    actual usage :
    1. It said that the destination packet is supposed to be initialized.
    But this makes no sense given that it will be overwritten completely and
    flacenc, mp3enc and ttaenc ignored this.
    2. ff_packet_list_get returns an int, although it can't fail in case the
    packet list is not empty (for which there is an assert). Again, several
    callers didn't check for any return value.
    In both cases, the documentation has been adapted to match actual usage.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/internal.h
  • Error initializing filter 'amovie' when Join multiple files and add background music, watermark

    25 août 2020, par Nguyễn Trọng

    I am doing concatenation of multiple videos with adding background music and watermark at the same time (see below)

    &#xA;

    [-y, -i, 012.mp4, -i, 011.mp4, -i, 010.mp4, -i, 009.mp4, -i, 008.mp4, -i, 007.mp4, -i, 006.mp4, -i, 005.mp4, -i, 004.mp4, -i, 003.mp4, -i, 002.mp4, -i, 001.mp4, -i, 000.mp4, -i, /storage/emulated/0/FXMotion/.cache/.watermark/logo_watermark.png, -filter_complex, [0:v][0:a][1:v][1:a][2:v][2:a][3:v][3:a][4:v][4:a][5:v][5:a][6:v][6:a][7:v][7:a][8:v][8:a][9:v][9:a][10:v][10:a][11:v][11:a][12:v][12:a]concat=n=13:v=1:a=1[video][audio];[13:v]scale=320:-1[watermark];[video][watermark]overlay=main_w-overlay_w-10:main_h-overlay_h-10[vw];amovie=/storage/emulated/0/Download/Afro B - Drogba (Joanna) Prod by Team Salut [Official Music Video].mp3:loop=0,asetpts=N/SR/TB,aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo[bgmusic];[audio]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0[fmaudio];[fmaudio][bgmusic]amerge=2,pan=stereo|c0code>

    &#xA;

    When I run the above command, it has an error :

    &#xA;

    [Parsed_amovie_3 @ 0x816c5c00] Failed to avformat_open_input &#x27;/storage/emulated/0/Download/Afro B - Drogba (Joanna) Prod by Team Salut&#x27;&#xA;[AVFilterGraph @ 0xa4c104c0] Error initializing filter &#x27;amovie&#x27;[AVFilterGraph @ 0xa4c104c0]  with args &#x27;/storage/emulated/0/Download/Afro B - Drogba (Joanna) Prod by Team Salut&#x27;[AVFilterGraph @ 0xa4c104c0]&#xA;Error initializing complex filters.&#xA;No such file or directory&#xA;Conversion failed!&#xA;

    &#xA;

    I don't know why it happened, is it a bug of amovie filter ?

    &#xA;

    how to solve it ?, thank advance.

    &#xA;

    ----------------Full Log------------------

    &#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;012.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:04.20, start: 0.000000, bitrate: 5349 kb/s&#xA;Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 5340 kb/s, 16.67 fps, 16.67 tbr, 12800 tbn, 33.33 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;011.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:06.20, start: 0.000000, bitrate: 5642 kb/s&#xA;Stream #1:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 5681 kb/s, 20 fps, 20 tbr, 10240 tbn, 40 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #1:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #2, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;010.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:06.01, start: 0.000000, bitrate: 5689 kb/s&#xA;Stream #2:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 5695 kb/s, 20 fps, 20 tbr, 10240 tbn, 40 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #2:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #3, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;009.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:06.01, start: 0.000000, bitrate: 5624 kb/s&#xA;Stream #3:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 5630 kb/s, 20 fps, 20 tbr, 10240 tbn, 40 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #3:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #4, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;008.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:05.40, start: 0.000000, bitrate: 5226 kb/s&#xA;Stream #4:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 5218 kb/s, 16.67 fps, 16.67 tbr, 12800 tbn, 33.33 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #4:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #5, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;007.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:06.60, start: 0.000000, bitrate: 5631 kb/s&#xA;Stream #5:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 5663 kb/s, 20 fps, 20 tbr, 10240 tbn, 40 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #5:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #6, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;006.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:06.48, start: 0.000000, bitrate: 5455 kb/s&#xA;Stream #6:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 5472 kb/s, 20 fps, 20 tbr, 10240 tbn, 40 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #6:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #7, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;005.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:06.11, start: 0.000000, bitrate: 5220 kb/s&#xA;Stream #7:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 5213 kb/s, 19.81 fps, 19.81 tbr, 720k tbn, 39.61 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #7:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #8, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;004.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:05.43, start: 0.000000, bitrate: 5515 kb/s&#xA;Stream #8:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 5542 kb/s, 16.67 fps, 16.67 tbr, 12800 tbn, 33.33 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #8:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #9, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;003.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:06.43, start: 0.000000, bitrate: 4450 kb/s&#xA;Stream #9:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 4445 kb/s, 15.25 fps, 15.25 tbr, 15616 tbn, 30.50 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #9:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #10, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;002.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:05.92, start: 0.000000, bitrate: 4323 kb/s&#xA;Stream #10:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 4321 kb/s, 20.29 fps, 20.29 tbr, 1800k tbn, 40.58 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #10:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #11, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;001.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:05.60, start: 0.000000, bitrate: 3759 kb/s&#xA;Stream #11:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 3776 kb/s, 16.19 fps, 16.19 tbr, 1350k tbn, 32.38 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #11:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #12, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;000.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.35.101&#xA;location-eng    : &#x2B;18.0104-077.0263/&#xA;location        : &#x2B;18.0104-077.0263/&#xA;Duration: 00:00:07.38, start: 0.000000, bitrate: 5448 kb/s&#xA;Stream #12:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x1280 [SAR 1:1 DAR 9:16], 5441 kb/s, 16.53 fps, 16.53 tbr, 10800k tbn, 33.06 tbc (default)&#xA;Metadata:&#xA;handler_name    : VideoHandle&#xA;Stream #12:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 1 kb/s (default)&#xA;Metadata:&#xA;handler_name    : SoundHandle&#xA;Input #13, png_pipe, from &#x27;/storage/emulated/0/FXMotion/.cache/.watermark/logo_watermark.png&#x27;:&#xA;Duration: N/A, bitrate: N/A&#xA;Stream #13:0: Video: png, rgba(pc), 335x51, 25 tbr, 25 tbn, 25 tbc&#xA;[Parsed_amovie_3 @ 0x816c5c00] Failed to avformat_open_input &#x27;/storage/emulated/0/Download/Afro B - Drogba (Joanna) Prod by Team Salut&#x27;&#xA;[AVFilterGraph @ 0xa4c104c0] Error initializing filter &#x27;amovie&#x27;[AVFilterGraph @ 0xa4c104c0]  with args &#x27;/storage/emulated/0/Download/Afro B - Drogba (Joanna) Prod by Team Salut&#x27;[AVFilterGraph @ 0xa4c104c0]&#xA;Error initializing complex filters.&#xA;No such file or directory&#xA;Conversion failed!&#xA;

    &#xA;