Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (111)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (4007)

  • Python - playing video using ffplay displays file in larger resolution

    10 décembre 2019, par derBrain

    I’m working on a simple script that plays a video using ffplay.
    The problem I’m running into is that the output file has a larger resolution than it should have.
    The resolution of the file to be played is 1280x720, however, when I open the file with ffplay, the output is scaled to 1920x1080.
    I even tried to downscale the output by factor 1.5 (to get it to play in 1280x720), but the quality is noticeably worse compared to playing the same file in VLC player.
    What am I missing here ?

    This is the code I’m using :

    dbFile = "file.mp4"
    open_dbFile = "ffplay {0} -window_title {1} -left 50 -top 50 -nostats".format(dbFile, "DB_file")
    sub.Popen(open_dbFile)

    this is the log :

    ffplay version N-95171-g6ca3d34ff8 Copyright (c) 2003-2019 the FFmpeg developers
     built with gcc 9.2.1 (GCC) 20190918

    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-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-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
     libavutil      56. 35.100 / 56. 35.100
     libavcodec     58. 59.101 / 58. 59.101
     libavformat    58. 33.100 / 58. 33.100
     libavdevice    58.  9.100 / 58.  9.100
     libavfilter     7. 59.100 /  7. 59.100
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100

    Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2017-12-24T15:03:27.000000Z
     Duration: 00:08:36.83, start: 0.000000, bitrate: 588 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 459 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)
       Metadata:
         creation_time   : 2017-12-24T15:03:27.000000Z
         handler_name    : ISO Media file produced by Google Inc. Created on: 12/24/2017.
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
       Metadata:
         creation_time   : 2017-12-24T15:03:27.000000Z
         handler_name    : ISO Media file produced by Google Inc. Created on: 12/24/2017.
      1.59 A-V: -0.014 fd=   0 aq=   19KB vq=   30KB sq=    0B f=0/0

    Thanks for your help !
    db

  • Fail to decode a video with ffmpeg, but it can be played by video player

    23 juin 2022, par south

    i have a video witch can be played by players. But, I failed to decode it using ffmpeg 3.4.
Actually, it failed on the ffmpeg libs compiled by myself, but success on a common ffmpeg-3.4 lib of my company.

    



    My compilation seems success, as i can use it to decode most of my videos.

    



    Whats wrong with my lib ? If i should enable some special options when compiling ?
Anything special on this video ?

    



    error message :

    



    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x31b7120] STSC entry 1 is invalid (first=12 count=0 id=1)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x31b7120] stream 0, contradictionary STSC and STCO
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x31b7120] error reading header


    



    video info dumped when i use libs of my company

    



    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aaa':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    creation_time   : 2019-08-06T16:42:23.000000Z
  Duration: 00:00:10.89, start: 0.000000, bitrate: N/A
    Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 2815 kb/s, 25.66 fps, 25.64 tbr, 1k tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2019-08-06T16:42:24.000000Z
      handler_name    :
      encoder         : VC Coding
--------------------


    


  • Vcpkg building FFmpeg with libxml2

    15 décembre 2019, par Subestima

    First off all im a newbie in this area so if im asking something really stupid or non sense im sorry in advance, so lets get right to the point... im trying to add features to the ffmpeg, and by what i know i have to modify CONTROL file and portfile.cmake but as it seems its not enough i dont understand the errors and i cant get more info about this in the internet so if you could give me some info how to do it properly it would allready mean a lot to me ! i will leave the portions of code and error file

    **portfile.cmake:**
    if("libxml2" IN_LIST FEATURES)
       set(OPTIONS "${OPTIONS} --enable-libxml2")
    endif()

    **CONTROL:**
    Feature: libxml2
    Description: Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform)
    Build-Depends: zlib, libiconv, liblzma

    **Command Prompt after (vcpkg install ffmpeg[libxml2]:x64-windows)**
    CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
       Command failed: C:/vcpkg/downloads/tools/msys2/msys64/usr/bin/bash.exe --noprofile --norc C:/vcpkg/ports/ffmpeg\build.sh C:/vcpkg/buildtrees/ffmpeg/x64-windows-rel C:/vcpkg/buildtrees/ffmpeg/src/n4.2-02d8c63f80 C:/vcpkg/packages/ffmpeg_x64-windows "--enable-asm --enable-yasm --disable-doc --enable-debug --enable-runtime-cpudetect --enable-libxml2 --disable-openssl --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-libvpx --disable-libx264 --disable-opencl --disable-lzma --disable-bzlib --enable-avresample  --disable-static --enable-shared --extra-cflags=-DHAVE_UNISTD_H=0  --extra-cflags=-MD --extra-cxxflags=-MD"
       Working Directory: C:/vcpkg/buildtrees/ffmpeg/x64-windows-rel
       Error code: 1
       See logs for more information:
         C:\vcpkg\buildtrees\ffmpeg\build-x64-windows-rel-out.log

    Call Stack (most recent call first):
     ports/ffmpeg/portfile.cmake:197 (vcpkg_execute_required_process)
     scripts/ports.cmake:94 (include)


    Error: Building package ffmpeg:x64-windows failed with: BUILD_FAILED
    Please ensure you're using the latest portfiles with `.\vcpkg update`, then
    submit an issue at https://github.com/Microsoft/vcpkg/issues including:
     Package: ffmpeg:x64-windows
     Vcpkg version: 2019.09.12-nohash**strong text**

    **Log Error file:**
    === CONFIGURING === ERROR: libxml-2.0 not found using pkg-config

    If you think configure made a mistake, make sure you are using the latest version from Git.  If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem.

    Thank you for your attention,
    Regards Pedro Cunha !