Recherche avancée

Médias (91)

Autres articles (101)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (6208)

  • Anomalie #3014 : Chaines de langue de "Forums" utilisées dans la "dist"

    24 décembre 2017, par b b

    Pour info, voici les occurrences de chaînes de langue de forum dans la dist à ce jour :

    grep -nHIirF —exclude=*.svn-base — :forum : .
    ./404.html:36 :            [(#ENVfond_erreur|==forum|oui)

    <:forum:aucun_message_forum :>

    ]
    ./article.html:56 : [

    <:forum:form_pet_message_commentaire :>

    ./inclure/forum.html:17 :

    <:accueil_site :> &gt ; ... &gt ; <:forum:forum :> #ID_FORUM

    ./forum.html:28 : [

    (#TITRE|sinon<:forum:forum :> #ID_FORUM)

    ]
    ./forum.html:38 :

    <:forum:forum_avez_selectionne :> #TITRE

    ./forum.html:41 : [

    <:forum:form_pet_message_commentaire :>

    ./breve.html:43 : [

    <:forum:form_pet_message_commentaire :>

  • laravel ffmpeg setAdditionalParameters not adding filters when using exportForHLS

    24 juin 2021, par Warren Visser

    I am trying to add additional filters using the setAdditionalParameters method to the bitrate using Laravel Ffmpeg. When I add the additional filters it does not show when used in combination with exportForHLS. It does however work when using the export method.&#xA;When using exportForHLS the addFilter method adds a complex filter and not a simple filter. Any idea how to achieve this or is this a bug inside the package.

    &#xA;

      public function convert(File $file, Movie $movie)&#xA;{&#xA;    try {&#xA;        $additionalParameters = [&#x27;-preset:v&#x27;, &#x27;ultrafast&#x27;];&#xA;&#xA;        //  convert video to multiple bitrates&#xA;        $higBitrateFormat = (new X264(&#x27;copy&#x27;))&#xA;            ->setAudioChannels(2)&#xA;            ->setKiloBitrate(3000)&#xA;            ->setAdditionalParameters($additionalParameters);&#xA;&#xA;        $mediaOpener = FFMpeg::fromDisk($file->disk)&#xA;            ->open($file->path)&#xA;            ->exportForHLS()&#xA;            ->setSegmentLength(4)&#xA;            ->setKeyFrameInterval(48)&#xA;            ->addFormat($higBitrateFormat)&#xA;            ->toDisk(&#x27;streamable_videos&#x27;)&#xA;            ->save($file->uuid . &#x27;.m3u8&#x27;);&#xA;&#xA;        $attr = [&#x27;converted_at&#x27; => Carbon::now()->toDateTimeString()];&#xA;        $this->movieRepositoryInterface->update($movie->id, $attr);&#xA;        return $mediaOpener;&#xA;    } catch (EncodingException $exception) {&#xA;        $attr = [&#x27;conversion_failed&#x27; => 1];&#xA;        $this->movieRepositoryInterface->update($movie->id, $attr);&#xA;        Log::error(&#x27;encoding failed.&#x27;, [$exception->getErrorOutput()]);&#xA;        throw new CustomEncodingException($exception->getMessage(), $exception->getCode());&#xA;    }&#xA;}&#xA;

    &#xA;

    Here is the ffmpeg output :

    &#xA;

    &#xA;

    -y -threads 12 -i /home/vagrant/code/streaming-api/storage/framework/testing/disks/public/videos/Am1t18C8NnnOlxPCVIx3OiEMzcaXhhEpReDBpBaW.png -map 0 -vcodec libx264 -b:v 3000k -sc_threshold 0 -g 48 -hls_playlist_type vod -hls_time 4 -hls_segment_filename /home/vagrant/code/streaming-api/storage/framework/testing/disks/streamable_videos/9703f521-ec4b-428f-b756-b08946e726b8_0_3000_%05d.ts -master_pl_name temporary_segment_playlist_0.m3u8 -acodec copy -b:a 128k -ac 2 /home/vagrant/code/streaming-api/storage/framework/testing/disks/streamable_videos/9703f521-ec4b-428f-b756-b08946e726b8_0_3000.m3u8

    &#xA;

    &#xA;

  • 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