[FFmpeg-devel] [PATCH] ffmpeg: switch to codecpar
Michael Niedermayer
michael at niedermayer.cc
Tue Sep 20 16:12:55 EEST 2016
On Tue, Sep 20, 2016 at 12:28:41PM +0200, Clément Bœsch wrote:
> From: Clément Bœsch <clement at stupeflix.com>
>
> This commit is largely based on commit 15e84ed3 from Anton Khirnov
> <anton at khirnov.net> which was previously skipped in bbf5ef9d.
>
> There are still a bunch of things raising codecpar related warnings that
> need fixing, such as:
> - the use of codec->debug in the interactive debug mode
> - read_ffserver_streams(): it's probably broken now but there is no test
> - lowres stuff
> - codec copy apparently required by bitstream filters
>
> The matroska references are updated because they now properly forward
> the field_order (previously unknown, now progressive).
>
> Thanks to James Almer for fixing a bunch of FATE issues in this commit.
>
> Signed-off-by: Clément Bœsch <clement at stupeflix.com>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> cmdutils.c | 4 +-
> ffmpeg.c | 246 +++++++++++++++++++++++++++++-----------------------
> ffmpeg.h | 1 +
> ffmpeg_filter.c | 24 ++---
> ffmpeg_opt.c | 140 +++++++++++++++++-------------
> libavformat/utils.c | 2 +-
> tests/ref/lavf/mkv | 4 +-
> 7 files changed, 237 insertions(+), 184 deletions(-)
fails with:
./ffmpeg -f concat -i ~/tickets/3108/concatfile.txt -codec copy test.avi
./ffmpeg-ref -f concat -i ~/tickets/3108/concatfile.txt -codec copy test-ref.avi
-rw-r----- 1 michael michael 10707244 Sep 20 15:10 test.avi
-rw-r----- 1 michael michael 2847988 Sep 20 15:10 test-ref.avi
files are in ticket 3108
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160920/18f2e415/attachment.sig>
More information about the ffmpeg-devel
mailing list