Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (101)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • fftools/ffmpeg : fix -t inaccurate recording time

    15 mai 2021, par Shiwang.Xie
    fftools/ffmpeg : fix -t inaccurate recording time
    

    if input start time is not 0 -t is inaccurate doing stream copy,
    will record extra duration according to input start time.
    it should base on following cases :

    input video start time from 60s, duration is 300s,
    1. stream copy :
    ffmpeg -ss 40 -t 60 -i in.mp4 -c copy -y out.mp4
    open_input_file() will seek to 100 and set ts_offset to -100,
    process_input() will offset pkt->pts with ts_offset to make it 0,
    so when do_streamcopy() with -t, exits when ist->pts >= recording_time.

    2. stream copy with -copyts :
    ffmpeg -ss 40 -t 60 -copyts -i in.mp4 -c copy -y out.mp4
    open_input_file() will seek to 100 and set ts_offset to 0,
    process_input() will keep raw pkt->pts as ts_offset is 0,
    so when do_streamcopy() with -t, exits when
    ist->pts >= (recording_time>start_time>ctx->start_time).

    3. stream copy with -copyts -start_at_zero :
    ffmpeg -ss 40 -t 60 -copyts -start_at_zero -i in.mp4 -c copy -y out.mp4
    open_input_file() will seek to 120 and set ts_offset to -60 as start_to_zero option,
    process_input() will offset pkt->pts with input file start time,
    so when do_streamcopy() with -t, exits when ist->pts >= (recording_time>start_time).

    0 60 40 60 360

    _______ _____ _______ _______________________

    start -ss -t

    This fixes ticket #9141.

    Signed-off-by : Shiwang.Xie <shiwang.xie666@outlook.com>

    • [DH] fftools/ffmpeg.c
  • How to download .m3u8 in once time

    11 octobre 2024, par Nabi K.A.Z.

    I have a .m3u8 file on remote host, with contain fixed numbers of chunk .ts file name, and not stream :

    &#xA;&#xA;

    #EXTM3U&#xA;#EXT-X-VERSION:3&#xA;#EXT-X-TARGETDURATION:11&#xA;#EXT-X-MEDIA-SEQUENCE:0&#xA;#EXTINF:9.736,&#xA;media_0.ts&#xA;#EXTINF:9.96,&#xA;media_1.ts&#xA;#EXTINF:10.0,&#xA;media_2.ts&#xA;#EXTINF:10.0,&#xA;media_3.ts&#xA;#EXTINF:10.0,&#xA;media_4.ts&#xA;#EXTINF:10.2,&#xA;media_5.ts&#xA;#EXTINF:10.0,&#xA;

    &#xA;&#xA;

    When I use this command :

    &#xA;&#xA;

    # ffmpeg -i "http://example.com/chunklist.m3u8" file.mp4&#xA;&#xA;frame=  582 fps=9.4 q=28.0 size=    1536kB time=00:00:23.21 bitrate= 542.1kbits/s dup=2 drop=4 speed=0.375x&#xA;

    &#xA;&#xA;

    It works. But It get frame by frame video and very long time needed. (It takes time almost to playback the video.)

    &#xA;&#xA;

    But since the path of all the .ts files are known. (http://example.com/media_0.ts, http://example.com/media_1.ts, ...) There must be a way to get and merge them all at the same time.

    &#xA;&#xA;

    But How in ffmpeg directly ?!

    &#xA;&#xA;

    EDIT (try a solution) :

    &#xA;&#xA;

    For one solution, I know how can concatenation files with ffmpeg.

    &#xA;&#xA;

    ffmpeg -i "concat:0.ts|1.ts|2.ts|3.ts|4.ts|5.ts" -c copy output.mp4&#xA;

    &#xA;&#xA;

    This ffmpeg command was great, and works in less 1 sec time !

    &#xA;&#xA;

    So try to download all .ts files with CURL with this command :

    &#xA;&#xA;

    curl \&#xA;http://example.com/media_0.ts -o 0.ts \&#xA;http://example.com/media_1.ts -o 1.ts \&#xA;http://example.com/media_2.ts -o 2.ts \&#xA;http://example.com/media_3.ts -o 3.ts \&#xA;http://example.com/media_4.ts -o 4.ts \&#xA;http://example.com/media_5.ts -o 5.ts&#xA;

    &#xA;&#xA;

    But you can see result :

    &#xA;&#xA;

      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current&#xA;                                 Dload  Upload   Total   Spent    Left  Speed&#xA;100  687k  100  687k    0     0  75108      0  0:00:09  0:00:09 --:--:-- 74111&#xA;100  652k  100  652k    0     0  59404      0  0:00:11  0:00:11 --:--:-- 53400&#xA;100  673k  100  673k    0     0  48675      0  0:00:14  0:00:14 --:--:-- 55781&#xA;100  657k  100  657k    0     0  63573      0  0:00:10  0:00:10 --:--:-- 62494&#xA;100  671k  100  671k    0     0  39019      0  0:00:17  0:00:17 --:--:-- 40863&#xA;100  692k  100  692k    0     0  63480      0  0:00:11  0:00:11 --:--:-- 80049&#xA;

    &#xA;&#xA;

    See, total download time was 72 sec, while the total duration of all parts is 59 sec ! that this time is very long !

    &#xA;&#xA;

    So sorry, download all parts and then concat that, was not good solution.

    &#xA;&#xA;

    EDIT 2

    &#xA;&#xA;

    I try for another .m3u8 file on the another server with difference URL :

    &#xA;&#xA;

    Download and concat together :

    &#xA;&#xA;

    ffmpeg -i "concat:\&#xA;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_0.ts|\&#xA;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_1.ts|\&#xA;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_2.ts|\&#xA;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_3.ts|\&#xA;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_4.ts|\&#xA;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_5.ts\&#xA;" -c copy -y output.ts&#xA;

    &#xA;&#xA;

    Another command with input.txt URLs file.

    &#xA;&#xA;

    ffmpeg -f "concat" -i "input.txt" -c copy -y output.ts&#xA;

    &#xA;&#xA;

    input.txt file :

    &#xA;&#xA;

    file &#x27;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_0.ts&#x27;&#xA;file &#x27;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_1.ts&#x27;&#xA;file &#x27;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_2.ts&#x27;&#xA;file &#x27;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_3.ts&#x27;&#xA;file &#x27;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_4.ts&#x27;&#xA;file &#x27;http://184.72.239.149/vod/smil:BigBuckBunny.smil/media_w442897525_b560000_5.ts&#x27;&#xA;

    &#xA;&#xA;

    Or this command some time if needed :

    &#xA;&#xA;

    ffmpeg -f "concat" -safe "0" -protocol_whitelist "file,http,https,tcp,tls" -i "input.txt" -c copy -y output.ts&#xA;

    &#xA;&#xA;

    Finally, for that download speed was good, MAYBE my server target has limited bandwidth. :-(

    &#xA;

  • Wrong start time with encoded file ?

    13 décembre 2022, par Michael

    I get a encoded file and with ffprobe I saw it like :enter image description here&#xA;But I have already set start_time in AVStream to zero, where this start time comes from ? I guess I have some uninitialized param somewhere..

    &#xA;