Recherche avancée

Médias (91)

Autres articles (33)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • 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 (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5442)

  • How to change name of segments in m3u8 file [closed]

    30 décembre 2020, par Rekabet Kurumu

    I have flussonic media server. I'm transcoding rtmp to m3u8 file.

    


    Here my transcode :

    


    


    transcoder deviceid=0 external=false fps=30 gop=150 hw=nvenc
seamless=true vb=1024k vcodec=h264 open_gop=false preset=veryfast
profile=main deinterlace=adaptive deinterlace_rate=frame ab=copy ;

    


    


    if stream name is "sample" output will be foo.com/stream.m3u8 this is perfect. but inside m3u8 file outout looking like this

    


    #EXTM3U
#EXT-X-TARGETDURATION:5
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:20633
#EXT-X-PROGRAM-DATE-TIME:2020-12-30T11:15:07Z
#EXTINF:5.000,
2020/12/30/11/15/07-05000.ts?token=ADM1-1609326905-99fddfc3eb912171a5b85e553588a563704f5fb9
#EXTINF:5.000,
2020/12/30/11/15/12-05000.ts?token=ADM1-1609326905-99fddfc3eb912171a5b85e553588a563704f5fb9
#EXTINF:5.000,
2020/12/30/11/15/17-05000.ts?token=ADM1-1609326905-99fddfc3eb912171a5b85e553588a563704f5fb9


    


    output lookin 2020/12/30/11/15/ like this. i want this part will be microtime or time.

    


    For example :

    


    1609326905-05000.ts?token=99fddfc3eb912171a5b85e553588a563704f5fb9
1609327050-05000.ts?token=99fddfc3eb912171a5b85e553588a563704f5fb9
1609329450-05000.ts?token=99fddfc3eb912171a5b85e553588a563704f5fb9


    


    is it possible ?

    


  • ffmpeg-python extract a specific video stream, change its FPS and embed it back in the video

    19 mars 2021, par user972014

    I have a video containing several streams. A few data and one video.

    


    I need to extract the video stream, change the frame rate, embed it back in the video (or combine all stream back to an output file)

    


    If needed, this is the list of existing streams :

    


    I only need stream 0 and 5 (both video streams) Converted to 2 FPS. And stream 3 which is gpmd, which some irrelevant data format that I need to keep.

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\temp\video.360':
  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    creation_time   : 2020-09-08 16:35:49
  Duration: 00:00:28.13, start: 0.000000, bitrate: 66559 kb/s
    Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 4096x1344 [SAR 1:1 DAR 64:21], 30036 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro H.265
      encoder         : GoPro H.265 encoder
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro AAC
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro TCD
    Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 96 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro MET
    Stream #0:4(eng): Data: none (fdsc / 0x63736466), 20 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro SOS
    Stream #0:5(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 4096x1344 [SAR 1:1 DAR 64:21], 30019 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro H.265
      encoder         : GoPro H.265 encoder
    Side data:
      displaymatrix: rotation of nan degrees
    Stream #0:6(eng): Audio: pcm_s32be (in32 / 0x32336E69), 48000 Hz, 4 channels, s32, 6144 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro AMB


    


  • How to convert date format of text in m3u8 file ? [closed]

    30 décembre 2020, par Rekabet Kurumu

    I have a Flussonic media server. I'm transcoding RTMP into HLS and must edit the M3U8 file.

    


    Problem :
How to change the date part of a name in segments of an .m3u8 file ?

    


    If stream name is "sample" output will be foo.com/stream.m3u8 this is perfect. but inside m3u8 file outout looking like this

    


    #EXTM3U
#EXT-X-TARGETDURATION:5
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:20633
#EXT-X-PROGRAM-DATE-TIME:2020-12-30T11:15:07Z
#EXTINF:5.000,
2020/12/30/11/15/07-05000.ts?token=ADM1-1609326905-99fddfc3eb912171a5b85e553588a563704f5fb9
#EXTINF:5.000,
2020/12/30/11/15/12-05000.ts?token=ADM1-1609326905-99fddfc3eb912171a5b85e553588a563704f5fb9
#EXTINF:5.000,
2020/12/30/11/15/17-05000.ts?token=ADM1-1609326905-99fddfc3eb912171a5b85e553588a563704f5fb9


    


    output lookin 2020/12/30/11/15/ like this. i want this part will be microtime or time.

    


    For example :

    


    1609326905-05000.ts?token=99fddfc3eb912171a5b85e553588a563704f5fb9
1609327050-05000.ts?token=99fddfc3eb912171a5b85e553588a563704f5fb9
1609329450-05000.ts?token=99fddfc3eb912171a5b85e553588a563704f5fb9


    


    is it possible ?