git.videolan.org Git - ffmpeg.git/rss log

FFmpeg git repo

http://git.videolan.org/?p=ffmpeg.git;a=summary

Les articles publiés sur le site

  • avcodec/mjpegenc : Don't allocate unnecessarily much memory

    27 mars, par Andreas Rheinhardt
    avcodec/mjpegenc: Don't allocate unnecessarily much memory
    
    We need to allocate space for 64 coefficients per block;
    24dbc4c2e82481f89d6fcacee1949e5038c5c2fc wanted to
    perform the calculation 64*sizeof(MJpegHuffmanCode)
    at compile time, yet in the end did it in a way that
    made it allocate 64 times as much memory as needed.
    
    Reported-by: Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/mjpegenc.c
  • avformat/rtpenc : Add flag AVFMT_NODIMENSIONS.

    26 mars, par Koushik Dutta
    avformat/rtpenc: Add flag AVFMT_NODIMENSIONS.
    
    Not all rtp formats require the video dimensions to be available
    up front. H264 and HEVC will send them as stream parameters.
    The flag is restrictive and prevents RTP repacketization
    without parsing the codec information out of the stream.
    
    This change checks to see if the codec parameters are available
    on the rtp formats that need it.
    
    Signed-off-by: Koushik Dutta <koushd@gmail.com>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libavformat/rtpenc.c
  • doc/ffmpeg : document videotoolbox in -hwaccel option

    26 mars, par Jun Zhao
    doc/ffmpeg: document videotoolbox in -hwaccel option
    
    Add videotoolbox to the list of supported hardware acceleration methods
    in the -hwaccel option documentation. This option allows users to utilize
    Apple's VideoToolbox framework for hardware-accelerated video decoding
    on macOS and iOS devices.
    
    The videotoolbox acceleration has been supported for a while, but was
    missing from the documentation.
    
    Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
    
    • [DH] doc/ffmpeg.texi
  • fftools/cmdutils : fix error message for "ffmpeg -init_hw_device list"

    26 mars, par Jun Zhao
    fftools/cmdutils: fix error message for "ffmpeg -init_hw_device list"
    
    When running 'ffmpeg -init_hw_device list' to display available hardware
    devices, it incorrectly shows an error message:
    "Failed to set value 'list' for option 'init_hw_device': Immediate exit requested"
    
    This is a regression introduced by commit a50f90f1c23. The command is
    actually working as intended - it should exit after listing devices, but
    shouldn't display an error message.
    
    Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
    
    • [DH] fftools/cmdutils.c
  • fate/vcodec : Test non-default b_strategy

    26 mars, par Andreas Rheinhardt
    fate/vcodec: Test non-default b_strategy
    
    With this modification the test would have caught the regression
    introduced in 72bf3d3c12ae562fd408603483bc59058757b1a1.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] tests/fate/vcodec.mak
    • [DH] tests/ref/vsynth/vsynth1-mpeg4-adap
    • [DH] tests/ref/vsynth/vsynth3-mpeg4-adap