Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (55)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (5924)

  • avcodec/vc1_block : Fix undefined behavior in ac prediction rescaling

    31 octobre 2019, par Michael Niedermayer
    avcodec/vc1_block : Fix undefined behavior in ac prediction rescaling
    

    The intermediates are required to fit in 12bit (8.1.3.9 Coefficient Scaling)
    See SMPTE 421M-2006 and Amendment 1-2007

    Fixes : signed integer overflow : -20691 * 262144 cannot be represented in type 'int'
    Fixes : 18479/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1_fuzzer-5128912371187712

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/vc1_block.c
  • Problem accessing audio track from mp4 file

    20 décembre 2019, par Thomas Spycher

    For a TV Project we want to transcode the source videofiles to other formats. The Sourcefiles are fragmented mp4 files. Destination format could be mp4 or any other format.
    The sourcefile contains multiple audio tracks for different codes (aac, eac3, aac-otherlanguage).

    Something with this files is odd. I can play them without problems on quicktime or VLC. Import them into Premiere for example ends up with the video but without sound.

    Converting them on AWS MediaConvert results in weird issues as well like (depending on the settings) :

    • No audio frames decoded on [selector-(Audio Selector 1)-track-1-drc] (selecting aac audiotrack (Track:1))
    • Decoder : [Dolby decoder error : failed to configure to stream in first 100 frames] (selecting eac3 audiotrack (Track:2) )

    I’m able to convert the files with Handbreak and the result is a MP4 file with one audiotrack which is working everywhere. I’m trying to figure out whats odd with this file to make them working with AWS MediaConvert.

    Here is the ffprobe output of one of the files :

    ffprobe version 4.1 Copyright (c) 2007-2018 the FFmpeg developers
     built with Apple LLVM version 10.0.0 (clang-1000.10.44.4)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfreetype --enable-opencl --enable-videotoolbox
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '123893.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42isomiso2iso5dashavc1dby1mp41
     Duration: 00:01:24.02, start: 0.000000, bitrate: 5600 kb/s
       Stream #0:0(deu): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 4869 kb/s, 50 fps, 50 tbr, 1k tbn, 100 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(deu): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Stream #0:2(deu): Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 256 kb/s
       Metadata:
         handler_name    : SoundHandler
       Side data:
         audio service type: main

    An example file can get downloaded here : https://wilmaa-rnd.s3-eu-west-1.amazonaws.com/124041.mp4

  • Heroku : FFMpeg installed but php worker can't find it

    4 décembre 2019, par Greco Jonathan

    Context

    I’ve a RabbitMQ’s queue that contains AMQPMessage, those messages are referencing a video that needs to be treated (cut essentially and encoded in x264 also)

    Here’s the code that cause the issue (pretty straightforward)

           $ffprobe = FFProbe::create([
               'ffmpeg.binaries'  => '/usr/bin/ffmpeg',
               'ffprobe.binaries' => '/usr/bin/ffprobe',
           ]);

    Error Message

    TL ;DR :
    Error: "Unable to load FFProbe"

    [2019-12-03 14:55:07] messenger.ERROR : Error thrown while handling message App\Api\Message\AMQPvideoFFMPEG. Sending for retry #1 using 1000 ms delay. Error : "Unable to load FFProbe" "message" :"[object] (App\Api\Message\AMQPvideoFFMPEG : {})","class" :"App\Api\Message\AMQPvideoFFMPEG","retryCount":1,"delay":1000,"error" :"Unable to load FFProbe","exception" :"[object] (Symfony\Component\Messenger\Exception\HandlerFailedException(code : 0) : Unable to load FFProbe at /app/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:80, FFMpeg\Exception\ExecutableNotFoundException(code : 0) : Unable to load FFProbe at /app/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php:50, Alchemy\BinaryDriver\Exception\ExecutableNotFoundException(code : 0) : Executable not found, proposed : /usr/bin/ffprobe at /app/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php:160)" []

    Configuration & tests

    On Heroku I’ve 2 dynos :

    - web $(composer config bin-dir)/heroku-php-nginx -C config/packages/dev/heroku_nginx.conf public/
    - worker php bin/console messenger:consume ffmpeg

    On this platform, I’ve also 3 buildpacks, look below, with this specific buildpack :

    with a custom buildpack for ffmpeg

    To make sure that all is available here’s the results of my checks :

    heroku run "ffmpeg -version" -a project-dev
    Running ffmpeg -version on ⬢ project-dev... up, run.6134 (Hobby)
    ffmpeg version N-67574-g9d6ad68 Copyright (c) 2000-2014 the FFmpeg developers
    built on Nov 12 2014 11:35:09 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
    configuration: --enable-static --disable-shared --disable-asm --extra-libs=-L/app/vendor/libs/lib --extra-cflags=-I/app/vendor/libs/include --prefix=/app/vendor/ffmpeg --enable-libfdk-aac --enable-nonfree --enable-libx264 --enable-gpl
    libavutil      54. 11.100 / 54. 11.100
    libavcodec     56. 12.100 / 56. 12.100
    libavformat    56. 12.103 / 56. 12.103
    libavdevice    56.  2.100 / 56.  2.100
    libavfilter     5.  2.103 /  5.  2.103
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  1.100 /  1.  1.100
    libpostproc    53.  3.100 / 53.  3.100
    heroku run "ffprobe -version" -a projet-dev
    Running ffprobe -version on ⬢ projet-dev... up, run.2357 (Hobby)
    ffprobe version N-67574-g9d6ad68 Copyright (c) 2007-2014 the FFmpeg developers
    built on Nov 12 2014 11:35:09 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
    configuration: --enable-static --disable-shared --disable-asm --extra-libs=-L/app/vendor/libs/lib --extra-cflags=-I/app/vendor/libs/include --prefix=/app/vendor/ffmpeg --enable-libfdk-aac --enable-nonfree --enable-libx264 --enable-gpl
    libavutil      54. 11.100 / 54. 11.100
    libavcodec     56. 12.100 / 56. 12.100
    libavformat    56. 12.103 / 56. 12.103
    libavdevice    56.  2.100 / 56.  2.100
    libavfilter     5.  2.103 /  5.  2.103
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  1.100 /  1.  1.100
    libpostproc    53.  3.100 / 53.  3.100

    All good !

    Disclaimer

    This code is working well on another platform (handled by kubernetes), so it may need some adjustments with heroku. But can’t find it.

    Why this error since my configuration is not showing any missconfigurations ? What am I missing here ?