Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (45)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

Sur d’autres sites (6052)

  • avcodec/h264_mp4toannexb : Fix heap buffer overflow

    25 mars 2024, par Zhao Zhili
    avcodec/h264_mp4toannexb : Fix heap buffer overflow
    

    Fixes : out of array write
    Fixes : 64407/clusterfuzz-testcase-minimized-ffmpeg_BSF_H264_MP4TOANNEXB_fuzzer-4966763443650560

    mp4toannexb_filter counts the number of bytes needed in the first
    pass and allocate the memory, then do memcpy in the second pass.
    Update sps/pps size in the loop makes the count invalid in the
    case of SPS/PPS occur after IDR slice. This patch process in-band
    SPS/PPS before the two pass loops.

    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] libavcodec/bsf/h264_mp4toannexb.c
  • avcodec/h264_mp4toannexb_bsf : refactor start_code_size handling

    18 mai 2023, par Zhao Zhili
    avcodec/h264_mp4toannexb_bsf : refactor start_code_size handling
    

    start_code_size depends on whether PS comes from out-of-band or
    in-band. Make the code more readable.

    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] libavcodec/h264_mp4toannexb_bsf.c
  • Why ffmpeg can't convert this .ts to .mp4

    10 janvier 2023, par cpo

    I have ffmpeg running on my Synology NAS, and would like to use it to convert DVR-recorded .ts videos into .mp4 format. I don't fully understand this stuff, and have researched to no avail.

    &#xA;

    Here is the command I am running with result :

    &#xA;

    $ ffmpeg -analyzeduration 2147483647 -probesize 2147483647 -i &#x27;video.ts&#x27; -acodec -vcodec copy &#x27;video.mp4&#x27;&#xA;&#xA;ffmpeg version 4.1.8 Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with gcc 8.5.0 (GCC)&#xA;  configuration: --prefix=/usr --incdir=&#x27;${prefix}/include/ffmpeg&#x27; --arch=i686 --target-os=linux --cross-prefix=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --disable-stripping --enable-version3 --enable-encoders --enable-pthreads --disable-protocols --disable-protocol=rtp --enable-protocol=file --enable-protocol=pipe --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffplay --disable-ffprobe --disable-doc --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-vaapi --disable-cuvid --disable-nvenc --disable-decoder=aac --disable-decoder=aac_fixed --disable-encoder=aac --disable-decoder=amrnb --disable-decoder=ac3 --disable-decoder=ac3_fixed --disable-encoder=zmbv --disable-encoder=dca --disable-decoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=eac3 --disable-encoder=truehd --disable-decoder=truehd --disable-encoder=hevc_vaapi --disable-decoder=hevc --disable-muxer=hevc --disable-demuxer=hevc --disable-parser=hevc --disable-bsf=hevc_mp4toannexb --x86asmexe=yasm --cc=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-wrap-gcc --enable-yasm --enable-libx264 --enable-encoder=libx264&#xA;  libavutil      56. 22.100 / 56. 22.100&#xA;  libavcodec     58. 35.100 / 58. 35.100&#xA;  libavformat    58. 20.100 / 58. 20.100&#xA;  libavdevice    58.  5.100 / 58.  5.100&#xA;  libavfilter     7. 40.101 /  7. 40.101&#xA;  libswscale      5.  3.100 /  5.  3.100&#xA;  libswresample   3.  3.100 /  3.  3.100&#xA;  libpostproc    55.  3.100 / 55.  3.100&#xA;[mpegts @ 0x5591c4feb4c0] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, 199 kb/s): unspecified sample rate&#xA;Consider increasing the value for the &#x27;analyzeduration&#x27; and &#x27;probesize&#x27; options&#xA;Input #0, mpegts, from &#x27;video.ts&#x27;:&#xA;  Duration: 02:01:58.77, start: 1.405122, bitrate: 4094 kb/s&#xA;  Program 1 &#xA;    Metadata:&#xA;      service_name    : Service01&#xA;      service_provider: FFmpeg&#xA;    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 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]: Audio: aac ([15][0][0][0] / 0x000F), 0 channels, 199 kb/s&#xA;[NULL @ 0x5591c6034980] Unable to find a suitable output format for &#x27;copy&#x27;&#xA;copy: Invalid argument&#xA;

    &#xA;

    Here is the information from video.ts as displayed in VLC :

    &#xA;

    Media information

    &#xA;

    It's possible I just don't have the right encoders included with my ffmpeg packaged (obtained from https://synocommunity.com/package/ffmpeg). Here are the audio encoders that it appears I have.

    &#xA;

    A..... adpcm_adx            SEGA CRI ADX ADPCM&#xA; A..... g722                 G.722 ADPCM (codec adpcm_g722)&#xA; A..... g726                 G.726 ADPCM (codec adpcm_g726)&#xA; A..... g726le               G.726 little endian ADPCM ("right-justified") (codec adpcm_g726le)&#xA; A..... adpcm_ima_qt         ADPCM IMA QuickTime&#xA; A..... adpcm_ima_wav        ADPCM IMA WAV&#xA; A..... adpcm_ms             ADPCM Microsoft&#xA; A..... adpcm_swf            ADPCM Shockwave Flash&#xA; A..... adpcm_yamaha         ADPCM Yamaha&#xA; A..... alac                 ALAC (Apple Lossless Audio Codec)&#xA; A..... libopencore_amrnb    OpenCORE AMR-NB (Adaptive Multi-Rate Narrow-Band) (codec amr_nb)&#xA; A..... aptx                 aptX (Audio Processing Technology for Bluetooth)&#xA; A..... aptx_hd              aptX HD (Audio Processing Technology for Bluetooth)&#xA; A..... comfortnoise         RFC 3389 comfort noise generator&#xA; A..... flac                 FLAC (Free Lossless Audio Codec)&#xA; A..... g723_1               G.723.1&#xA; A..X.. mlp                  MLP (Meridian Lossless Packing)&#xA; A..... mp2                  MP2 (MPEG audio layer 2)&#xA; A..... mp2fixed             MP2 fixed point (MPEG audio layer 2) (codec mp2)&#xA; A..... libmp3lame           libmp3lame MP3 (MPEG audio layer 3) (codec mp3)&#xA; A..... nellymoser           Nellymoser Asao&#xA; A..X.. opus                 Opus&#xA; A..... pcm_alaw             PCM A-law / G.711 A-law&#xA; A..... pcm_f32be            PCM 32-bit floating point big-endian&#xA; A..... pcm_f32le            PCM 32-bit floating point little-endian&#xA; A..... pcm_f64be            PCM 64-bit floating point big-endian&#xA; A..... pcm_f64le            PCM 64-bit floating point little-endian&#xA; A..... pcm_mulaw            PCM mu-law / G.711 mu-law&#xA; A..... pcm_s16be            PCM signed 16-bit big-endian&#xA; A..... pcm_s16be_planar     PCM signed 16-bit big-endian planar&#xA; A..... pcm_s16le            PCM signed 16-bit little-endian&#xA; A..... pcm_s16le_planar     PCM signed 16-bit little-endian planar&#xA; A..... pcm_s24be            PCM signed 24-bit big-endian&#xA; A..... pcm_s24daud          PCM D-Cinema audio signed 24-bit&#xA; A..... pcm_s24le            PCM signed 24-bit little-endian&#xA; A..... pcm_s24le_planar     PCM signed 24-bit little-endian planar&#xA; A..... pcm_s32be            PCM signed 32-bit big-endian&#xA; A..... pcm_s32le            PCM signed 32-bit little-endian&#xA; A..... pcm_s32le_planar     PCM signed 32-bit little-endian planar&#xA; A..... pcm_s64be            PCM signed 64-bit big-endian&#xA; A..... pcm_s64le            PCM signed 64-bit little-endian&#xA; A..... pcm_s8               PCM signed 8-bit&#xA; A..... pcm_s8_planar        PCM signed 8-bit planar&#xA; A..... pcm_u16be            PCM unsigned 16-bit big-endian&#xA; A..... pcm_u16le            PCM unsigned 16-bit little-endian&#xA; A..... pcm_u24be            PCM unsigned 24-bit big-endian&#xA; A..... pcm_u24le            PCM unsigned 24-bit little-endian&#xA; A..... pcm_u32be            PCM unsigned 32-bit big-endian&#xA; A..... pcm_u32le            PCM unsigned 32-bit little-endian&#xA; A..... pcm_u8               PCM unsigned 8-bit&#xA; A..... pcm_vidc             PCM Archimedes VIDC&#xA; A..... real_144             RealAudio 1.0 (14.4K) (codec ra_144)&#xA; A..... roq_dpcm             id RoQ DPCM&#xA; A..X.. s302m                SMPTE 302M&#xA; A..... sbc                  SBC (low-complexity subband codec)&#xA; A..X.. sonic                Sonic&#xA; A..X.. sonicls              Sonic lossless&#xA; A..... tta                  TTA (True Audio)&#xA; A..X.. vorbis               Vorbis&#xA; A..... wavpack              WavPack&#xA; A..... wmav1                Windows Media Audio 1&#xA; A..... wmav2                Windows Media Audio 2&#xA;

    &#xA;