Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (28)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (3616)

  • Update URLs as nedeed.

    28 juin 2014, par Erik de Castro Lopo
    Update URLs as nedeed.
    

    Sourceforge.net links updated as nedeed with some of them
    being changed to point to xiph.org/flac.

    Patch-from : lvqcl <lvqcl.mail@gmail.com>

    • [DH] examples/c/decode/file/main.c
    • [DH] examples/c/encode/file/main.c
    • [DH] examples/cpp/decode/file/main.cpp
    • [DH] examples/cpp/encode/file/main.cpp
    • [DH] include/FLAC/metadata.h
    • [DH] include/share/getopt.h
    • [DH] src/flac/decode.c
    • [DH] src/flac/encode.c
    • [DH] src/flac/main.c
    • [DH] src/libFLAC/lpc.c
    • [DH] src/plugin_xmms/configure.c
    • [DH] src/share/getopt/getopt.c
    • [DH] src/share/getopt/getopt1.c
  • Why my concated videos resulting in fps drop ?

    3 juillet 2020, par swdev

    I have one main .mp4 video and several logo .mp4 videos. I manage to create python script that eventually called ffmpeg.exe to create duplicate of that one main .mp4 video into distinct ..mp4 video with different logo

    &#xA;

    Problem is, sometimes (I think if the file size is in more than 1GB) the generated video resulted in audio that plays sooner than the video. This is my command to produce that concatenated video :

    &#xA;

    ffmpeg.exe -f concat -safe 0 -i "{file_list_name}" -c copy "{target_file}" -y&#xA;file_list_name is .txt file with content such as :

    &#xA;

    file &#x27;logo1.mp4&#x27;&#xA;file &#x27;main.mp4&#x27;&#xA;

    &#xA;

    Both of the file already in the same resolution : 1080p

    &#xA;

  • streaming data with ffmpeg using pipe - stream never starts

    9 novembre 2022, par tamirg

    Im fetching some video data, and trying to stream it using ffmpeg. what i do is create an ffmpeg process, set it to get info from '-', and then when i fetch the video data i write it to the process STDIN.

    &#xA;

    My issue is that the steaming procces sometimes starts, and sometimes doesnt start. it really seems random (will add the ffmpeg logs at the end).&#xA;But if i save the entire data into a file, and then use ffplay on that file, it works perfectly fine, all the time.

    &#xA;

    So im guessing something in the data is causing some issues with ffmpeg usage with pipe. The logs indicate that there are some issues with the DTS, but i dont know if thats the reason that stream never plays, and what can be done to fix that.

    &#xA;

    I cant really understand the issue from the logs, but maybe they indicate what is the issue exactly ?

    &#xA;

    logs :

    &#xA;

    When the stream proccess doesnt start and doesnt work, those are the logs :

    &#xA;

    [mpeg @ 0x7fc7b63ef840] Format mpeg probed with size=262144 and score=52&#xA;[mpeg @ 0x7fc7b63ef840] Before avformat_find_stream_info() pos: 6 bytes read:263756 seeks:0 nb_streams:0&#xA;[NULL @ 0x7fc7b63eec00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0&#xA;[NULL @ 0x7fc7b63eec00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0&#xA;[NULL @ 0x7fc7b63eec00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0&#xA;[NULL @ 0x7fc7b63eec00] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0&#xA;[NULL @ 0x7fc7b63eec00] Decoding VPS&#xA;[NULL @ 0x7fc7b63eec00] Main profile bitstream&#xA;[NULL @ 0x7fc7b63eec00] Decoding SPS&#xA;[NULL @ 0x7fc7b63eec00] Main profile bitstream&#xA;[NULL @ 0x7fc7b63eec00] Decoding VUI&#xA;[NULL @ 0x7fc7b63eec00] Decoding PPS&#xA;[extract_extradata @ 0x7fc7b63f2140] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0&#xA;[extract_extradata @ 0x7fc7b63f2140] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0&#xA;[extract_extradata @ 0x7fc7b63f2140] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0&#xA;[extract_extradata @ 0x7fc7b63f2140] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7fc7b63eec00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7fc7b63eec00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7fc7b63eec00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7fc7b63eec00] Decoding VPS&#xA;[hevc @ 0x7fc7b63eec00] Main profile bitstream&#xA;[hevc @ 0x7fc7b63eec00] Decoding SPS&#xA;[hevc @ 0x7fc7b63eec00] Main profile bitstream&#xA;[hevc @ 0x7fc7b63eec00] Decoding VUI&#xA;[hevc @ 0x7fc7b63eec00] Decoding PPS&#xA;[hevc @ 0x7fc7b63eec00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7fc7b63eec00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7fc7b63eec00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7fc7b63eec00] Decoding VPS&#xA;[hevc @ 0x7fc7b63eec00] Main profile bitstream&#xA;[hevc @ 0x7fc7b63eec00] Decoding SPS&#xA;[hevc @ 0x7fc7b63eec00] Main profile bitstream&#xA;[hevc @ 0x7fc7b63eec00] Decoding VUI&#xA;[hevc @ 0x7fc7b63eec00] Decoding PPS&#xA;[mpeg @ 0x7fc7b63ef840] Non-increasing DTS in stream 1: packet 3 with DTS 150119711008467, packet 4 with DTS 150119711008467&#xA;[mpeg @ 0x7fc7b63ef840] Non-increasing DTS in stream 1: packet 5 with DTS 150119711008469, packet 6 with DTS 150119711008469&#xA;[hevc @ 0x7fc7b63eec00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7fc7b63eec00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7fc7b63eec00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7fc7b63eec00] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7fc7b63eec00] Decoding VPS&#xA;[hevc @ 0x7fc7b63eec00] Main profile bitstream&#xA;[hevc @ 0x7fc7b63eec00] Decoding SPS&#xA;[hevc @ 0x7fc7b63eec00] Main profile bitstream&#xA;[hevc @ 0x7fc7b63eec00] Decoding VUI&#xA;[hevc @ 0x7fc7b63eec00] Decoding PPS&#xA;

    &#xA;

    After the last log line, nothing happens, and no more log lines appear.

    &#xA;

    When the process actually starts and works fine, those are the logs :

    &#xA;

    [mpeg @ 0x7f5475d69840] Format mpeg probed with size=524288 and score=52&#xA;[mpeg @ 0x7f5475d69840] Before avformat_find_stream_info() pos: 6 bytes read:526296 seeks:0 nb_streams:0&#xA;[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 2 with DTS 150120249571596, packet 3 with DTS 150120249571596&#xA;[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 4 with DTS 150120249571598, packet 5 with DTS 150120249571598&#xA;[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 5 with DTS 150120249571598, packet 6 with DTS 150120249571598&#xA;[NULL @ 0x7f5475d68c00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0&#xA;[NULL @ 0x7f5475d68c00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0&#xA;[NULL @ 0x7f5475d68c00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0&#xA;[NULL @ 0x7f5475d68c00] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0&#xA;[NULL @ 0x7f5475d68c00] Decoding VPS&#xA;[NULL @ 0x7f5475d68c00] Main profile bitstream&#xA;[NULL @ 0x7f5475d68c00] Decoding SPS&#xA;[NULL @ 0x7f5475d68c00] Main profile bitstream&#xA;[NULL @ 0x7f5475d68c00] Decoding VUI&#xA;[NULL @ 0x7f5475d68c00] Decoding PPS&#xA;[extract_extradata @ 0x7f5475d6c140] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0&#xA;[extract_extradata @ 0x7f5475d6c140] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0&#xA;[extract_extradata @ 0x7f5475d6c140] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0&#xA;[extract_extradata @ 0x7f5475d6c140] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] Decoding VPS&#xA;[hevc @ 0x7f5475d68c00] Main profile bitstream&#xA;[hevc @ 0x7f5475d68c00] Decoding SPS&#xA;[hevc @ 0x7f5475d68c00] Main profile bitstream&#xA;[hevc @ 0x7f5475d68c00] Decoding VUI&#xA;[hevc @ 0x7f5475d68c00] Decoding PPS&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] Decoding VPS&#xA;[hevc @ 0x7f5475d68c00] Main profile bitstream&#xA;[hevc @ 0x7f5475d68c00] Decoding SPS&#xA;[hevc @ 0x7f5475d68c00] Main profile bitstream&#xA;[hevc @ 0x7f5475d68c00] Decoding VUI&#xA;[hevc @ 0x7f5475d68c00] Decoding PPS&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] Decoding VPS&#xA;[hevc @ 0x7f5475d68c00] Main profile bitstream&#xA;[hevc @ 0x7f5475d68c00] Decoding SPS&#xA;[hevc @ 0x7f5475d68c00] Main profile bitstream&#xA;[hevc @ 0x7f5475d68c00] Decoding VUI&#xA;[hevc @ 0x7f5475d68c00] Decoding PPS&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0&#xA;    Last message repeated 1 times&#xA;[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 10 with DTS 150120249571825, packet 11 with DTS 150120249571825&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0&#xA;    Last message repeated 4 times&#xA;[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 15 with DTS 150120249571844, packet 16 with DTS 150120249571844&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0&#xA;    Last message repeated 7 times&#xA;[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 25 with DTS 150120249571878, packet 26 with DTS 150120249571878&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0&#xA;    Last message repeated 7 times&#xA;[mpeg @ 0x7f5475d69840] DTS discontinuity in stream 0: packet 23 with DTS 150120249572205, packet 24 with DTS 150120249610965&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0&#xA;    Last message repeated 35 times&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0x7f5475d68c00] Decoding VPS&#xA;[hevc @ 0x7f5475d68c00] Main profile bitstream&#xA;[hevc @ 0x7f5475d68c00] Decoding SPS&#xA;[hevc @ 0x7f5475d68c00] Main profile bitstream&#xA;[hevc @ 0x7f5475d68c00] Decoding VUI&#xA;[hevc @ 0x7f5475d68c00] Decoding PPS&#xA;[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0&#xA;    Last message repeated 8 times&#xA;[mpeg @ 0x7f5475d69840] max_analyze_duration 5000000 reached at 5056000 microseconds st:1&#xA;[mpeg @ 0x7f5475d69840] After avformat_find_stream_info() pos: 1428588 bytes read:1428588 seeks:0 frames:152&#xA;Input #0, mpeg, from &#x27;pipe:&#x27;:&#xA;  Duration: N/A, start: 1668002773.015456, bitrate: N/A&#xA;

    &#xA;

    The main issue, is that it sometimes works, sometimes doesnt work.

    &#xA;

    The ffmpeg proccess is just created by using asyncio.create_subprocess_exec

    &#xA;

    Every time i get a video data, i pass the data to the proccess by calling ffmpeg_process.stdin.write(data)

    &#xA;

    I believe the issue is with the data, since with video data, the whole pipeline works for me. But i cannot understand from the ffmpeg logs what is the issue exactly.

    &#xA;