[FFmpeg-user] Wrong width when decoding h264

2016-04-13 Thread Chen Fisher
I'm having a weird problem after compiling ffmpeg release/3.0 from source After calling avcodec_open2, the codec context width is 6 and height is 1280 while the right width should have been 960 Any ideas? Thanks Chen ___ ffmpeg-user mailing list

Re: [FFmpeg-user] Wrong width when decoding h264

2016-04-13 Thread Chen Fisher
width and height of avcodeccontext before calling avcodec_open2 is 0, 1280 (so I guess the problem is somewhere before avcodec_open2?) On Wed, Apr 13, 2016 at 12:30 PM, Chen Fisher <chen.fis...@gmail.com> wrote: > I'm having a weird problem after compiling ffmpeg release/3.0 fr

[FFmpeg-user] Custom AVIOContext with RTMP

2016-03-28 Thread Chen Fisher
Is it possible to use custom AVIOContext with RTMP? I've implemented my own AVIOContext with read and write functions by I get an error form ffmpeg when trying to stream to that aviocontext saying it couldn't read the RTMP handshake response. I saw that my 'write' function was never called so I

[FFmpeg-user] mpdecimate and setpts

2018-02-11 Thread Chen Fisher
I'm using mpdecimate to remove similar frames: ffmpeg -i in.mp4 -vf mpdecimate out.mp4 But the ending result has the same number of frames as the original video file (although smaller file size). When using mpdecimate with setpts, the ending result has indeed smaller frame count and smaller file

Re: [FFmpeg-user] mpdecimate and setpts

2018-02-14 Thread Chen Fisher
Thanks Carl! That works. On Mon, Feb 12, 2018 at 3:57 PM Carl Eugen Hoyos <ceffm...@gmail.com> wrote: > 2018-02-12 7:57 GMT+01:00 Chen Fisher <chen.fis...@gmail.com>: > > I'm using mpdecimate to remove similar frames: > > ffmpeg -i in.mp4 -vf mpdecimate out.mp4 > &