Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

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 ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (14984)

  • Revert "lavc/nvenc : handle frame durations and AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE"

    16 juin 2023, par Timo Rothenpieler
    Revert "lavc/nvenc : handle frame durations and AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE"
    

    The implementation is flawed in that the frame opaque data is not in
    fact correctly reordered along with the packets, but is being output in
    packet input order, just like the dts are.

    This reverts commit 35538097038fd1e36577306d3165f38c8fa02466.

    • [DH] libavcodec/nvenc.c
    • [DH] libavcodec/nvenc.h
    • [DH] libavcodec/nvenc_av1.c
    • [DH] libavcodec/nvenc_h264.c
    • [DH] libavcodec/nvenc_hevc.c
  • lavc/qsvenc : avoid data copy if possible

    18 mai 2023, par Haihao Xiang
    lavc/qsvenc : avoid data copy if possible
    

    The data copy is unnecessary for packed formats when frame width and
    height are aligned

    For example :
    $ ffmpeg -f lavfi -i testsrc=size=1920x1088 -vf "format=yuyv422" -c:v hevc_qsv -f null -

    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>

    • [DH] libavcodec/qsvenc.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;