Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (98)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (6870)

  • ffmpeg concatenate clips with broken timecode

    19 septembre 2018, par Linus679

    I’ve just received some Blackmagic footage and some of the clips are separated into chunks because of dropped frames. So let’s say I have a set of clips that looks like below for a Clip 12.

    0100_C0012_001,
    0100_C0012_002,
    0100_C0012_003,

    Is there a way to create new clip from the 3 with the name 0100_C0012 ? Also, I have to actually concatenate the clips via timecode rather then the name as the numbers seems to break at points for some reason.

    Thanks for any help.

    The info about one of the clips is as follows :

     built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '///F_2_2018-07-06_1208_C0012_V1-0002.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2018-09-18T06:53:01.000000Z
       timecode        : 12:08:36:15
     Duration: 00:00:08.00, start: 0.000000, bitrate: 36177 kb/s
       Stream #0:0(eng): Video: dnxhd (DNXHD) (AVdn / 0x6E645641), yuv422p(pc, bt709), 1920x1080, 36175 kb/s, SAR 1:1 DAR 16:9, 24 fps, 24 tbr, 24k tbn, 24k tbc (default)
       Metadata:
         creation_time   : 2018-09-18T06:53:01.000000Z
         handler_name    : Apple Alias Data Handler
         encoder         : Avid DNxHD Codec
       Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
       Metadata:
         creation_time   : 2018-09-18T06:53:02.000000Z
         handler_name    : Apple Alias Data Handler
         timecode        : 12:08:36:15
    At least one output file must be specified
  • FFMpeg command to convert from avi to mp4 in php script

    16 septembre 2018, par user27240

    ffmpeg command to convert from avi file to mp4 file below does create mp4 file, but the quality of it is not all right at all. Fist, the sizes of the files are different, the mp4 is much smaller and about 1/10 of the avi file.
    Second, the playing time of the newly created mp4 is short lasting about 0.1 seconds where the avi file lasts about 60 seconds.

    Can anyone please help me out for the ffmpeg command to create mp4 file from avi under the directory like below ?

    for i in /xxxxxxx/xxxxxxx/*.avi; do
       ffmpeg -i "$i" -frames:v 1  "/xxxxxxx/xxxxxxx/$(basename "$i" .avi).mp4"
    done    

    Log after the attempt :

    [root@server-xxxxxxx-x ~]# for i in /xxxxxx/xxxxxxx/xxxxxxx/*.avi; do ffmpeg -i "$i" -pix_fmt yuv420p -movflags +faststart "/xxxxxx/xxxxxxx/xxxxxxx/$(basename "$i" .avi).mp4"; done
    ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)
     configuration:
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
    Guessed Channel Layout for Input Stream #0.1 : mono
    Input #0, avi, from '/xxxxxx/xxxxxxx/xxxxxxx/09141944_5b9b910308858.avi':
     Metadata:
       creation_time   : 2018-09-14 00:18:07
       encoder         : CanonMVI06
      Duration: 00:00:04.20, start: 0.000000, bitrate: 12999 kb/s
       Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc,    bt470bg/unknown/unknown), 640x480, 12384 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
        Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s
    File '/xxxxxx/xxxxxxx/xxxxxxx/09141944_5b9b910308858.mp4' already exists.    Overwrite ? [y/N]

                                                                                                                             y
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg4 (native))
     Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
     Press [q] to stop, [?] for help
     [swscaler @ 0x3d75fa0] deprecated pixel format used, make sure you did set   range correctly
    Output #0, mp4, to '/xxxxxx/xxxxxxx/xxxxxxx/09141944_5b9b910308858.mp4':
     Metadata:
       encoder         : Lavf57.83.100
       Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 640x480, q=2-31, 200 kb/s, 30 fps, 65521 tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.107.100 mpeg4
        Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
        Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 69 kb/s
        Metadata:
          encoder         : Lavc57.107.100 aac
     [mp4 @ 0x3d0e6e0] Starting second pass: moving the moov atom to the  beginning of the file17x
     frame=  126 fps=0.0 q=11.8 Lsize=     310kB time=00:00:04.20 bitrate= 603.3kbits/s speed=6.21x
     video:270kB audio:35kB subtitle:0kB other streams:0kB global headers:0kB  muxing overhead: 1.605194%
     [aac @ 0x3d36f40] Qavg: 2283.534
     ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
      built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)
      configuration:
      libavutil      55. 78.100 / 55. 78.100
      libavcodec     57.107.100 / 57.107.100
      libavformat    57. 83.100 / 57. 83.100
      libavdevice    57. 10.100 / 57. 10.100
      libavfilter     6.107.100 /  6.107.100
      libswscale      4.  8.100 /  4.  8.100
      libswresample   2.  9.100 /  2.  9.100
      Guessed Channel Layout for Input Stream #0.1 : mono
      Input #0, avi, from '/xxxxxx/xxxxxxx/xxxxxxx/09141945_5b9b913e87834.avi':
       Metadata:
        creation_time   : 2018-09-14 00:18:07
        encoder         : CanonMVI06
       Duration: 00:00:04.20, start: 0.000000, bitrate: 12999 kb/s
       Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc,      bt470bg/unknown/unknown), 640x480, 12384 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
       Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono,    s16, 705 kb/s
  • Best way to convert .ts file to mp4 or bufferedimage[] java

    23 septembre 2018, par thekevshow

    I have an m3u8 file returning .ts file polls for streaming. Regardless, how would I convert that to an array of buffered images or something else that can be easily scraped for a buffered image. Mainly just looking for direction, as I am struggling to understand each piece there. Anything is appreciated.

    example response part :

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:6
    #EXT-X-MEDIA-SEQUENCE:8476
    #EXT-X-TWITCH-ELAPSED-SECS:16952.000
    #EXT-X-TWITCH-TOTAL-SECS:16982.000
    #EXT-X-PROGRAM-DATE-TIME:2018-09-22T21:59:22.573Z
    #EXTINF:2.000,live
    https://video-edge-ee69bc.ord02.abs.hls.ttvnw.net/v1/segment/Cv0Dcq5qJJUV0vtPIfTrLkwrLNydN4aB6QHSSXBHxxu-ZAQyXxHtCEID2_qD-xtVV-oFG0dhKAajsbFQ0VUQpfIkPDHCJ1oh7O33nOZ4MRPcwGiOWtrv-9ukFghyg3Nc6GLBpWD3rcP-ujXBjxL3rpVP27UnfSpuBVPE-uNoXS3UxQ7sFUbI8z-t3TWLMs2GXaeos6y9L8Tw_MmMCchRGF7AM-V_mR6PpnY0JsRyBUGiLtCSYUwusYBJjBZpCEw2EP_ykmE8_xW-UQ18qvv0TwVdXPCREFPG8NL4JcytaUCkVs1bEjHlY7blYCWAJvfuc2WOpEXXRETrtkaODOFNRhMC5JCsjP2yWlSoa6K9OsvQdfP4k7pusPp7vDoCJMBfmcQ4SGYk_EVnuFS6t-HCZpfXy-JE1X1NWywUXtsn2LHktTzKa-5evHOJQSE1aMxmPW0tkgrenrlnsZ2fnYsHB-UZCbr6Yavq95qFquozTnA8Z8uC-HH-o1LSOOSnqM9FzfbiRjRmf7JlPBraK1Z7Utyvc9iHzOyL7oOPPPidCZZ9FYsuKChI1zskSeY8A41gnJloqeswHYJI5nVA6fMM6I43nKkfzL5N6gf5sesIItQPTViHQmnKg_0d236Tbu6KNTDxDPGeTfTNVoEPEJWefOEigqS6ARKLsUvXovYs8GUSEBagR4hWTKU2aUccV1Sv4NMaDOz9CsDqNksa3LUngw.ts
    #EXT-X-PROGRAM-DATE-TIME:2018-09-22T21:59:24.573Z
    #EXTINF:2.000,live
    https://video-edge-ee69bc.ord02.abs.hls.ttvnw.net/v1/segment/Cv0DLRareU5ZtP0V72x2DgOd59NIigzBiGka2v5iOOjI-zQwN5d5IZsdoEgbLIiaNsQE84BqdweS_4EBPT7GIJYkCZTv01KhDSai6pfbLRM0uN5_iLjoghDLvLJbdIPMK-K71uAwtxWV2mQAALw6epwlNpLh-46PmdEZLN7-21gHzmWjut-TvBHUlv6Hm_0U2VrKrvp6im9kjT1hacY-ay76z7nRrooA-Z_JIfJWjwcQ-tlteN2ULYFbkEhw_1koD9GsW4CzGHjIu-7PGR3dQHGufYDt6Q8NO8ggoVHHAT-gaflMLy5fDrfbZrU1Ngac2ZO2axc6hruMINWf8enpNIw2ZEPR1sMEo15Cwy3hbJa4BaH99_soYbNFTpzYyTXNyKU7N7lnKH12zWjzP5AOGcrJqT4nNJkdgt-kLYrlWryQNCpSGdqb6ByCVtZkrt05nk9Kad9--9wKbGEEQxp8M3XYiOYxxE6wtlV8Xk8D-azAPbi_aQ4fELFYjwR3-3TZKVk8N5RE4sKwnZkv7PbZGk1qBhgIOUen1ukm5GVuCMlRlsz5iPa9RYXd5twCILNDHCtOo1B9neqy3rG20rh0pWaKJW2k5954njzgz4gsRWKi0K9Q1784AvmE8VYrZkK7BhuyumFylcsyayCcluVLf-CSjbANM1bKYy7mib_ZPnQSEHeaaJvKjQj44oDQA0n4zHsaDNgACUNsYYtS7RwRcA.ts
    #EXT-X-PROGRAM-DATE-TIME:2018-09-22T21:59:26.573Z
    #EXTINF:2.000,live