Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (41)

  • 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 ;

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

  • ffmpeg : Video duration confused for some players on Android

    2 juin 2021, par Radi Cho

    I am using ffmpeg to scale down and compress videos to be used in Android app.
The original files are played with no problem and have no metadata issues. When I re-encode them however, the Android player is able to play them, but displays wrong durations. My app is in production and it is using official player implementations, so I wonder if there is a way to fix the corruption using ffmpeg or adding some metadata to the generated files. Hopefully that's possible, but if not - any other possible fixes will be highly appreciated :)

    


    My ffmpeg command is complex, including scaling and encoding but I can confirm this issue is reproducible on my end with the simplest ffmpeg -i video.mp4 -c:v libx264 videogen.mp4 command.

    


    I'm leaving links to the two files if that's helpful for reference.

    


    


    Any ideas what could be causing this and how to fix it ?

    


    Player issues showcase :

    
video.mp4 (original)


    enter image description here

    
videogen.mp4 (re-encoded)


    enter image description here

    


  • FFMPEG : Audio Distorted after some time intervals on android & IOS device players

    26 juin 2020, par Dinesh Kumar

    I am using FFmpeg version 3.4.2-bornlibra23, I have built a streaming server which has video/audio files and sends back .ts file whenever requested.

    


    Below is the command I am using to generate small media chunks and when I play them on chrome player video/audio streams are smooth. But on android/ios players have audio distortion at the end of each chunk.
In android, I am using EXO player and for IOS it is a native player.

    


    ffmpeg -y -ss  -i <input /> -to  -acodec aac -vcodec libx264 -crf 24 -profile:v baseline -level 3.0 -movflags &#x2B;faststart -preset veryfast -copyts output_start_end.ts&#xA;

    &#xA;

    Can someone help ?&#xA;Adding output of the above command too.

    &#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;input&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf57.83.100&#xA;  Duration: 00:00:33.52, start: 0.000000, bitrate: 737 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1500x900, 604 kb/s, 12 fps, 12 tbr, 12288 tbn, 24 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 129 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0x4ac2b40] frame MB size (94x57) > level limit (1620)&#xA;[libx264 @ 0x4ac2b40] MB rate (64296) > level limit (40500)&#xA;[libx264 @ 0x4ac2b40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX&#xA;[libx264 @ 0x4ac2b40] profile Constrained Baseline, level 3.0, 4:2:0, 8-bit&#xA;Output #0, mpegts, to &#x27;output.ts&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf57.83.100&#xA;    Stream #0:0(und): Video: h264 (libx264), yuv420p, 1500x900, q=-1--1, 12 fps, 90k tbn, 12 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;      encoder         : Lavc57.107.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1&#xA;    Stream #0:1(und): Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;      encoder         : Lavc57.107.100 aac&#xA;frame=   36 fps=0.0 q=-1.0 Lsize=     464kB time=00:00:12.01 bitrate= 316.6kbits/s speed=14.3x&#xA;video:376kB audio:47kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.705440%&#xA;[libx264 @ 0x4ac2b40] frame I:1     Avg QP:18.91  size: 64288&#xA;[libx264 @ 0x4ac2b40] frame P:35    Avg QP:17.45  size:  9176&#xA;[libx264 @ 0x4ac2b40] mb I  I16..4: 54.3%  0.0% 45.7%&#xA;[libx264 @ 0x4ac2b40] mb P  I16..4: 12.9%  0.0%  5.3%  P16..4:  3.4%  0.6%  0.1%  0.0%  0.0%    skip:77.7%&#xA;[libx264 @ 0x4ac2b40] coded y,uvDC,uvAC intra: 27.1% 45.5% 11.7% inter: 0.2% 4.0% 0.0%&#xA;[libx264 @ 0x4ac2b40] i16 v,h,dc,p: 20% 33% 10% 37%&#xA;[libx264 @ 0x4ac2b40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 25% 16%  5%  7%  5%  7%  4%  5%&#xA;[libx264 @ 0x4ac2b40] i8c dc,h,v,p: 43% 31% 20%  6%&#xA;[libx264 @ 0x4ac2b40] kb/s:1027.86&#xA;[aac @ 0x4ad1f20] Qavg: 188.068&#xA;

    &#xA;

  • Interlaced (1080i) video converted to deinterlaced (1080p) won't play in Quicktime or other players, except VLC

    24 avril 2020, par cozmonaut

    I'm trying to convert a 1080i ts video clip to 1080p mp4. I've found many different ffmpeg commands to do this, which all successfully convert to 1080p mp4, however, none of generated clips will open in Quicktime or any another other player, other than VLC. I've read about the need to have the correct color space (i.e. yuv420p) for Quicktime to work, and also that 10 bit files won't work (only 8 bit). However, when these things have been accounted for, the resulting video clips still won't open in Quicktime.

    &#xA;&#xA;

    &#xA;&#xA;

    Here are the commands I've tried.

    &#xA;&#xA;

        ffmpeg -i test_original_interlaced.ts -vf bwdif -c:v libx264 -preset slow -crf 18 -pix_fmt yuv420p -c:a aac -b:a 320k test_generated_progressive.mp4&#xA;&#xA;    ffmpeg -i test_original_interlaced.ts  -vf yadif -c:v libx264 -preset slow -crf 19 -c:a aac -b:a 256k test_generated_progressive.mp4&#xA;&#xA;    ffmpeg -i test_original_interlaced.ts  -vf yadif -c:v libx264 -preset slow -crf 18 -pix_fmt yuv420p -c:a aac -b:a 256k test_generated_progressive.mp4&#xA;&#xA;    ffmpeg -i test_original_interlaced.ts -vf yadif=parity=auto test_generated_progressive.mp4&#xA;

    &#xA;&#xA;

    &#xA;&#xA;

    Here are the 1080i ts details and link to the original video clip :

    &#xA;&#xA;

    ffmpeg version 4.2.1-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)&#xA;  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay&#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;  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, mpegts, from &#x27;/Users/test_original_interlaced.ts&#x27;:&#xA;  Duration: 00:00:05.26, start: 1.400000, bitrate: 15183 kb/s&#xA;  Program 1 &#xA;    Metadata:&#xA;      service_name    : Service01&#xA;      service_provider: FFmpeg&#xA;    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc&#xA;    Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s&#xA;

    &#xA;&#xA;

    Link to original video clip (10 MB) : https://www.dropbox.com/s/85tv3v91lflfpon/test_original_interlaced.ts?dl=0

    &#xA;&#xA;

    &#xA;&#xA;

    Here are the 1080p mp4 details and link to the generated video clip (that won't open in Quicktime) :

    &#xA;&#xA;

    ffmpeg version 4.2.1-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)&#xA;  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay&#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;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;Guessed Channel Layout for Input Stream #0.1 : 5.1&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;/Users/test_generated_progressive.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.29.100&#xA;  Duration: 00:00:05.27, start: 0.000000, bitrate: 9873 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 9543 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 319 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;

    &#xA;&#xA;

    Link to generated video clip (6.5 MB) : https://www.dropbox.com/s/w744mdee5drvmya/test_generated_progressive.mp4?dl=0

    &#xA;&#xA;

    &#xA;&#xA;

    Any help would be greatly appreciated.

    &#xA;&#xA;

    Thank you.

    &#xA;