Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (41)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

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

Sur d’autres sites (4905)

  • PHP-FFMpeg Error while opening encoder for output stream

    5 janvier 2019, par Valor_

    I’m trying to use this PHP-FFMpeg library, but I’m keep getting errors like

    Error while opening encoder for output stream #0:0

    This is my PHP code

    private function createTeaserVideos($fullVideoPath, $databasePath, $uploadPath) {
           $ffmpeg = FFMpeg::create([
               'ffmpeg.binaries' => '/usr/bin/ffmpeg',
               'ffprobe.binaries' => '/usr/bin/ffprobe',
               'timeout'          => 0,
           ]);

           $ffmpeg->getFFMpegDriver()->listen(new \Alchemy\BinaryDriver\Listeners\DebugListener());
           $ffmpeg->getFFMpegDriver()->on('debug', function ($message) {
               var_dump($message);
           });

           // Create teaser_video_thumb
           $videoNameThumb = $this->randomTimeString() . '-thumb.mp4';
           $video = $ffmpeg->open($fullVideoPath);
           $video
               ->filters()
               ->resize(new \FFMpeg\Coordinate\Dimension(400, 280))
               ->synchronize();
           $video->save(new \FFMpeg\Format\Video\X264('aac', 'libx264'), $uploadPath . $videoNameThumb);
       }

    So what I’m trying to do here. User uploads his video and I’m trying to resize it and create one smaller video for the preview. The problem that I’m keep getting it is

    ffmpeg version 2.8.15-0ubuntu0.16.04.1' (length=46)
    Copyright (c) 2000-2018 the FFmpeg developers' (length=54)
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609' (length=72)
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv' (length=1135)
     WARNING: library configuration mismatch' (length=49)
     avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_aacenc --enable-libvo_amrwbenc' (length=1413)
     libavutil      54. 31.100 / 54. 31.100' (length=48)
     libavcodec     56. 60.100 / 56. 60.100' (length=48)
     libavformat    56. 40.101 / 56. 40.101' (length=48)
     libavdevice    56.  4.100 / 56.  4.100' (length=48)
     libavfilter     5. 40.101 /  5. 40.101' (length=48)
     libavresample   2.  1.  0 /  2.  1.  0' (length=48)
     libswscale      3.  1.101 /  3.  1.101' (length=48)
     libswresample   1.  2.101 /  1.  2.101' (length=48)
     libpostproc    53.  3.100 / 53.  3.100' (length=48)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/vagrant/workspace/spot-scouting-adminpage/static/locations/MjY5MjI2Y2E0NDExOWNmZmQwN/teaser/f4095e9eeb364fe187bf1ed42eedc198.mp4':' (length=185)
     Metadata:' (length=19)
       major_brand     : mp42' (length=34)
       minor_version   : 0' (length=31)
       compatible_brands: mp42mp41' (length=39)
       creation_time   : 2019-01-04 12:46:43' (length=49)
     Duration: 00:00:08.41, start: 0.000000, bitrate: 10261 kb/s' (length=69)
       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 9982 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)' (length=153)
       Metadata:' (length=21)
         creation_time   : 2019-01-04 12:46:43' (length=51)
         handler_name    : Alias Data Handler' (length=50)
         encoder         : AVC Coding' (length=42)
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)' (length=109)
       Metadata:' (length=21)
         creation_time   : 2019-01-04 12:46:43' (length=51)
         handler_name    : Alias Data Handler' (length=50)
    -async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.' (length=107)
    [libx264 @ 0x136f620] height not divisible by 2 (400x225)' (length=65)
    Output #0, mp4, to '/home/vagrant/workspace/spot-scouting-adminpage/static/locations/MjY5MjI2Y2E0NDExOWNmZmQwN/teaser/gY0RfV9c0y06592770015466174550YfY9-thumb.mp4':' (length=172)
     Metadata:' (length=19)
       major_brand     : mp42' (length=34)
       minor_version   : 0' (length=31)
       compatible_brands: mp42mp41' (length=39)
       Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, 25 fps (default)' (length=83)
       Metadata:' (length=21)
         creation_time   : 2019-01-04 12:46:43' (length=51)
         handler_name    : Alias Data Handler' (length=50)
         start_time      : 0' (length=33)
         encoder         : Lavc56.60.100 libx264' (length=53)
       Stream #0:1(eng): Audio: aac, 0 channels, 128 kb/s (default)' (length=72)
       Metadata:' (length=21)
         creation_time   : 2019-01-04 12:46:43' (length=51)
         handler_name    : Alias Data Handler' (length=50)
         encoder         : Lavc56.60.100 aac' (length=49)
    Stream mapping:' (length=23)
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))' (length=63)
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))' (length=60)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height' (length=127)
    ' (length=8)

    I can’t figure out what is the problem or how to solve it. Can someone please help me out ? I’m using Ubuntu 16 and I have installed ffmpeg via apt-get install ffmpeg.
    If you need any additional infomations, please let me know and I will provide. Thank you

  • Intel QuickSync error : Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    30 novembre 2018, par Arie Syamsudin

    I want to make IPTV with a topology like this :

    Restream / source -----> IPTV server -----> User

    The problem at the moment is the question of bandwidth that is still large.

    Finally I announced by IPTV software providers to transcode with Intel QuickSync video and FFmpeg.

    I followed the steps given by the software provider at the following link :
    http://www.ezhometech.com/document/intel_ffmpeg.txt

    Which comes from the link below :
    https://www.intel.com/content/dam/www/public/us/en/documents/white-paper...

    I installed IPTV software on a laptop with an Intel processor, chipset and VGA.

    [root@iptv ffmpeg-4.1]# **lspci**
    00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
    00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
    00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
    00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
    00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
    00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller (rev 05)
    00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
    01:00.0 Ethernet controller: Qualcomm Atheros AR8152 v2.0 Fast Ethernet (rev c1)
    02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

    [root@iptv ffmpeg-4.1]# **lspci -nn -s 0:02.0**
    00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)

    but when I do a transcoding test, an error always appears :
    Error initializing output stream 0:0 — Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height.

    Error details :
    https://paste.fedoraproject.org/paste/vp9XIzbeOuyXRuLBlLfSng

    FFmpeg log :

    ./ffmpeg  -hwaccel qsv -i http://premium-play.org:8000/domm0H56Cj/q3ODLP6C16/2826 -vcodec h264_qsv -acodec copy -b:v 1200K -f mpegts udp://127.0.0.1:9011?pkt_size=1316
    ffmpeg version 3.2.12 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
     configuration: --enable-libmfx --enable-nonfree
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
    Input #0, mpegts, from 'http://premium-play.org:8000/domm0H56Cj/q3ODLP6C16/2826':
     Duration: N/A, start: 30200.274878, bitrate: N/A
     Program 1
       Metadata:
         service_name    : Service01
         service_provider: FFmpeg
       Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
       Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 125 kb/s
    libva info: VA-API version 1.0.0
    libva info: va_getDriverName() returns 0
    libva info: User requested driver 'iHD'
    libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_0
    libva info: va_openDriver() returns 0
    [h264_qsv @ 0x2a89500] Selected ratecontrol mode is not supported by the QSV runtime. Choose a different mode.
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
     Stream #0:1 -> #0:1 (copy)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • ffmpeg converting RTSP to HLS stops working after hours

    28 juin 2019, par lin wang

    I’m using ffmpeg to convert RTSP stream to HLS, here is the command :

    ffmpeg -rtsp_transport tcp -i rtsp ://address/9012120.smil -vcodec copy -acodec copy -fflags +genpts -f hls -hls_wrap 5 -hls_list_size 2 -hls_time 3 /dev/shm/live/1/v.m3u8

    It worked properly at the beginning, but after hours(sometimes 8 hours sometimes less),it just stopped updating .ts files but the ffmpeg process was still running, so the hls stream just stuck.
    Check the log, no error log at the moment of the converting stopping,but before that there were some warning logs as below :

    [hls @ 0x57602c0] Non-monotonous DTS in output stream 0:1 ; previous : 5957536600,
    current : 2744367719 ; changing to 5957536601. This may result in incorrect timestamps in the output file.

    Any idea how to fix this ?