Recherche avancée

Médias (91)

Autres articles (77)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (8545)

  • ffmpeg : move decoded frame counter from after post-processing to decode

    5 août 2022, par Jan Ekström
    ffmpeg : move decoded frame counter from after post-processing to decode
    

    This way we can call process_subtitles without causing the decoded
    frame counter to get bumped.

    Additionally, this now takes into mention all of the decoded
    subtitle frames without fix_sub_duration latency/buffering, or filtering
    out decoded reset/end subtitles without any rendered rectangles, which
    matches the original intent in 4754345027eb85cfa51aeb88beec68d7b036c11e
    .

    Signed-off-by : Jan Ekström <jan.ekstrom@24i.com>

    • [DH] fftools/ffmpeg.c
  • Invalid frame dimension, invalid data found when processing input, muxing overhead : unknown when concatting old VOB files | FFMPEG

    9 mars 2023, par Victor Hartman

    I am dealing with multiple errors which I am not able to resolve. I am trying to concat 4 old VOB files to a mp4. Using command (already solved a 'pts has no value error') :

    &#xA;

    .\ffmpeg.exe -fflags &#x2B;genpts -f concat -i .\files.txt -c copy output.mp4&#xA;

    &#xA;

    files.txt looks like this :

    &#xA;

    file &#x27;VTS_01_1.VOB&#x27;&#xA;file &#x27;VTS_01_2.VOB&#x27;&#xA;file &#x27;VTS_01_3.VOB&#x27;&#xA;file &#x27;VTS_01_4.VOB&#x27;&#xA;

    &#xA;

    Output looks like this :

    &#xA;

    ffmpeg version 2023-03-05-git-912ac82a3c-essentials_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband&#xA;  libavutil      58.  3.100 / 58.  3.100&#xA;  libavcodec     60.  6.100 / 60.  6.100&#xA;  libavformat    60.  4.100 / 60.  4.100&#xA;  libavdevice    60.  2.100 / 60.  2.100&#xA;  libavfilter     9.  4.100 /  9.  4.100&#xA;  libswscale      7.  2.100 /  7.  2.100&#xA;  libswresample   4. 11.100 /  4. 11.100&#xA;  libpostproc    57.  2.100 / 57.  2.100&#xA;Input #0, concat, from &#x27;.\files.txt&#x27;:&#xA;  Duration: N/A, start: 0.000000, bitrate: N/A&#xA;  Stream #0:0: Data: dvd_nav_packet&#xA;  Stream #0:1: Video: mpeg2video (Main), yuv420p(tv, top first), 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A&#xA;  Stream #0:2: Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s&#xA;File &#x27;output.mp4&#x27; already exists. Overwrite? [y/N] y&#xA;[mp4 @ 00000211b44d0900] track 1: codec frame size is not set&#xA;Output #0, mp4, to &#x27;output.mp4&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf60.4.100&#xA;  Stream #0:0: Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p(tv, top first), 720x480 [SAR 8:9 DAR 4:3], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A&#xA;  Stream #0:1: Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 448 kb/s&#xA;Stream mapping:&#xA;  Stream #0:1 -> #0:0 (copy)&#xA;  Stream #0:2 -> #0:1 (copy)&#xA;Press [q] to stop, [?] for help&#xA;[mpeg2video @ 00000211b44a5f00] Invalid frame dimensions 0x0. bitrate=5521.6kbits/s speed= 643x&#xA;    Last message repeated 3 times&#xA;[concat @ 00000211b449b500] DTS 137507370 &lt; 137525388 out of order&#xA;[mp4 @ 00000211b44d0900] Non-monotonous DTS in output stream 0:0; previous: 137525388, current: 137507370; changing to 137525389. This may result in incorrect timestamps in the output file.&#xA;[mp4 @ 00000211b44d0900] Non-monotonous DTS in output stream 0:0; previous: 137525389, current: 137510250; changing to 137525390. This may result in incorrect timestamps in the output file.&#xA;[mp4 @ 00000211b44d0900] Non-monotonous DTS in output stream 0:0; previous: 137525390, current: 137510250; changing to 137525391. This may result in incorrect timestamps in the output file.&#xA;[mp4 @ 00000211b44d0900] Non-monotonous DTS in output stream 0:0; previous: 137525391, current: 137513130; changing to 137525392. This may result in incorrect timestamps in the output file.&#xA;[mp4 @ 00000211b44d0900] Non-monotonous DTS in output stream 0:0; previous: 137525392, current: 137516010; changing to 137525393. This may result in incorrect timestamps in the output file.&#xA;[mp4 @ 00000211b44d0900] Non-monotonous DTS in output stream 0:0; previous: 137525393, current: 137518890; changing to 137525394. This may result in incorrect timestamps in the output file.&#xA;[mp4 @ 00000211b44d0900] Non-monotonous DTS in output stream 0:0; previous: 137525394, current: 137521770; changing to 137525395. This may result in incorrect timestamps in the output file.&#xA;[mp4 @ 00000211b44d0900] Non-monotonous DTS in output stream 0:0; previous: 137525395, current: 137524650; changing to 137525396. This may result in incorrect timestamps in the output file.&#xA;av_interleaved_write_frame(): Invalid data found when processing input&#xA;[out#0/mp4 @ 00000211b44f96c0] Error muxing a packet&#xA;[out#0/mp4 @ 00000211b44f96c0] Error writing trailer: Invalid data found when processing input&#xA;frame=45815 fps=19808 q=-1.0 Lsize= 1027328kB time=00:25:29.51 bitrate=5502.3kbits/s speed= 661x&#xA;video:943791kB audio:83556kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown&#xA;Conversion failed!&#xA;

    &#xA;

  • Using ffmpeg to read mp4 file from stdin and extract image is failing with "Invalid data found when processing input"

    16 mars 2023, par jsindos

    Using ffmpeg, I'm trying to read an mp4 file from stdin, and save the last frame of the file to jpg.

    &#xA;

    cat PXL_20221118_051057924.TS.mp4 | ffmpeg -sseof -3 -i - -f mp4 -update 1 -q:v 1 last.jpg&#xA;

    &#xA;

    The command works fine when not running from stdin.

    &#xA;

    When running from stdin, an empty file is created, with the following error message :

    &#xA;

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fcb4d0041c0] stream 1, offset 0x2eaee0d: partial file&#xA;pipe:: Invalid data found when processing input&#xA;

    &#xA;

    I've posted the full output below.

    &#xA;

    &#xA;

    ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with Apple clang version 14.0.0 (clang-1400.0.29.202)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/5.1.2_5 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox&#xA;  libavutil      57. 28.100 / 57. 28.100&#xA;  libavcodec     59. 37.100 / 59. 37.100&#xA;  libavformat    59. 27.100 / 59. 27.100&#xA;  libavdevice    59.  7.100 / 59.  7.100&#xA;  libavfilter     8. 44.100 /  8. 44.100&#xA;  libswscale      6.  7.100 /  6.  7.100&#xA;  libswresample   4.  7.100 /  4.  7.100&#xA;  libpostproc    56.  6.100 / 56.  6.100&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fcb4d0041c0] stream 2, offset 0x2c: partial file&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;pipe:&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 131072&#xA;    compatible_brands: isomiso2mp41&#xA;    creation_time   : 2022-11-18T05:11:23.000000Z&#xA;    com.android.capture.fps: 30.000000&#xA;  Duration: 00:00:23.74, start: 0.000000, bitrate: N/A&#xA;  Stream #0:0[0x1](eng): Data: none (mett / 0x7474656D), 45 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : MetaHandle&#xA;  Stream #0:1[0x2](eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : SoundHandle&#xA;      vendor_id       : [0][0][0][0]&#xA;  Stream #0:2[0x3](eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 1920x1080, 19524 kb/s, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 90k tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : VideoHandle&#xA;      vendor_id       : [0][0][0][0]&#xA;    Side data:&#xA;      displaymatrix: rotation of -90.00 degrees&#xA;  Stream #0:3[0x4](eng): Data: none (mett / 0x7474656D) (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : MetaHandle&#xA;Stream mapping:&#xA;  Stream #0:2 -> #0:0 (hevc (native) -> h264 (libx264))&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fcb4d0041c0] stream 1, offset 0x2eaee0d: partial file&#xA;pipe:: Invalid data found when processing input&#xA;[libx264 @ 0x7fcb4d10b500] -qscale is ignored, -crf is recommended.&#xA;[libx264 @ 0x7fcb4d10b500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0x7fcb4d10b500] profile High, level 4.0, 4:2:0, 8-bit&#xA;[libx264 @ 0x7fcb4d10b500] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - 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;/Users/josephtsindos/Downloads/last2.jpg&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 131072&#xA;    compatible_brands: isomiso2mp41&#xA;    com.android.capture.fps: 30.000000&#xA;    encoder         : Lavf59.27.100&#xA;  Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuvj420p(pc), 1080x1920, q=2-31, 30 fps, 15360 tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : VideoHandle&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : Lavc59.37.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;      displaymatrix: rotation of -0.00 degrees&#xA;  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2022-11-18T05:11:23.000000Z&#xA;      handler_name    : SoundHandle&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : Lavc59.37.100 aac&#xA;frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown&#xA;[aac @ 0x7fcb4d10c840] Qavg: nan&#xA;

    &#xA;