Recherche avancée

Médias (91)

Autres articles (65)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (11388)

  • I could not encode using the Intel® Media Server Studio on the ZOTAC ZBOX PI225

    22 avril 2018, par Ubunkun

    I’ve succeeded to install the Intel® Media Server Studio to the
    ZOTAC ZBOX PI225. And, I’ve built the ffmepg as following.

    $ ffmpeg -codecs | grep qsv
    ffmpeg version N-90764-g396c019 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
     configuration: --enable-libmfx
     libavutil      56. 15.100 / 56. 15.100
     libavcodec     58. 19.100 / 58. 19.100
     libavformat    58. 13.100 / 58. 13.100
     libavdevice    58.  4.100 / 58.  4.100
     libavfilter     7. 18.100 /  7. 18.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
    DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_qsv ) (encoders: h264_qsv h264_vaapi )
    DEV.L. hevc                 H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_qsv ) (encoders: hevc_qsv hevc_vaapi )
    DEVIL. mjpeg                Motion JPEG (encoders: mjpeg mjpeg_qsv mjpeg_vaapi )
    DEV.L. mpeg2video           MPEG-2 video (decoders: mpeg2video mpegvideo mpeg2_qsv ) (encoders: mpeg2video mpeg2_qsv mpeg2_vaapi )
    D.V.L. vc1                  SMPTE VC-1 (decoders: vc1 vc1_qsv )
    DEV.L. vp8                  On2 VP8 (decoders: vp8 vp8_qsv ) (encoders: vp8_vaapi )

    When I’ve tried to encode using ffmpeg, but It occurred error as below.

    $ ffmpeg -i original.avi -c:v h264_qsv -profile:v main -b:v 2000k -r 30 -s 1280x720  -look_ahead 0 qsv.mp4
    ffmpeg version N-90764-g396c019 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
     configuration: --enable-libmfx
     libavutil      56. 15.100 / 56. 15.100
     libavcodec     58. 19.100 / 58. 19.100
     libavformat    58. 13.100 / 58. 13.100
     libavdevice    58.  4.100 / 58.  4.100
     libavfilter     7. 18.100 /  7. 18.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
    Input #0, avi, from 'original.avi':
     Metadata:
       encoder         : FairUse Wizard - http://fairusewizard.com
     Duration: 01:41:12.11, start: 0.000000, bitrate: 965 kb/s
       Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 592x304 [SAR 1:1 DAR 37:19], 828 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
       Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (h264_qsv))
     Stream #0:1 -> #0:1 (mp3 (mp3float) -> aac (native))
    Press [q] to stop, [?] for help
    [mpeg4 @ 0x2fe5700] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it.
    [h264_qsv @ 0x2fce7c0] Encoder will work with partial HW acceleration
    [h264_qsv @ 0x2fce7c0] Error initializing the encoder: invalid video parameters (-15)
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    [aac @ 0x2ff0e00] Qavg: 14764.986
    [aac @ 0x2ff0e00] 2 frames left in the queue on closing
    Conversion failed!

    It seems like that something of parameter missing, I think.

    If you have an idea to solve this, let me know.

    Bests,

  • Destreamer (FFMPEG / Youtube-DL) - Can't download video, Invalid DTS, Invalid timestamps message

    1er avril 2020, par toprun91

    I'm using Destreamer a program that essentially lets you download microsoft stream videos by passing a key URL with a cookie down to Youtube-dl which then calls into ffmpeg.

    



    Whenever I try to download a video using this program I get tons of repeating lines of text (errors ?) like this :

    



    [hls @ 000002487687c880] Invalid timestamps stream=0, pts=56400120, dts=56402820, size=6081
[mp4 @ 0000024876f525c0] Invalid DTS: 53717850 PTS: 53715150 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56406060, dts=56412090, size=6145
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56412090, dts=56414880, size=6515
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56406060, dts=56412090, size=6145
[mp4 @ 0000024876f525c0] Invalid DTS: 53727120 PTS: 53721090 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56412090, dts=56414880, size=6515
[mp4 @ 0000024876f525c0] Invalid DTS: 53729910 PTS: 53727120 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56418030, dts=56420820, size=6780
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56418030, dts=56420820, size=6780
[mp4 @ 0000024876f525c0] Invalid DTS: 53735850 PTS: 53733060 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56424060, dts=56430090, size=6668
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56430090, dts=56432880, size=6995
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56424060, dts=56430090, size=6668
[mp4 @ 0000024876f525c0] Invalid DTS: 53745120 PTS: 53739090 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56430090, dts=56432880, size=6995
[mp4 @ 0000024876f525c0] Invalid DTS: 53747910 PTS: 53745120 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56436120, dts=56442060, size=6342
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56442060, dts=56444850, size=6110
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56436120, dts=56442060, size=6342
[mp4 @ 0000024876f525c0] Invalid DTS: 53757090 PTS: 53751150 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56442060, dts=56444850, size=6110
[mp4 @ 0000024876f525c0] Invalid DTS: 53759880 PTS: 53757090 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56448090, dts=56454030, size=5750
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56454030, dts=56456820, size=6514
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56448090, dts=56454030, size=5750
[mp4 @ 0000024876f525c0] Invalid DTS: 53769060 PTS: 53763120 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56454030, dts=56456820, size=6514
[mp4 @ 0000024876f525c0] Invalid DTS: 53771850 PTS: 53769060 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56460060, dts=56466090, size=6843
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56466090, dts=56468880, size=7053
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56460060, dts=56466090, size=6843
[mp4 @ 0000024876f525c0] Invalid DTS: 53781120 PTS: 53775090 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56466090, dts=56468880, size=7053
[mp4 @ 0000024876f525c0] Invalid DTS: 53783910 PTS: 53781120 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56472120, dts=56478060, size=6297
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56478060, dts=56480850, size=6633
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56472120, dts=56478060, size=6297
[mp4 @ 0000024876f525c0] Invalid DTS: 53793090 PTS: 53787150 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56478060, dts=56480850, size=6633
[mp4 @ 0000024876f525c0] Invalid DTS: 53795880 PTS: 53793090 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56484090, dts=56490120, size=6026
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56490120, dts=56492820, size=6428
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56484090, dts=56490120, size=6026
[mp4 @ 0000024876f525c0] Invalid DTS: 53805150 PTS: 53799120 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56490120, dts=56492820, size=6428
[mp4 @ 0000024876f525c0] Invalid DTS: 53807850 PTS: 53805150 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56496060, dts=56502090, size=5738
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56502090, dts=56504880, size=5911
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56496060, dts=56502090, size=5738
[mp4 @ 0000024876f525c0] Invalid DTS: 53817120 PTS: 53811090 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56502090, dts=56504880, size=5911
[mp4 @ 0000024876f525c0] Invalid DTS: 53819910 PTS: 53817120 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56508030, dts=56514060, size=5860
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56514060, dts=56516850, size=6851
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56508030, dts=56514060, size=5860
[mp4 @ 0000024876f525c0] Invalid DTS: 53829090 PTS: 53823060 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56514060, dts=56516850, size=6851
[mp4 @ 0000024876f525c0] Invalid DTS: 53831880 PTS: 53829090 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56520090, dts=56526120, size=7342
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56526120, dts=56528820, size=7951
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56520090, dts=56526120, size=7342
[mp4 @ 0000024876f525c0] Invalid DTS: 53841150 PTS: 53835120 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56526120, dts=56528820, size=7951
[mp4 @ 0000024876f525c0] Invalid DTS: 53843850 PTS: 53841150 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56532060, dts=56538090, size=7998
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56538090, dts=56540790, size=8181
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56532060, dts=56538090, size=7998
[mp4 @ 0000024876f525c0] Invalid DTS: 53853120 PTS: 53847090 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56538090, dts=56540790, size=8181
[mp4 @ 0000024876f525c0] Invalid DTS: 53855820 PTS: 53853120 in output stream 0:0, replacing by guess
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56544030, dts=56550060, size=8707
[mpegts @ 0000024876dec540] Invalid timestamps stream=0, pts=56550060, dts=56552850, size=8878
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56544030, dts=56550060, size=8707
[mp4 @ 0000024876f525c0] Invalid DTS: 53865090 PTS: 53859060 in output stream 0:0, replacing by guess
[hls @ 000002487687c880] Invalid timestamps stream=0, pts=56550060, dts=56552850, size=8878
[mp4 @ 0000024876f525c0] Invalid DTS: 53867880 PTS: 53865090 in output stream 0:0, replacing by guess


    



    This continues to fill the screen and scroll with the same type of lines of text and then after a couple of hours it does eventually download the video but without sound.

    



    I am trying to work out why this is happening and why the video downloads without sound.

    



    Some key information :

    



      

    • I am using windows + powershell but also experience the same thing on
Linux (Kubuntu)
    • 


    • I am using the latest versions of FFMPEG, youtube-dl node.js
    • 


    • The program (destreamer) brings up a chromium window to authenticate.
In the Chromium window the video doesn't actually play properly and
gives Error code 0x20400003 The video plays fine in all other
browsers I have including Edge, Chrome, and Firefox
    • 


    



    Thanks for your help !

    


  • ffmpeg encoded mp4 with faststart not playing in firefox [duplicate]

    12 mars 2018, par adam smith

    This question already has an answer here :

    i am having problems getting mp4 files encoded by ffmpeg to play using firefox without it downloading the entire thing first ; while chrome plays immediately. I am using ffmpeg to encode the mp4 and applying ’-movflags faststart’ to make sure the moov atom is at the start, and i have used Atomic Parsely to check the output structure.

    I have checked that the server is using byte range etc, all good and other files are working well.

    I have compared the Atomic Parsely return from a file encoded using flipfactory that does playback in firefox immediately ; its moov atom contains a iod atom that is not present in the ffmpeg encoding.

    example of ffmpeg command :

    -i source_file_path -c:v libx264 -vf scale=1024 :-1 -preset veryfast -b:v 1000k -ac 2 -bsf:a aac_adtstoasc -b:a 128k -movflags faststart -f mp4 proxy_output_path

    example of ffmpeg output :

    Atom ftyp @ 0 of size : 32, ends @ 32
    Atom moov @ 32 of size : 6879133, ends @ 6879165
    Atom mvhd @ 40 of size : 108, ends @ 148
    Atom trak @ 148 of size : 3567272, ends @ 3567420
    Atom tkhd @ 156 of size : 92, ends @ 248
    Atom edts @ 248 of size : 36, ends @ 284
    Atom elst @ 256 of size : 28, ends @ 284
    Atom tref @ 284 of size : 20, ends @ 304
    Atom tmcd @ 292 of size : 12, ends @ 304
     
    Atom mdia @ 304 of size : 3567116, ends @ 3567420
    Atom mdhd @ 312 of size : 32, ends @ 344
    Atom hdlr @ 344 of size : 45, ends @ 389
    Atom minf @ 389 of size : 3567031, ends @ 3567420
    Atom vmhd @ 397 of size : 20, ends @ 417
    Atom dinf @ 417 of size : 36, ends @ 453
    Atom dref @ 425 of size : 28, ends @ 453
    Atom stbl @ 453 of size : 3566967, ends @ 3567420
    Atom stsd @ 461 of size : 151, ends @ 612
    Atom avc1 @ 477 of size : 135, ends @ 612
    Atom avcC @ 563 of size : 49, ends @ 612
    Atom stts @ 612 of size : 24, ends @ 636
    Atom stss @ 636 of size : 5736, ends @ 6372
    Atom ctts @ 6372 of size : 1734376, ends @ 1740748
    Atom stsc @ 1740748 of size : 40, ends @ 1740788
    Atom stsz @ 1740788 of size : 913320, ends @ 2654108
    Atom stco @ 2654108 of size : 913312, ends @ 3567420

    example of flipfactory output :

    Atom ftyp @ 0 of size : 24, ends @ 24
    Atom moov @ 24 of size : 561374, ends @ 561398
    Atom mvhd @ 32 of size : 108, ends @ 140
    Atom iods @ 140 of size : 33, ends @ 173
    Atom trak @ 173 of size : 268275, ends @ 268448
    Atom tkhd @ 181 of size : 92, ends @ 273
    Atom mdia @ 273 of size : 268175, ends @ 268448
    Atom mdhd @ 281 of size : 32, ends @ 313
    Atom hdlr @ 313 of size : 68, ends @ 381
    Atom minf @ 381 of size : 268067, ends @ 268448
    Atom smhd @ 389 of size : 16, ends @ 405
    Atom dinf @ 405 of size : 36, ends @ 441
    Atom dref @ 413 of size : 28, ends @ 441
    Atom stbl @ 441 of size : 268007, ends @ 268448
    Atom stsd @ 449 of size : 91, ends @ 540
    Atom mp4a @ 465 of size : 75, ends @ 540
    Atom esds @ 501 of size : 39, ends @ 540
    Atom stts @ 540 of size : 24, ends @ 564
    Atom stsc @ 564 of size : 22324, ends @ 22888
    Atom stsz @ 22888 of size : 234212, ends @ 257100
    Atom stco @ 257100 of size : 11348, ends @ 268448

    i am not sure that adding the iod atom will resolve the issue, but thats all i can see that is different. I cannot however find anything in the ffmpeg documentation that seems to help.

    any recommendations for resolving using ffmpeg would be great.