Recherche avancée

Médias (0)

Mot : - Tags -/navigation

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

Autres articles (106)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • La gestion des forums

    3 novembre 2011, par

    Si les forums sont activés sur le site, les administrateurs ont la possibilité de les gérer depuis l’interface d’administration ou depuis l’article même dans le bloc de modification de l’article qui se trouve dans la navigation de la page.
    Accès à l’interface de modération des messages
    Lorsqu’il est identifié sur le site, l’administrateur peut procéder de deux manières pour gérer les forums.
    S’il souhaite modifier (modérer, déclarer comme SPAM un message) les forums d’un article particulier, il a à sa (...)

Sur d’autres sites (8379)

  • ffmpeg hls output files - hosting on cdn and conflicting fileNamespaces

    24 avril 2018, par Robert Rowntree

    env - ffmpeg running on cloud
    ffmpeg outputs 2, tmp files < m3u8, binData.ts >

    CDN hosting means the cloud-temp files above need to be uploaded from temp FS on cloud host where ffmpeg is run to final CDN for media. This uploading changes the file names , breaking the fileRef contained in the .m3u8 pointing to ’binData.ts’

    Possible workaround -

    upload binData.ts to the CDN as a single, unacompanied file, wait for CDN response to this file POST , using the response with ’newPrefixCDN-binData.ts’ to run a SED-script editing the original .m3u8 < details on edit below >

    and then uploading the edited m3u8 to the CDN where it correctly points at its binData.ts.

    Im reluctant to code this workaround.

    Is there a better way of doing this ? like using some lib

    Details

    ffmpeg ... -hls_playlist_type vod -hls_segment_filename binData_%03d.ts my.m3u8

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-ALLOW-CACHE:YES
    #EXT-X-TARGETDURATION:10
    #EXTINF:10.000000,
    binData_000.ts

    but then uploading ’binData.ts’ to CDN results in name change to

    /S3-bucket/dd911142f64f-binData_000.ts

    and without an edit , the original m3u8 output from ffmpeg now points at nothing ??

    #EXT-X-TARGETDURATION:10
    #EXTINF:10.000000,
    binData_000.ts   ****  changed after upload to CDN, could be edited

    —PS—
    AFAIK .. native, mobile browsers and html5 syntax seem to want 2, related , static files on the CDN that preserve a line in .m3u8 pointing to the static dot-ts file...

    <video class="vjs-tech" tabindex="-1"><source src="https://s3.eu-west-2.amazonaws.com/mybucket/my.m3u8" type="application/x-mpegURL"></source></video>
    ...

       #EXT-X-TARGETDURATION:10
       #EXTINF:10.000000,
       {CDN-prefix}-binData_000.ts

    ...

    static file in CDN of type ’.ts’ with the prefixed, CDN name above

    CDN-prefix-binData_000.ts

  • Linux : Create a file for writing with controlled flushing to disk in large chunks [closed]

    12 août 2023, par Pete

    On Linux I have a process (ffmpeg) that writes very slowly (even slower than 1kb / s sometimes) to disk. Ffmpeg can buffer this to 256kb chunks that get written infrequently but ffmpeg hangs occasionally and if I try to detect these hangs by checking that the file is being updated I need to wait a long time between updates, up to 10 or 15 mins, otherwise I can sometimes mistakenly kill the ffmpeg process when it appears to have stopped writing when it fact its still filling its internal buffer.

    &#xA;

    Theres no way to detect this it seems unless I use strace (that I can find anyway). So I am wondering about turning off buffering in ffmpeg and writing unbuffered to disk from ffmpeg.

    &#xA;

    This will result in the disk constantly making tiny writes and wasting power (and probably, if I use a SSD, mess with wear levelling too).

    &#xA;

    So I would like to make ffmpeg write to a 'virtual file' (in memory - either kernel memory or a process) which I can specify the flushing characteristics of. The idea being to perhaps specify flush every 2 minutes, then I can keep an eye on the file size and make sure its still being written.

    &#xA;

    I don't think I've missed any other ways to do this job - even if I could watch the socket stream incoming to ffpmeg the process itself could still stop writing and lose data. Doing the buffering outside of ffmpeg seems like the best way.

    &#xA;

    Is there a built in way to do this in Linux or does it mean a custom process ? I guess I know how to do this with a small C program and pipe the data in but I wonder if theres a neater way.

    &#xA;

  • lavu/tx : improve 3-point fixed precision

    14 février 2020, par Lynne
    lavu/tx : improve 3-point fixed precision
    

    There's just no reason not to when its so easy (albeit messy) and its also
    reducing the precision of all non-power-of-two transforms that use it.

    • [DH] libavutil/tx_priv.h
    • [DH] libavutil/tx_template.c