Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8961)

  • I am trying to save frames from a webcam via Python and ffmpeg, but the video becomes way to fast

    10 mai 2022, par Matthias

    I get a stream of cv2 images from my webcam and want to save it to a video file. After playing a bit with cv2.VideoWriter() it turned out that using ffmpeg would provide more options and - apparently, following a few threads here on SO - lead to better results. So I gave the VidGear Python library a try, and it seems to work fine.

    


    There is one catch though : My webcam provides a variable framerate, most of the time between 10 and 30 FPS. When saving these frames the video file becomes way too fast, like watching in fast-forward. One real-time minute becomes only a few seconds in the video.

    


    I tried to play with various combinations of the ffmpeg's -framerate and/or -r parameters, but without luck. Here is the command I am using right now :

    


    ffmpeg -y -f rawvideo -vcodec rawvideo -s 1920x1080 -pix_fmt bgra -framerate 25.0 -i - -vcodec libx265 -crf 25 -r 25 -preset fast 


    


    For the records, I am creating the WriteGear class from the VidGear library like this :

    


    video_params = {
    "-vcodec": "libx265",
    "-crf": 25,
    "-input_framerate": 25,
    "-r": 25,
}
WriteGear(output_filename=video_file, logging=True, **video_params)


    


    Any ideas what I am doing wrong here and how I need to call ffmpeg ?

    


  • ffmpeg converting PCM data file to wav file getting distorted(noisy) data

    3 janvier 2015, par Mahendra

    I have raw pcm data in following form :

    0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0100
    0000 0000 0000 0000 0000 0000 0000 0000
    0000 0100 0100 0000 0000 efbf bdef bfbd
    0000 efbf bdef bfbd efbf bdef bfbd efbf
    bdef bfbd efbf bdef bfbd efbf bdef bfbd
    efbf bdef bfbd efbf bdef bfbd 0000 efbf
    bdef bfbd 0000 efbf bdef bfbd efbf bdef
    bfbd 2900 efbf bdef bfbd 0000 efbf bdef
    bfbd efbf bdef bfbd efbf bdef bfbd 0000

    and I want to make this data in wav file when I am converting by ffmpeg getting noisy data by this command :

    sox -V -t raw -b 16 -e signed -r 16000 -c 1 14_32_7_187.pcm  new.wav

    and :

    ffmpeg -f s16le -ar 16000 -ac 1 -i 14_32_7_187.pcm -ar 16000 -ac 1 oout.wav

    using both getting noisy data.

  • avcodec/hevcdec : fix stat_coeff save/load for persistent_rice_adaptation_enabled_flag

    15 novembre 2020, par Xu Guangxin
    avcodec/hevcdec : fix stat_coeff save/load for persistent_rice_adaptation_enabled_flag
    

    It's required by the 9.3.1 TableStatCoeff* section.

    Following clips have this feature :
    WPP_HIGH_TP_444_8BIT_RExt_Apple_2.bit
    Bitdepth_A_RExt_Sony_1.bin
    Bitdepth_B_RExt_Sony_1.bin
    EXTPREC_HIGHTHROUGHPUT_444_16_INTRA_10BIT_RExt_Sony_1.bit
    EXTPREC_HIGHTHROUGHPUT_444_16_INTRA_12BIT_RExt_Sony_1.bit
    EXTPREC_HIGHTHROUGHPUT_444_16_INTRA_8BIT_RExt_Sony_1.bit
    EXTPREC_MAIN_444_16_INTRA_10BIT_RExt_Sony_1.bit
    EXTPREC_MAIN_444_16_INTRA_12BIT_RExt_Sony_1.bit
    EXTPREC_MAIN_444_16_INTRA_8BIT_RExt_Sony_1.bit
    WPP_AND_TILE_10Bit422Test_HIGH_TP_444_10BIT_RExt_Apple_2.bit
    WPP_AND_TILE_AND_CABAC_BYPASS_ALIGN_0_HIGH_TP_444_14BIT_RExt_Apple_2.bit
    WPP_AND_TILE_AND_CABAC_BYPASS_ALIGN_1_HIGH_TP_444_14BIT_RExt_Apple_2.bit
    WPP_AND_TILE_HIGH_TP_444_8BIT_RExt_Apple_2.bit

    you can download them from :
    https://www.itu.int/wftp3/av-arch/jctvc-site/bitstream_exchange/draft_conformance/RExt/

    Signed-off-by : Xu Guangxin <oddstone@gmail.com>
    Signed-off-by : Linjie Fu <linjie.justin.fu@gmail.com>

    • [DH] libavcodec/hevc_cabac.c
    • [DH] libavcodec/hevcdec.c
    • [DH] libavcodec/hevcdec.h