Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (112)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • De près ou de loin...

    29 avril 2011, par

    Ils ne le savent pas forcément mais sont indispensables
    MediaSPIP est un logiciel open-source, il se base sur d’autres logiciels, et d’autres logiciels lui sont également nécessaires pour fonctionner ... Les personnes ici listées ne savent pas forcément qu’elles ont un rôle important dans le développement, elles ont apporté leur connaissances dans le cadre de la création d’une partie de ces éléments nécessaires ou ont écrit des articles permettant de comprendre certaines choses... il semble indispensable (...)

  • Liste des distributions compatibles

    26 avril 2011, par

    Le tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)

Sur d’autres sites (4905)

  • "does not contain any stream" if "EXT-X-MEDIA-SEQUENCE" > 0

    6 mars 2019, par Wonson

    I have a list of .ts files and want to save them as multiple video files.


    First I have a .m3u8 like this obtained from streaming :

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:5
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-KEY:METHOD=AES-128,URI="aaa001_00001.key"
    #EXTINF:3.01,
    aaa001_00002.ts
    #EXTINF:3.01,
    aaa001_00003.ts

    ...

    #EXTINF:3.01,
    aaa001_01944.ts
    #EXT-X-ENDLIST

    Step 1 :

    So, I tried to convert it into several m3u8 like the followings :

    segment1.m3u8

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:5
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-KEY:METHOD=AES-128,URI="aaa001_00001.key"
    #EXTINF:3.01,
    aaa001_00002.ts
    #EXTINF:3.01,
    aaa001_00003.ts

    ...

    #EXTINF:3.01,
    aaa001_00569.ts
    #EXT-X-ENDLIST

    segment2.m3u8

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:5
    #EXT-X-MEDIA-SEQUENCE:567
    #EXT-X-KEY:METHOD=AES-128,URI="aaa001_00001.key"
    #EXTINF:3.01,
    aaa001_00002.ts
    #EXTINF:3.01,
    aaa001_00003.ts

    ...

    #EXTINF:3.01,
    aaa001_01288.ts
    #EXT-X-ENDLIST

    and so on...

    then do the ffmpeg cmd one by one..

    ffmpeg -i /fs/segment2.m3u8 -safe 0 -map 0:v -map 0:a -cpu-used 4 -threads 0 -preset veryfast -c copy -bsf:a aac_adtstoasc output.mp4


    But those EXT-X-MEDIA-SEQUENCE > 0 (i.e. since segment2.m3u8...) will result in

    "Output file #0 does not contain any stream"


    Then I tried to make the ’segment2.m3u8’ looks like this

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:5
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-KEY:METHOD=AES-128,URI="aaa001_00001.key"
    #EXTINF:3.01,
    aaa001_00002.ts <--the first video chunk
    #EXTINF:3.01,
    aaa001_00570.ts <--the start point of segment 2
    #EXTINF:3.01,
    aaa001_00571.ts

    ...

    #EXTINF:3.01,
    aaa001_01288.ts
    #EXT-X-ENDLIST

    ffmpeg works fine, and gives me an output video, so it seems the stream channel info is in the first chunk.

    However, there are still several problems

    1. the first chunk of video is in segment2.mp4 which I clearly do not want it here.

    2. the segment2 output video plays first the 3.01s, then freezed the image until the time reach aaa001_00570.ts and play again


    So, any suggestion so that I can reference the stream info from first chunk ? or ignore it in the playlist, etc ?


    UPDATE SOLUTION

    As it works when #EXT-X-MEDIA-SEQUENCE:0, and #EXT-X-KEY : IV = by default

    So I add IV=hex(#EXT-X-MEDIA-SEQUENCE)in every playlist

    segment1.m3u8

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:5
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-KEY:METHOD=AES-128,URI="aaa001_00001.key",IV=0x00000000000000000000000000000000
    #EXTINF:3.01,
    aaa001_00002.ts
    #EXTINF:3.01,
    aaa001_00003.ts

    ...

    #EXTINF:3.01,
    aaa001_00569.ts
    #EXT-X-ENDLIST

    segment2.m3u8

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:5
    #EXT-X-MEDIA-SEQUENCE:567
    #EXT-X-KEY:METHOD=AES-128,URI="aaa001_00001.key",IV=0x00000000000000000000000000000237
    #EXTINF:3.01,
    aaa001_00570.ts

    ...

    #EXTINF:3.01,
    aaa001_01288.ts
    #EXT-X-ENDLIST
  • Revert "Merge commit '66988320794a107f2a460eaa71dbd9fab8056842'"

    27 septembre 2017, par James Almer
    Revert "Merge commit '66988320794a107f2a460eaa71dbd9fab8056842'"
    

    This reverts commit 740e557d6eac3b579dfed53ed92ae70e2089c77c, reversing
    changes made to 932e28b13e9ae29262dfd28419b700e03716e85e.

    The commit apparently broke builds with shared libs, and "suggesting"
    the use of external libraries that need to be explicitly enable has
    dubious usefulness anyway.

    • [DH] configure
  • Revert "Merge commit ’8b830ee9a26d47b138f12a82085cdb372f407f1e’" (avconv : Do not...

    11 octobre 2015, par Michael Niedermayer
    Revert "Merge commit ’8b830ee9a26d47b138f12a82085cdb372f407f1e’" (avconv : Do not try to configure filter outputs without streams)
    

    FFmpeg already tests for this case in configure_output_filter() and printed a
    clearer error message

    example :
    ./ffmpeg -f lavfi -i color -f lavfi -i color -filter_complex "[1]null[x],[0][1]overlay" -f null -
    before the merge / after the revert :
    Filter null has a unconnected output

    after the merge / before the revert :
    Output pad "default" with type video of the filter instance "Parsed_null_0" of null not connected to any destination
    Error configuring complex filters.
    Invalid argument

    This reverts commit 3e3779cd517e4d2d1f21d5eb6afdb428cd3c1aa0, reversing
    changes made to 0b28039a44b33753d77116691d680bd60f3bac1f.

    Reviewed-by : Ganesh Ajjanagadde <gajjanag@mit.edu>

    • [DH] ffmpeg_filter.c