Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (101)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (10582)

  • How to process .ts files used by flowplayer ?

    15 février 2020, par user1424739

    Flowplay seems to be used by jove.com

    https://www.jove.com/video/59612/3d-kinematic-gait-analysis-for-preclinical-studies-in-rodents

    Take the above URL as an example, it will use .ts files like this (via Google Chrome devtools)

    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_3.ts

    But I am not sure how to make the .ts file viewable locally.

    https://askubuntu.com/questions/3645/how-do-i-convert-ts-files-into-something-useful

    I tried something like this. But I always get errors.

    $ ffmpeg -i 50191_1.ts -c:v libx264 -crf 0 -c:a copy output.mp4
    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
     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
    50191_1.ts: Invalid data found when processing input

    Does anybody know how to convert the .ts files ?

    EDIT : I got something like this.

    $ cat 59612_.m3u8
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:17
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-KEY:METHOD=AES-128,URI="https://cloudflare2.jove.com/CDNSource/hls/59612/59612.key"
    #EXTINF:16.683333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_0.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_1.ts
    #EXTINF:6.606600,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_2.ts
    #EXTINF:16.683333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_3.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_4.ts
    #EXTINF:10.877533,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_5.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_6.ts
    #EXTINF:7.907900,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_7.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_8.ts
    #EXTINF:10.910900,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_9.ts
    #EXTINF:9.676333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_10.ts
    #EXTINF:8.375033,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_11.ts
    #EXTINF:12.645967,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_12.ts
    #EXTINF:13.146467,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_13.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_14.ts
    #EXTINF:6.840167,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_15.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_16.ts
    #EXTINF:10.877533,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_17.ts
    #EXTINF:16.683333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_18.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_19.ts
    #EXTINF:6.706700,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_20.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_21.ts
    #EXTINF:16.683333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_22.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_23.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_24.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_25.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_26.ts
    #EXTINF:16.649967,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_27.ts
    #EXTINF:8.308300,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_28.ts
    #EXTINF:8.308300,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_29.ts
    #EXTINF:5.672333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_30.ts
    #EXTINF:10.677333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_31.ts
    #EXTINF:16.683333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_32.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_33.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_34.ts
    #EXTINF:7.507500,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_35.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_36.ts
    #EXTINF:16.683333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_37.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_38.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_39.ts
    #EXTINF:7.273933,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_40.ts
    #EXTINF:16.683333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_41.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_42.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_43.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_44.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_45.ts
    #EXTINF:16.683333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_46.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_47.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_48.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_49.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_50.ts
    #EXTINF:16.683333,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_51.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_52.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_53.ts
    #EXTINF:13.079733,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_54.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_55.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_56.ts
    #EXTINF:13.113100,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_57.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_58.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_59.ts
    #EXTINF:8.341667,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_60.ts
    #EXTINF:6.573233,
    https://cloudflare2.jove.com/CDNSource/hls/59612/59612_61.ts
    #EXT-X-ENDLIST
  • Input seeking for frame at specified timestamp with Py-AV

    9 décembre 2019, par neonScarecrow

    I have a project already using Py-AV and am trying to replicate a specific ffmpeg command. The goal is to get a frame roughly around the specified timestamp.

    Here’s the ffmpeg commmand :
    https://trac.ffmpeg.org/wiki/Seeking

    ffmpeg -ss 14 -i https://some_url.mp4 -frames:v 1 frame_at_14_seconds.jpg

    Here’s my code :

       #return one frame around 14 seconds into the movie
       target_sec = 14
       container = av.open('https://some_url.mp4', 'r')
       container.streams.video[0].thread_type = 'AUTO'
       video_stream = next(s for s in container.streams if s.type == 'video')
       time_base = float(video_stream.time_base)
       target_timestamp = int(target_sec / time_base) + video_stream.start_time
       video_stream.seek(target_timestamp)
       for frame in container.decode(video_stream):
           frame.to_image().save('frame_at_14_seconds.jpg')
           break

    Additionally, I have found any documentation about this, but does anyone know if either command (ffmpeg/av.open) is downloading the entire file to a tmp file behind the scenes. I’m looking for a less memory-intensive way to read a frame for every second in an up to 60 second video.

  • Adding HEVC reference decoder to ffmpeg framework

    4 mars 2014, par Zax

    I have a tweaked HM reference code of HEVC Decoder based on my requirements. I also know that FFMPEG version 2.1 onwards supports HEVC. But its a necessity for me to integrate my modified HM code.

    Hence I have gone through the post :

    http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto

    According to this post, I need to define some functions that are needed to add a new decoder support to FFMPEG framework.

    The structure is : typedef struct AVCodec

    I have defined a structure as shown below :

    AVCodec HMHEVC_decoder =
    {
       .name           = "hmhevc",
       .type           = AVMEDIA_TYPE_VIDEO,
       .id             = AV_CODEC_ID_HMHEVC,

       .init           = hmhevc_decode_init,
       .close          = hmhevc_decode_close,
       .decode         = hmhevc_decode_frame,
    };

    However, looking at the other examples, I feel I have to add another variable like :

       .priv_data_size = sizeof(HEVCContext),

    But the problem is that I don't have any such context. So in case I don't define this, what are the things that FFMPEG framework wont provide my decoder ?

    Also is definition of this private data context compulsary ?

    What are the other fields that have to be compulsorily defined ?

    My main intention is that FFPLAY should be able to play the decoded frame.