Recherche avancée

Médias (0)

Mot : - Tags -/navigation

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

Autres articles (55)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (8814)

  • avcodec/adpcm_ima_{apc, ssi, oki} : replace while() with for()

    18 avril 2020, par Zane van Iperen
    avcodec/adpcm_ima_apc, ssi, oki : replace while() with for()
    

    Per discussion at https://ffmpeg.org/pipermail/ffmpeg-devel/2020-April/260854.html

    Signed-off-by : Zane van Iperen <zane@zanevaniperen.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/adpcm.c
  • ffmpeg overlay timing issue

    22 avril 2020, par Mario Iannotta

    I'm trying to add a png as overlay to a mov video with ffmpeg (version 4.2.2) using the following command :

    &#xA;&#xA;

    ffmpeg -i ./input.mov -i ./overlay.png -y -filter_complex "overlay=enable=&#x27;between(t,1,4)&#x27;" ./output.mp4

    &#xA;&#xA;

    Now my understanding of overlay=enable=&#x27;between(t,1,4) is that the overlay will be added at one second and will be removed at 4 seconds since the begin of the video but the output is somehow different.

    &#xA;&#xA;

    The overlay is added at roughly 2:66 and it is removed at 5:14.

    &#xA;&#xA;

    Trying with different values result in even more confusing outputs.

    &#xA;&#xA;

    eg :

    &#xA;&#xA;

      &#xA;
    • between(t,3,10) —> 3:12 | 11:05

    • &#xA;

    • between(t,2,7) —> 2:65 | 7:22

    • &#xA;

    • between(t,1,2) —> the overlay is not added ad all

    • &#xA;

    &#xA;&#xA;

    The metadata of the input video are the following

    &#xA;&#xA;

      Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 0&#xA;    compatible_brands: qt&#xA;    creation_time   : 2020-04-19T08:09:00.000000Z&#xA;  Duration: 00:00:14.84, start: 0.053333, bitrate: 849 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt709/unknown), 828x1792 [SAR 1:1 DAR 207:448], 848 kb/s, 23.34 fps, 600 tbr, 600 tbn, 1200 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-04-19T08:09:00.000000Z&#xA;      handler_name    : Core Media Video&#xA;      encoder         : H.264&#xA;

    &#xA;&#xA;

    I also tried to convert the video to mp4 (with ffmpeg -i input.mov -vcodec copy -acodec copy out.mp4) before applying the overlay but the issue is still there.

    &#xA;&#xA;

    Edit : I downloaded a test mp4 video and the command is working as expected so it is definitely something wrong with my input video. Any idea what it is ?

    &#xA;&#xA;

    Edit 2 : Here's the output of ffmpeg command :

    &#xA;&#xA;

    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with Apple clang version 11.0.0 (clang-1100.0.33.17)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;./input.mov&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 0&#xA;    compatible_brands: qt&#xA;    creation_time   : 2020-04-22T07:49:31.000000Z&#xA;  Duration: 00:00:17.80, start: 0.051667, bitrate: 1097 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/unknown/unknown), 750x1334 [SAR 1:1 DAR 375:667], 1097 kb/s, 12.96 fps, 60 tbr, 600 tbn, 1200 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-04-22T07:49:31.000000Z&#xA;      handler_name    : Core Media Video&#xA;      encoder         : H.264&#xA;Input #1, png_pipe, from &#x27;./overlay.png&#x27;:&#xA;  Duration: N/A, bitrate: N/A&#xA;    Stream #1:0: Video: png, rgba(pc), 83x128, 25 tbr, 25 tbn, 25 tbc&#xA;Stream mapping:&#xA;  Stream #0:0 (h264) -> overlay:main&#xA;  Stream #1:0 (png) -> overlay:overlay&#xA;  overlay -> Stream #0:0 (libx264)&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0x7fcad0001200] using SAR=1/1&#xA;[libx264 @ 0x7fcad0001200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0x7fcad0001200] profile High, level 4.0&#xA;[libx264 @ 0x7fcad0001200] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mp4, to &#x27;./output.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 0&#xA;    compatible_brands: qt&#xA;    encoder         : Lavf58.29.100&#xA;    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 750x1334 [SAR 1:1 DAR 375:667], q=-1--1, 60 fps, 15360 tbn, 60 tbc (default)&#xA;    Metadata:&#xA;      encoder         : Lavc58.54.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1&#xA;frame=  326 fps=0.0 q=31.0 size=       0kB time=00:00:04.35 bitrate=   0.1kbits/frame=  499 fps=461 q=31.0 size=     256kB time=00:00:07.23 bitrate= 290.0kbits/frame=  830 fps=494 q=31.0 size=     512kB time=00:00:12.75 bitrate= 329.0kbits/frame=  956 fps=491 q=-1.0 Lsize=     593kB time=00:00:15.88 bitrate= 306.0kbits/s dup=726 drop=0 speed=8.16x&#xA;video:581kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.030694%&#xA;[libx264 @ 0x7fcad0001200] frame I:6     Avg QP:18.73  size: 30783&#xA;[libx264 @ 0x7fcad0001200] frame P:288   Avg QP:21.57  size:  1150&#xA;[libx264 @ 0x7fcad0001200] frame B:662   Avg QP:30.94  size:   119&#xA;[libx264 @ 0x7fcad0001200] consecutive B-frames:  4.9%  6.9%  4.1% 84.1%&#xA;[libx264 @ 0x7fcad0001200] mb I  I16..4: 19.1% 64.5% 16.4%&#xA;[libx264 @ 0x7fcad0001200] mb P  I16..4:  0.8%  0.9%  0.5%  P16..4:  2.4%  0.4%  0.1%  0.0%  0.0%    skip:94.9%&#xA;[libx264 @ 0x7fcad0001200] mb B  I16..4:  0.0%  0.1%  0.0%  B16..8:  1.8%  0.0%  0.0%  direct: 0.0%  skip:98.0%  L0:43.8% L1:55.9% BI: 0.3%&#xA;[libx264 @ 0x7fcad0001200] 8x8 transform intra:53.9% inter:64.1%&#xA;[libx264 @ 0x7fcad0001200] coded y,uvDC,uvAC intra: 18.2% 20.8% 13.9% inter: 0.1% 0.4% 0.1%&#xA;[libx264 @ 0x7fcad0001200] i16 v,h,dc,p: 35% 63%  1%  1%&#xA;[libx264 @ 0x7fcad0001200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 48% 17% 29%  1%  1%  1%  1%  1%  1%&#xA;[libx264 @ 0x7fcad0001200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 32% 15%  3%  4%  4%  3%  3%  3%&#xA;[libx264 @ 0x7fcad0001200] i8c dc,h,v,p: 71% 21%  7%  1%&#xA;[libx264 @ 0x7fcad0001200] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 0x7fcad0001200] ref P L0: 74.6%  4.0% 13.4%  8.0%&#xA;[libx264 @ 0x7fcad0001200] ref B L0: 80.0% 17.6%  2.3%&#xA;[libx264 @ 0x7fcad0001200] ref B L1: 97.6%  2.4%&#xA;[libx264 @ 0x7fcad0001200] kb/s:298.58&#xA;

    &#xA;

  • ffmpeg : Convert a legally purchased video on Google

    24 avril 2020, par Heycava

    I've bought a video on the Google Play Store. I need to have it on my computer in order to edit it for a video montage. But Google says "Important : You cannot download movies and TV shows onto a PC, Mac, and other laptops or computers."

    &#xA;&#xA;

    The video has a YouTube link. As I paid for it, I can watch it. I've managed to get the video part and the audio thanks to some web tools.&#xA;The video is a .webm file and the audio a .m4a file.

    &#xA;&#xA;

    I can hear the audio with VLC but I can't watch the video. Even if VLC displays "21:42" for the timecode.

    &#xA;&#xA;

    Here are informations for the webm file (from MediaInfo) :

    &#xA;&#xA;

    General&#xA;Complete name                            : XXX\videoplayback.webm&#xA;Format                                   : WebM&#xA;Format version                           : Version 4 / Version 2&#xA;File size                                : 357 MiB&#xA;Duration                                 : 21 min 42 s&#xA;Overall bit rate                         : 2 301 kb/s&#xA;Writing application                      : google/video-file&#xA;Writing library                          : google/video-file&#xA;&#xA;Video&#xA;ID                                       : 1&#xA;Format                                   : VP9&#xA;Codec ID                                 : V_VP9&#xA;Duration                                 : 21 min 42 s&#xA;Bit rate                                 : 2 203 kb/s&#xA;Width                                    : 854 pixels&#xA;Height                                   : 480 pixels&#xA;Display aspect ratio                     : 16:9&#xA;Frame rate mode                          : Constant&#xA;Frame rate                               : 23.976 (24000/1001) FPS&#xA;Bits/(Pixel*Frame)                       : 0.224&#xA;Stream size                              : 342 MiB (96%)&#xA;Language                                 : English&#xA;Default                                  : Yes&#xA;Forced                                   : No&#xA;

    &#xA;&#xA;

    It seems to be a good video file.

    &#xA;&#xA;

    I wanted to convert it with some video converters but none of them works. So I've tried to download ffmpeg, I renamed the video to "video.webm" and tried a lot of commands. But none of them worked.

    &#xA;&#xA;

    Here are informations from ffprobe command :

    &#xA;&#xA;

    C:\Users\XXX\Downloads\ffmpeg-20200424-a501947-win64-static\bin>ffprobe -i video.webm&#xA;

    &#xA;&#xA;

    Results :

    &#xA;&#xA;

    ffprobe version git-2020-04-24-a501947 Copyright (c) 2007-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200328&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 42.102 / 56. 42.102&#xA;  libavcodec     58. 81.100 / 58. 81.100&#xA;  libavformat    58. 42.101 / 58. 42.101&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 79.100 /  7. 79.100&#xA;  libswscale      5.  6.101 /  5.  6.101&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;[vp9 @ 00000284720d5f40] Invalid frame marker&#xA;    Last message repeated 111 times&#xA;[vp9 @ 00000284720d5f40] Profile 4 is not yet supported&#xA;[vp9 @ 00000284720d5f40] Invalid frame marker&#xA;    Last message repeated 6 times&#xA;[matroska,webm @ 00000284720cd840] decoding for stream 0 failed&#xA;[matroska,webm @ 00000284720cd840] Could not find codec parameters for stream 0 (Video: vp9 (Profile 0), none, 854x480): unspecified pixel format&#xA;Consider increasing the value for the &#x27;analyzeduration&#x27; and &#x27;probesize&#x27; options&#xA;Input #0, matroska,webm, from &#x27;video.webm&#x27;:&#xA;  Metadata:&#xA;    encoder         : google/video-file&#xA;  Duration: 00:21:42.05, start: 0.000000, bitrate: 2301 kb/s&#xA;    Stream #0:0(eng): Video: vp9 (Profile 0), none, 854x480, SAR 1:1 DAR 427:240, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)&#xA;    Metadata:&#xA;      enc_key_id      : [24 characters I prefer not to display]&#xA;

    &#xA;&#xA;

    If ever I initiate a conversion, I get :

    &#xA;&#xA;

    [vp9 @ 0000019038a80980] Invalid frame marker&#xA;[vp9 @ 0000019038c0fe40] Invalid frame marker&#xA;[vp9 @ 0000019038c193c0] Invalid frame marker&#xA;[vp9 @ 0000019038c1e780] Invalid frame marker&#xA;[vp9 @ 0000019038c29100] Invalid frame marker&#xA;[vp9 @ 0000019038c324c0] Invalid frame marker&#xA;[vp9 @ 0000019038c3d480] Invalid frame marker&#xA;[vp9 @ 0000019038c47280] Invalid frame marker&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;[vp9 @ 0000019038c4c080] Invalid frame marker&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;[vp9 @ 0000019038a80980] Invalid frame marker&#xA;

    &#xA;&#xA;

    etc.&#xA;Then :

    &#xA;&#xA;

    Error while decoding stream #0:0: Resource temporarily unavailable&#xA;    Last message repeated 243 times&#xA;Error while decoding stream #0:0: Resource temporarily unavailabletrate=  -0.0kbits/s speed=N/A&#xA;    Last message repeated 306 times&#xA;Error while decoding stream #0:0: Resource temporarily unavailabletrate=  -0.0kbits/s speed=N/A&#xA;    Last message repeated 190 times&#xA;

    &#xA;&#xA;

    I've already checked on the Internet solutions for the raised issues :

    &#xA;&#xA;

      &#xA;
    • Invalid frame marker
    • &#xA;

    • unspecified pixel format
    • &#xA;

    • Consider increasing the value for the 'analyzeduration' and 'probesize' options
    • &#xA;

    &#xA;&#xA;

    But it didn't work in my case.

    &#xA;&#xA;

    Obviously, I can watch the video on YouTube when I'm logged into my purchase account. I presume they have a high level security algorithm, that's why I can't do nothing. Mayve there is something with the "enc_key_id" in the metadata, they get it and the video can only be read with it. I don't know.

    &#xA;&#xA;

    I find it unacceptable not to be able to use freely my purchased videos.

    &#xA;&#xA;

    Would anyone have an idea ?

    &#xA;