Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (111)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (10397)

  • fftools/cmdutils : fix error message for "ffmpeg -init_hw_device list"

    26 mars, par Jun Zhao
    fftools/cmdutils : fix error message for "ffmpeg -init_hw_device list"
    

    When running 'ffmpeg -init_hw_device list' to display available hardware
    devices, it incorrectly shows an error message :
    "Failed to set value 'list' for option 'init_hw_device' : Immediate exit requested"

    This is a regression introduced by commit a50f90f1c23. The command is
    actually working as intended - it should exit after listing devices, but
    shouldn't display an error message.

    Signed-off-by : Jun Zhao <barryjzhao@tencent.com>

    • [DH] fftools/cmdutils.c
  • shorten : fix "off by padding" bug

    22 mai 2013, par Michael Niedermayer
    shorten : fix "off by padding" bug
    

    Fixes array overread

    Found-by : Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/shorten.c
  • FFmpeg - invalid argument on a creation of MP4 with .SRT - "Unable to parse option value "Link_to_the.srt" as image size...?

    20 mai 2023, par sKunZel

    I'm stuck for 2 weeks on same problem on developping a command that bring together a .mp4 file consisting on a fixed image & audio from a .mp3 and then burnt-in subtitle from a stylized .srt into a new MP4.

    &#xA;

    Here is my command :&#xA; command = f"""ffmpeg -report -i "input_video_arg_abs" -vf "subtitles='input_srt_arg_abs':original_size=816x1456:force_style='FontName=Open Sans Italic,FontSize=13,MarginR=10,MarginV=149'" -c:v libx264 -crf 18 -c:a copy -movflags +faststart "output_video" """

    &#xA;

    And you can see here the main script definitions of variables and call to fonction :

    &#xA;

    &#xA;

    input_srt = os.path.normpath(os.path.join(input_directory, srt_file))&#xA;print(f"Chemin du fichier SRT : input_srt")&#xA;reformat_srt(input_srt)&#xA;final_video_output=os.path.normpath(os.path.join(output_directory,&#xA;os.path.splitext(mp3_file)[0] + '.mp4'))&#xA;time.sleep(0.5)&#xA;create_final_video(temp_video_output, input_srt, final_video_output)

    &#xA;

    &#xA;

    This code generated an output file correctly named but 0 Ko. Every log i found indicated an error in the way of my .srt but when i print my input_srt it is correct.

    &#xA;

    Here i add up some logs :

    &#xA;

    [h264 @ 000002806874c340] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2&#xA;[Parsed_subtitles_0 @ 0000028068d97d00] Setting &#x27;filename&#x27; to value &#x27;E&#x27;&#xA;[Parsed_subtitles_0 @ 0000028068d97d00] Setting &#x27;original_size&#x27; to value &#x27;YouTubeMcKennaWe_Plants_Are_Happy_PlantsSRTSans_programmation_paralleleinputTerence_McKenna_The_Good_the_True_and_the_Beautiful.srt&#x27;&#xA;[subtitles @ 0000028068f0de40] Unable to parse option value "YouTubeMcKennaWe_Plants_Are_Happy_PlantsSRTSans_programmation_paralleleinputTerence_McKenna_The_Good_the_True_and_the_Beautiful.srt" as image size&#xA;[Parsed_subtitles_0 @ 0000028068d97d00] Setting &#x27;original_size&#x27; to value &#x27;816x1456&#x27;&#xA;[Parsed_subtitles_0 @ 0000028068d97d00] Setting &#x27;force_style&#x27; to value &#x27;FontName=Open Sans Italic,FontSize=13,MarginR=10,MarginV=149&#x27;&#xA;[Parsed_subtitles_0 @ 0000028068d97d00] Raster: FreeType 2.10.2&#xA;[Parsed_subtitles_0 @ 0000028068d97d00] Shaper: FriBidi 1.0.9 (SIMPLE)&#xA;[Parsed_subtitles_0 @ 0000028068d97d00] Initialized&#xA;[NULL @ 0000028068f0f480] Opening &#x27;E&#x27; for reading&#xA;[file @ 000002806bf2b800] Setting default whitelist &#x27;file,crypto&#x27;&#xA;[Parsed_subtitles_0 @ 0000028068d97d00] Unable to open E&#xA;[AVFilterGraph @ 0000028069044cc0] Error initializing filter &#x27;subtitles&#x27; with args &#x27;E:\YouTube\McKenna\We_Plants_Are_Happy_Plants\SRT\Sans_programmation_parallele\input\Terence_McKenna_The_Good_the_True_and_the_Beautiful.srt:original_size=816x1456:force_style=FontName=Open Sans Italic,FontSize=13,MarginR=10,MarginV=149&#x27;&#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: No such file or directory&#xA;Error while processing the decoded data for stream #0:0&#xA;[AVIOContext @ 0000028068bbab80] Statistics: 0 seeks, 0 writeouts&#xA;[AVIOContext @ 0000028068693640] Statistics: 1370703 bytes read, 0 seeks&#xA;Conversion failed!&#xA;

    &#xA;

    I'm thinking of "E :" as the problem since on Windows it should be correct but with FFMPEG langage, i don't know...

    &#xA;

    I wish anyone can help me, and will be glad if it is a tricky solution. Else, sorry for my newbism...&#xA;Thanks&#xA;sKunZel

    &#xA;