Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (52)

  • 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

  • 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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (10039)

  • Can't maintain desired fps with ffmpeg live stream when overlay is added

    1er avril 2019, par jawsware

    I’m attempting to produce a 4K live stream for YouTube.

    I’m capturing 2160p30 frames from a BlackMagic Design DeckLink Mini Recorder. I’m passing those frames to ffmpeg in their raw 8-bit 4:2:2 format. I’m able to achieve 30 fps encoding ( 16kbits/s and q= in the high 20s to low 30s) with my current parameters which are :

    ffmpeg -threads:v 2 -threads:a 8 -filter_threads 2
    -f rawvideo -framerate 30 -pixel_format uyvy422 -video_size 3840x2160 -i \\.\pipe\videopipe
    -f s16le -ac 2 -ar 44100 -i \\.\pipe\audiopipe
    -r 30 -g 60 -c:v h264_nvenc -pix_fmt yuv420p -preset fast -profile main
    -b:v 16000K -maxrate 24000k -bufsize 6000k
    -f flv "rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx"

    I’m dilemma is that once I introduce an overlay graphic, my encoding fps drops to 28 at best. Which leads me to believe I’m barley achieving the 30 fps without the overlay. I’m only adding these parameters to include the overlay :

    -i logo.png

    -filter_complex "overlay=100:100"

    I further diminish the encoding fps (20 fps max) when I introduce a dynamic overlay which I feed to ffmpeg through an additional pipe.

    My questions are 1.) is there a better set a parameters I could be using to encode the 4K stream ? 2.) is there a better way to include the overlay ?

  • av_interleaved_write_frame return 0 but no data written

    11 août 2015, par Jerikc XIONG

    I use the ffmpeg to stream the encoded aac data , i use the

    av_interleaved_write_frame()

    to write frame.

    The return value is 0,and it means success as the description.

    Write a packet to an output media file ensuring correct interleaving.

    The packet must contain one audio or video frame. If the packets are already correctly interleaved, the application should call av_write_frame() instead as it is slightly faster. It is also important to keep in mind that completely non-interleaved input will need huge amounts of memory to interleave with this, so it is preferable to interleave at the demuxer level.

    Parameters

    s media file handle

    pkt The packet containing the data to be written. pkt->buf must be set to a valid AVBufferRef describing the packet data. Libavformat takes ownership of this reference and will unref it when it sees fit. The caller must not access the data through this reference after this function returns. This can be NULL (at any time, not just at the end), to flush the interleaving queues. Packet’s stream_index field must be set to the index of the corresponding stream in s.streams. It is very strongly recommended that timing information (pts, dts duration) is set to correct values.

    Returns

    0 on success, a negative AVERROR on error.

    However, I found no data written.

    What did i miss ? How to solve it ?

  • Cannot play video in TextureView Android

    26 octobre 2014, par Billda

    I have a problem with playing video on some devices. I am using textureview with mediaplayer, every methods of SurfaceTextureView are called but when I just call mediaPlayer.start(), immediately the listener with completition of playing is called. In log is this error :

    E/MediaPlayer﹕ error (1, -2147483648)

    When I list log from all applications, I can see some errors and I dont know if it is somehow related http://pastebin.com/rRxxQgdJ

    This log is from CyanogenMod with Android 4.3.1 but on some other devices like Samsung Galaxy S3 mini this error is happening.

    On my Nexus 4 everything works fine. I’ve tried convert that video with mp4 codec for android H.264 and even with ffmpeg but the result is still the same. I am using TextureVideoView implementation from here :
    https://github.com/dmytrodanylyk/video-crop/blob/master/library/src/com/dd/crop/TextureVideoView.java

    Thanks for any advice