Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (56)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • 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

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (6353)

  • code for image to video convert in android programmatically ?

    11 juin 2015, par Bipin

    How to create the video from series of png images. Is it possible in android can any body suggest me to do that ?

    I am try For that FFMPEG Library And run sample app using FFMPEG ..
    But I want To the Complete Code To convert sd card Images to Video .

  • How to encode video with ffmpeg using AMD h264_amf

    10 novembre 2022, par Ivy Growing

    Given :

    


      

    • Win10
    • 


    • AMD CPU
    • 


    • Video capturing card Avermedia Live Gamer Extreme 3
    • 


    • ffmpeg versions and encoders :
    • 


    


    >ffmpeg.exe -encoders | find "264"
ffmpeg version 5.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
// cut
 V....D libx264              libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (codec h264)
 V....D libx264rgb           libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB (codec h264)
 V....D h264_amf             AMD AMF H.264 Encoder (codec h264)
 V....D h264_mf              H264 via MediaFoundation (codec h264)
 V....D h264_nvenc           NVIDIA NVENC H.264 encoder (codec h264)
 V..... h264_qsv             H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (Intel Quick Sync Video acceleration) (codec h264)


    


    Required to capture the video into H.264 encoded file using AMD's hardware accelerator in the CPU (AMF, or VCE).
Tried : ffmpeg -y -f dshow -rtbufsize 2002000k -framerate 30 -i video="Live Gamer EXTREME 3"  -t 00:00:10  -c:v h264_amf output.ts
Result :

    


    Input #0, dshow, from 'video=Live Gamer EXTREME 3':
  Duration: N/A, start: 88548.973998, bitrate: N/A
  Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422(tv, bt709/bt709/unknown), 1280x720, 30 fps, 30 tbr, 10000k tbn
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_amf))
Press [q] to stop, [?] for help
[h264_amf @ 000002404328c700] DLL amfrt64.dll failed to open
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
Conversion failed!


    


    For some reason ffmpeg uses resolution 1280x720... When trying to specifiy the capture card resolution the following error appears :

    


    >ffmpeg -y -f dshow -rtbufsize 2002000k -framerate 30 -video_size 3840x2160 -i video="Live Gamer EXTREME 3" -r 30 -t 00:00:10   -c:v h264_amf -f mpegts output.ts
//cut
[dshow @ 0000029d7c0f84c0] Could not set video options
video=Live Gamer EXTREME 3: I/O error


    


    This is not unique error for Avermedia card. The same error appears with Dell web cam and for Magewell.

    


    From this answer the extra flags to be used with h264_amf. I guessed the default values should be good enough. It seems something needs to be configured or initialized when using AMF/VCE.

    


    The video encoding in software (without AMF) works just fine but loads the CPU. The goal is using dedicated hardware module and release computational power of the CPU for the other apps.

    


    Command example will be appreciated.

    


  • mplayer or ffmpeg to display video that is beeing pushed to the player ?

    18 décembre 2020, par Sebastian Heyn

    I am planning an application, where an outside video camera should be displayed using mplayer (or any other lightweight video player).

    


    However, instead of connecting the mplayer to the camera server (ffmpeg or something), I want the camera to push the video to the player.

    


    The camera will be on an unstable network, and it will be natted so I cannot access without using a VPN or ssh tunnel. Those tunnels will consume CPU power, bandwidth and connection establish time.

    


    Ideally, the last received frame will be displayed, until the next frame is received, without closing the window.

    


    Does anyone know a way to achieve this using existing software ? BTW : The camera will be connected to a raspberry or simillar.