Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (32)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (3543)

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

  • ffmpeg : remove "has_b_frames" backpassing

    3 juin 2014, par Michael Niedermayer
    ffmpeg : remove "has_b_frames" backpassing
    

    It seems working without this now for the files i tested it with, if this causes
    a regression, dont hesitate to put the line back or open a ticket or fix (if possible)
    the parser

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] ffmpeg.c