Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (53)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

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

Sur d’autres sites (10808)

  • Evolution #4754 : Mettre à jeu le jeu des icônes de extensions

    30 avril 2021, par b b
  • How to convert .ts with missing parts to .mp4 ?

    9 octobre 2019, par Dmitriy

    Upload m3u8 stream to ts file.
    Stream options :

    #EXT-X-STREAM-INF:BANDWIDTH=4325183,RESOLUTION=1920x1080,CODECS="avc1.4d4028,mp4a.40.2"

    The stream consists of chunks (example) :

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:2
    #EXT-X-MEDIA-SEQUENCE:141
    #EXTINF:2,
    l_476743_286000_141.ts
    #EXTINF:2,
    l_476743_288000_142.ts
    #EXTINF:2,
    l_476743_290000_143.ts

    When loading, sometimes errors occur and some parts are not written to the file. At the output, I get a file with something like this :

    Input #0, mpegts, from 'file.ts':
     Duration: 00:10:04.03, start: 460.000000, bitrate: 3944 kb/s
     Program 1
       Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080, 30 fps, 30 tbr, 90k tbn, 60 tbc
       Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 134 kb/s

    I need to convert ts to mp4. If I run FFmpeg like this :

    ffmpeg -i file.ts -c copy file.mp4

    Output file with low fps :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.20.100
     Duration: 00:09:40.09, start: 0.000000, bitrate: 3984 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080, 3851 kb/s, 28.81 fps, 30 tbr, 90k tbn, 60 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 123 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    The output file is invalid, at the moment of skipping a freeze frame appears, and the audio goes on. As a result, the audio ends faster than the video. How to convert ts with missing parts to mp4 ?

    UPDATE

    $ ffmpeg -v error -i file.ts -f null -
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 60 >= 60
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 120 >= 120
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 180 >= 180
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 240 >= 240
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 300 >= 300
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 360 >= 360
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 420 >= 420
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 480 >= 480
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 540 >= 540
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 600 >= 600
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 660 >= 660
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 720 >= 720
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 780 >= 780
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 840 >= 840
    [null @ 0x7fe9ae802c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 900 >= 900
    ...
  • FFMPEG convert an mp3 into multi-part

    8 juin 2012, par HotHeadMartin

    I'm trying to find out is it possible to use ffmpeg to converter an audio file into multi-part audio file E.G i have a 3 min mp3 audio track i want to 12, 15 second MP3's

    I know i can do it though lots of different called E.G

    ffmpeg -f mp3 -i /path/to/file.mp3 -t  00:00:15[.000] -ss 00:00:00[.000] -y /path/to/save.mp3
    ffmpeg -f mp3 -i /path/to/file.mp3 -t  00:00:15[.000] -ss 00:00:15[.000] -y /path/to/save.mp3
    ...

    But im trying to find a single command line to do it if not does any one know of any Open Source application that can do it for me ?

    The other problem with the above is that i'm wanting to run this from within a c# application with different files and different sizes and i dont want my application to be doing math to calculate the different points i need to run the code from