Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (57)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (3935)

  • How to embed subtitles into an mp4 file using gstreamer

    27 août 2021, par Stephen

    My Goal

    


    I'm trying to embed subtitles into an mp4 file using the mp4mux gstreamer element.

    


    What I've tried

    


    The pipeline I would like to use is :

    


    GST_DEBUG=3 gst-launch-1.0 filesrc location=sample-nosub-avc.mp4 ! qtdemux ! queue ! video/x-h264 ! mp4mux name=mux reserved-moov-update-period=1000 ! filesink location=output.mp4 filesrc location=english.srt ! subparse ! queue ! text/x-raw,format=utf8 ! mux.subtitle_0


    


    It just demuxes a sample mp4 file for the h.264 stream and then muxes it together with an srt subtitle file.

    


    The error I get is :

    


    Setting pipeline to PAUSED ...&#xA;0:00:00.009958915 1324869 0x5624a8c7a0a0 WARN                 basesrc gstbasesrc.c:3600:gst_base_src_start_complete:<filesrc0> pad not activated yet&#xA;Pipeline is PREROLLING ...&#xA;0:00:00.010128080 1324869 0x5624a8c53de0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<filesrc1> error: Internal data stream error.&#xA;0:00:00.010129102 1324869 0x5624a8c53e40 WARN                 qtdemux qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp&#xA;0:00:00.010140810 1324869 0x5624a8c53de0 WARN                 basesrc gstbasesrc.c:3072:gst_base_src_loop:<filesrc1> error: streaming stopped, reason not-negotiated (-4)&#xA;0:00:00.010172990 1324869 0x5624a8c53e40 WARN                 qtdemux qtdemux.c:3237:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults for stream 1&#xA;ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc1: Internal data stream error.&#xA;Additional debug info:&#xA;gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc1:&#xA;streaming stopped, reason not-negotiated (-4)&#xA;ERROR: pipeline doesn&#x27;t want to preroll.&#xA;Setting pipeline to NULL ...&#xA;Freeing pipeline ...&#xA;</qtdemux0></filesrc1></filesrc1></filesrc0>

    &#xA;

    My Thoughts

    &#xA;

    I believe the issue is not related to the above warning but rather mp4mux's incompatibility with srt subtitles.

    &#xA;

    The reason I belive this is because, other debug logs hint at it, but also stealing the subititles from another mp4 file and muxing it back together does work.

    &#xA;

    gst-launch-1.0  filesrc location=sample-nosub-avc.mp4 ! qtdemux ! mp4mux name=mux ! filesink location=output.mp4 filesrc location=sample-with-subs.mp4 ! qtdemux name=demux demux.subtitle_1 ! text/x-raw,format=utf8 ! queue ! mux.subtitle_0&#xA;

    &#xA;

    A major catch 22 I am having is that mp4 files don't typically support srt subtitles, but gstreamer's subparse element doesn't support parsing mp4 subtitle formats (tx3g, ttxt, etc.) so I'm not sure how I'm meant to put it all together.

    &#xA;

    I'm very sorry for the lengthy question but I've tried many things so it was difficult to condense it. Any hints or help is appreciated. Thank you.

    &#xA;

  • flutter-ffmpeg error on mixing audio and picture - Unable to find a suitable output format for 'ffmpeg

    18 juillet 2021, par tylyo

    I'm trying to mix an audio and a picture in order to have a video with the same length of the Audio and as content an image sequence of the source picture.

    &#xA;

    I tried using the flutter-ffmpeg plugin with the command :

    &#xA;

    ffmpeg command: ffmpeg -loop 1 -i &#x27;/data/user/0/com.attiliopatania.apshare/cache/file_picker/20210402_112326.jpg&#x27; -i &#x27;/data/user/0/com.attiliopatania.apshare/cache/file_picker/Voice001.m4a&#x27; -c:v mpeg4 -tune stillimage -c:a copy -shortest /data/user/0/com.attiliopatania.apshare/app_flutter/out.mp4&#xA;

    &#xA;

    some context :

    &#xA;

    I did the same test with ffmpeg on my pc and it worked as expected. I liked it.

    &#xA;

    I did some test and I tried to write a file on the same path where the out file should be and It worked as expected : file created

    &#xA;

    Running the same command through flutter plugin I experienced an error I'm reporting below

    &#xA;

    ...&#xA;I/flutter (14564): Finished splitting the commandline.&#xA;I/flutter (14564): Opening an input file: /data/user/0/com.attiliopatania.apshare/cache/file_picker/Voice001.m4a.&#xA;I/flutter (14564): [NULL @ 0x731deba400] Opening &#x27;/data/user/0/com.attiliopatania.apshare/cache/file_picker/Voice001.m4a&#x27; for reading&#xA;I/flutter (14564): [file @ 0x72f6059a40] Setting default whitelist &#x27;file,crypto,data&#x27;&#xA;I/flutter (14564): [mov,mp4,m4a,3gp,3g2,mj2 @ 0x731deba400] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100&#xA;I/flutter (14564): [mov,mp4,m4a,3gp,3g2,mj2 @ 0x731deba400] ISO: File Type Major Brand: 3gp4&#xA;I/flutter (14564): [mov,mp4,m4a,3gp,3g2,mj2 @ 0x731deba400] Unknown dref type 0x206c7275 size 12&#xA;I/flutter (14564): [mov,mp4,m4a,3gp,3g2,mj2 @ 0x731deba400] Before avformat_find_stream_info() pos: 112552 bytes read:65747 seeks:1 nb_streams:1&#xA;I/flutter (14564): [mov,mp4,m4a,3gp,3g2,mj2 @ 0x731deba400] All info found&#xA;I/flutter (14564): [mov,mp4,m4a,3gp,3g2,mj2 @ 0x731deba400] After avformat_find_stream_info() pos: 403 bytes read:98515 seeks:2 frames:1&#xA;I/flutter (14564): Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;/data/user/0/com.attiliopatania.apshare/cache/file_picker/Voice001.m4a&#x27;:&#xA;I/flutter (14564):   Metadata:&#xA;I/flutter (14564):     major_brand     :&#xA;I/flutter (14564): 3gp4&#xA;I/flutter (14564):&#xA;I/flutter (14564):     minor_version   :&#xA;I/flutter (14564): 0&#xA;I/flutter (14564):&#xA;I/flutter (14564):     compatible_brands:&#xA;I/flutter (14564): isom3gp4&#xA;I/flutter (14564):&#xA;I/flutter (14564):     creation_time   :&#xA;I/flutter (14564): 2021-03-06T16:02:37.000000Z&#xA;I/flutter (14564):&#xA;I/flutter (14564):     com.android.version:&#xA;I/flutter (14564): 10&#xA;I/flutter (14564):&#xA;I/flutter (14564):   Duration:&#xA;I/flutter (14564): 00:00:04.97&#xA;I/flutter (14564): , start:&#xA;I/flutter (14564): 0.000000&#xA;I/flutter (14564): , bitrate:&#xA;I/flutter (14564): 181 kb/s&#xA;I/flutter (14564):&#xA;I/flutter (14564):     Stream #1:0&#xA;I/flutter (14564): (eng)&#xA;I/flutter (14564): , 1, 1/44100&#xA;I/flutter (14564): : Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 128 kb/s&#xA;I/flutter (14564):  (default)&#xA;I/flutter (14564):&#xA;I/flutter (14564): ffmpeg out 1&#xA;I/flutter (14564):     Metadata:&#xA;I/flutter (14564):       creation_time   :&#xA;I/flutter (14564): 2021-03-06T16:02:37.000000Z&#xA;I/flutter (14564):&#xA;I/flutter (14564):       handler_name    :&#xA;I/flutter (14564): SoundHandle&#xA;I/flutter (14564):&#xA;I/flutter (14564): Successfully opened the file.&#xA;I/flutter (14564): Parsing a group of options: output url ffmpeg.&#xA;I/flutter (14564): Successfully parsed a group of options.&#xA;I/flutter (14564): Opening an output file: ffmpeg.&#xA;I/flutter (14564): [NULL @ 0x7306b86c00] Unable to find a suitable output format for &#x27;ffmpeg&#x27;&#xA;I/flutter (14564): ffmpeg: Invalid argument&#xA;

    &#xA;

  • put_bits : make avpriv_align_put_bits() inline

    26 octobre 2020, par Anton Khirnov
    put_bits : make avpriv_align_put_bits() inline
    

    This function is so extremely simple that it is preferable to make it
    inline rather than deal with all the complications arising from it being
    an exported symbol.

    Keep avpriv_align_put_bits() around until the next major bump to
    preserve ABI compatibility.

    • [DH] libavcodec/aacenc.c
    • [DH] libavcodec/bitstream.c
    • [DH] libavcodec/flvenc.c
    • [DH] libavcodec/h261enc.c
    • [DH] libavcodec/ituh263enc.c
    • [DH] libavcodec/jpeglsenc.c
    • [DH] libavcodec/mpeg12enc.c
    • [DH] libavcodec/mpeg4audio.h
    • [DH] libavcodec/msmpeg4enc.c
    • [DH] libavcodec/put_bits.h
    • [DH] libavcodec/rv10enc.c
    • [DH] libavcodec/svq1enc.c
    • [DH] libavcodec/vc2enc.c
    • [DH] libavcodec/version.h
    • [DH] libavcodec/wmaenc.c
    • [DH] libavcodec/xsubenc.c