Recherche avancée

Médias (91)

Autres articles (77)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (12586)

  • avcodec/vc1dec : Fix "return -1" cases

    17 décembre 2019, par Michael Niedermayer
    avcodec/vc1dec : Fix "return -1" cases
    

    Reviewed-by : "mypopy@gmail.com" <mypopy@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

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