Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (37)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (7328)

  • Encoding of two full hd streams in Linux + GPU with Intel HD4000 / VA API / FFMPEG / OpenGL

    27 juin 2017, par qknight

    i want to encode/stream two full hd streams in realtime from my laptop to a remote location using linux/xorg on the host.

    VA API

    for this i’ve been playing with the VA API but the performance is pretty bad with 5.59 fps (see paste below).

    FFMPEG

    using ffmpeg with CPU encoding i get about 200 fps but then all cores of my Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz are busy and the fan turns on.

    future plans

    i want GPU support in encoding and later integrate this into a program which streams a virtual xorg ’screen’, see https://lastlog.de/wiki/index.php/Raspberry_PI_virtual_screen for more details on my plans.

    maybe h264 isn’t even what i want ? so if someone advices towards a different implementation, i’d welcome that.

    besides VA API there seems to be QuickSync but i didn’t experiment with that yet as it is not packaged on NixOS just yet.

    note : i need a library to have a smooth integration into the code.

    h264encode -w 1920 -h 1080 —profile MPSource frame is 1920x1080 and will code clip to 1920x1088 with crop
    

    INPUT:Try to encode H264...
    INPUT : Resolution : 1920x1080, 60 frames
    INPUT : FrameRate : 30
    INPUT : Bitrate : 14929920
    INPUT : Slieces : 1
    INPUT : IntraPeriod : 30
    INPUT : IDRPeriod : 60
    INPUT : IpPeriod : 1
    INPUT : Initial QP : 26
    INPUT : Min QP : 0
    INPUT : Source YUV : AUTO generated
    INPUT : Coded Clip : /tmp/test.264
    INPUT : Rec Clip : Not save reconstructed frame

    libva info : VA-API version 0.38.1
    libva info : va_getDriverName() returns 0
    libva info : Trying to open /run/opengl-driver/lib/dri/i965_drv_video.so
    libva info : Found init function __vaDriverInit_0_38
    libva info : va_openDriver() returns 0
    Use profile VAProfileH264Main
    Support rate control mode (0x12):CBR CQP
    RateControl mode : CQP
    Support VAConfigAttribEncPackedHeaders
    Support packed sequence headers
    Support packed picture headers
    Support packed slice headers
    Support packed misc headers
    Support 1 RefPicList0 and 1 RefPicList1
    Loading data into surface 15.....Complete surface loading
    \00000059(054456 bytes coded)

    PERFORMANCE : Frame Rate : 5.59 fps (60 frames, 10730 ms (178.83 ms per frame))
    PERFORMANCE : Compression ratio : 51:1
    PERFORMANCE : UploadPicture : 10467 ms (174.45, 97.55% percent)
    PERFORMANCE : vaBeginPicture : 0 ms (0.00, 0.00% percent)
    PERFORMANCE : vaRenderHeader : 1 ms (0.02, 0.01% percent)
    PERFORMANCE : vaEndPicture : 42 ms (0.70, 0.39% percent)
    PERFORMANCE : vaSyncSurface : 244 ms (4.07, 2.27% percent)
    PERFORMANCE : SavePicture : 7 ms (0.12, 0.07% percent)
    PERFORMANCE : Others : -31 ms (71582787.75, 40027653.91% percent)
    (Multithread enabled, the timing is only for reference)

    i’ve seen https://www.reddit.com/r/linux/comments/1qk1yu/is_there_currently_opensource_software_to_encode/ though but i’m not sure what do do with it.

  • I can't use HW encoder of QSV by ffmpeg

    6 novembre 2017, par Ubunkun

    I would like to use to encode by Intel H/W encode QSV.

    Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz

    lspci -nn -s 0:02.0
    00:02.0 VGA compatible controller [0300] : Intel Corporation Broadwell-U Integrated Graphics [8086:1626] (rev 09)

    I could install MediaServerStudioEssentials2017R2 and ffpemg.

    # vainfo | grep -v 'unknown'
    error: can't connect to X server!
    libva info: VA-API version 0.99.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_0_32
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 0.99 (libva 1.67.0.pre1)
    vainfo: Driver version: 16.5.1.59511-ubit
    vainfo: Supported profile and entrypoints
         VAProfileH264ConstrainedBaseline: VAEntrypointVLD
         VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
         VAProfileH264Main               : VAEntrypointVLD
         VAProfileH264Main               : VAEntrypointEncSlice
         VAProfileH264High               : VAEntrypointVLD
         VAProfileH264High               : VAEntrypointEncSlice
         VAProfileMPEG2Simple            : VAEntrypointEncSlice
         VAProfileMPEG2Simple            : VAEntrypointVLD
         VAProfileMPEG2Main              : VAEntrypointEncSlice
         VAProfileMPEG2Main              : VAEntrypointVLD
         VAProfileVC1Advanced            : VAEntrypointVLD
         VAProfileVC1Main                : VAEntrypointVLD
         VAProfileVC1Simple              : VAEntrypointVLD
         VAProfileJPEGBaseline           : VAEntrypointVLD
         VAProfileJPEGBaseline           : VAEntrypointEncPicture
         VAProfileVP8Version0_3          : VAEntrypointEncSlice
         VAProfileVP8Version0_3          : VAEntrypointVLD
         VAProfileNone                   : VAEntrypointVideoProc

    and

    # ffmpeg -codecs | grep qsv
    ffmpeg version N-86584-g4976a34 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)
     configuration: --enable-libmfx
     libavutil      55. 66.100 / 55. 66.100
     libavcodec     57. 99.100 / 57. 99.100
     libavformat    57. 73.100 / 57. 73.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 94.100 /  6. 94.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
    DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_qsv h264_cuvid ) (encoders: h264_nvenc h264_qsv h264_vaapi nvenc nvenc_h264 )
    DEV.L. hevc                 H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_qsv hevc_cuvid ) (encoders: nvenc_hevc hevc_nvenc hevc_qsv hevc_vaapi )
    DEV.L. mpeg2video           MPEG-2 video (decoders: mpeg2video mpegvideo mpeg2_qsv mpeg2_cuvid ) (encoders: mpeg2video mpeg2_qsv mpeg2_vaapi )
    D.V.L. vc1                  SMPTE VC-1 (decoders: vc1 vc1_qsv vc1_cuvid )
    DEV.L. vp8                  On2 VP8 (decoders: vp8 vp8_cuvid vp8_qsv ) (encoders: vp8_vaapi )

    But, I tried to encode as below.

    # ffmpeg -i test.avi -c:v h264_qsv -b:v 2000k -r 30 -s 720x480 -acodec copy -look_ahead 0 qsv.mp4
    ・・・
    [h264_qsv @ 0x3139f40] No device available for encoder (device type qsv for codec h264_qsv).
    [h264_qsv @ 0x3139f40] Encoder will work with partial HW acceleration
    [h264_qsv @ 0x3139f40] Warning in encoder initialization: partial acceleration (4)
    ・・・

    It seems like that the encoding is using by software. It’s slow.
    How can I do by H/W encode ? If you know it, let me know it.

    Bests,

  • php ffmpeg installation on windows

    16 juillet 2017, par techtech

    I downloaded ffmpeg and installed it composer. when I try to use the basic usage code I’m getting this error. In the bin folder, I have ffmpeg, ffplay and ffprobe exe files. Also I have environment variable set for the c:ffmpeg\bin.

    Fatal error : Uncaught exception
    ’Alchemy\BinaryDriver\Exception\ExecutableNotFoundException’ with message ’Executable not found, proposed : c :\ffmpeg\bin\binffprobe.exe’ in C :\xampp\htdocs\core\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php:160 Stack trace : #0
    C :\xampp\htdocs\core\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php(48) : Alchemy\BinaryDriver\AbstractBinary::load(’c :\ffmpeg\bin\b...’, NULL, Object(Alchemy\BinaryDriver\Configuration)) #1 C :\xampp\htdocs\core\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php(207) : FFMpeg\Driver\FFProbeDriver::create(Array, NULL) #2 C :\xampp\htdocs\core\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFMpeg.php(117) : FFMpeg\FFProbe::create(Array, NULL, NULL) #3 C :\xampp\htdocs\core\demo2.php(9) : FFMpeg\FFMpeg::create(Array) #4 main Next exception ’FFMpeg\Exception\ExecutableNotFoundException’ with message ’Unable to load FFProbe’ in C :\xampp\htdocs\core\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php:50 Stack trace : #0 C : in C :\xampp\htdocs\core\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php on line 50

    This is my php code ;

     require_once 'vendor/autoload.php';
     $ffmpeg = \FFMpeg\FFMpeg::create([
    'ffmpeg.binaries'  => 'c:\ffmpeg\bin\binffmpeg.exe',
    'ffprobe.binaries' => 'c:\ffmpeg\bin\binffprobe.exe'
     ]);

     $video = $ffmpeg->open('video.mpg');
    $video
    ->filters()
    ->resize(new FFMpeg\Coordinate\Dimension(320, 240))
    ->synchronize();
    $video
    ->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
    ->save('frame.jpg');
    $video
    ->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
    ->save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
    ->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');`