Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (8449)

  • FFMPEG : Generate mastered m3u8 playlist

    22 octobre 2019, par Сергей Барахтенко

    Tell the command line for FFMPEG to generate a playlist of the following format :

    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=380000,RESOLUTION=640x360,CODECS="mp4a.40.2,avc1.77.30",CLOSED-CAPTIONS=NONE
    https://myurl/media/manifest/[input_file_name]-360.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1510000,RESOLUTION=1920x1080,CODECS="mp4a.40.2,avc1.77.30",CLOSED-CAPTIONS=NONE
    https://myurl/media/manifest/[input_file_name]-1080.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=890000,RESOLUTION=1280x720,CODECS="mp4a.40.2,avc1.77.30",CLOSED-CAPTIONS=NONE
    https://myurl/media/manifest/[input_file_name]-720.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=250000,RESOLUTION=320x180,CODECS="mp4a.40.2,avc1.77.30",CLOSED-CAPTIONS=NONE
    https://myurl/media/manifest/[input_file_name]-180.m3u8

    As you can see from the example, the file contains links to other m3u8 playlists, which are downloaded depending on the network bandwidth (BANDWIDTH parameter)

    An example of an internal m3u8 playlist (playlist [input_file_name]-360.m3u8)

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-PLAYLIST-TYPE:VOD
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-TARGETDURATION:4
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-1.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-2.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-3.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-4.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-5.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-6.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-7.ts
    #EXTINF:4.000,
    https://myurl/media/conversion/[input_file_name]-360.mp4-8.ts
    ...
    #EXT-X-ENDLIST

    As you can see from it, the source file was divided into 8 TS segments

  • How to stitch(concat) two transport stream with two different resolution and I-frame slices format without loosing resolution and slices information

    2 octobre 2019, par AnkurTank

    I have been trying to test a use case with steam captured from multimedia device and that didn’t work. And then I have been trying to create this specific transport stream for like two days now without success, so requesting some help.

    I need to create transport stream with two different resolution and two different slicing format.

    I divided the task in following steps and in last two steps I need help.

    Step 1 : Download sample video with resolution : 1920x1080.
    I downloaded big buck bunny mp4 .

    Step 2 : Create transport stream with following
    resolution : 1920x720, H264 I frame slices per frame : 1
    I used following ffmpeg commands to do that.

    #Rename file to input.mp4
    $ mv bbb_sunflower_1080p_30fps_normal.mp4 input.mp4
    #Extract transport stream
    $ ffmpeg -i input.mp4 -c copy first.ts

    first.ts is having 1980x720 resolution and one H264 I slice per frame.

    Step 3 : Create another transport stream with smaller resolution using following commands

    #Get mp4 with lower resolution.
    $ ffmpeg -i input.mp4 -s 640x480 temp.mp4
    #Extract trans port stream from mp4
    $ ffmpeg -i temp.mp4 -c copy low_r.ts

    Step 4 : Edit(and re-encode ?) low_r.ts to have two H264 I frame slices.
    I used following command to achieve it.

    $ x264 --slices 4 low_r.ts -o second.ts

    However when I play this second.ts on vlc using following command it doesn’t play

    $ vlc ./second.ts

    And using Elacard StreamEye software when I analyze the transport stream I see that it has 4 H264 I slices in only two times other than that lot of H264 p slices and H264 B slices.
    Need help here to figure out why second.ts doesn’t play and why slicing is not correct.

    Step 5 : Combine both the transport stream without loosing resolution and slicing information.
    Don’t know command for this. Need help here.
    I tried ffmpeg but that combines two stream with different resolution and makes one file with one resolution.

    Any suggestions/pointers would help me proceed. Let me also know if any of the above steps are not fine too.

  • How to stitch(concat) two transport stream with two different resolution and I-frame slices format without loosing resolution and slices information

    2 octobre 2019, par ART

    I have been trying to test a use case with steam captured from multimedia device and that didn't work. And then I have been trying to create this specific transport stream for like two days now without success, so requesting some help.

    



    I need to create transport stream with two different resolution and two different slicing format.

    



    I divided the task in following steps and in last two steps I need help.

    



    Step 1 : Download sample video with resolution : 1920x1080.
    
 I downloaded big buck bunny mp4 .

    



    Step 2 : Create transport stream with following
    
resolution : 1920x720, H264 I frame slices per frame : 1
    
I used following ffmpeg commands to do that.

    



    #Rename file to input.mp4
$ mv bbb_sunflower_1080p_30fps_normal.mp4 input.mp4
#Extract transport stream
$ ffmpeg -i input.mp4 -c copy first.ts


    



    first.ts is having 1980x720 resolution and one H264 I slice per frame.

    



    Step 3 : Create another transport stream with smaller resolution using following commands

    



    #Get mp4 with lower resolution.
$ ffmpeg -i input.mp4 -s 640x480 temp.mp4
#Extract trans port stream from mp4
$ ffmpeg -i temp.mp4 -c copy low_r.ts


    



    Step 4 : Edit(and re-encode ?) low_r.ts to have two H264 I frame slices.
I used following command to achieve it.

    



    $ x264 --slices 4 low_r.ts -o second.ts


    



    However when I play this second.ts on vlc using following command it doesn't play

    



    $ vlc ./second.ts 


    



    And using Elacard StreamEye software when I analyze the transport stream I see that it has 4 H264 I slices in only two times other than that lot of H264 p slices and H264 B slices. 
Need help here to figure out why second.ts doesn't play and why slicing is not correct.

    



    Step 5 : Combine both the transport stream without loosing resolution and slicing information.
Don't know command for this. Need help here.
I tried ffmpeg but that combines two stream with different resolution and makes one file with one resolution.

    



    Any suggestions/pointers would help me proceed. Let me also know if any of the above steps are not fine too.