SHA256
1
0
forked from jengelh/ffmpeg-4

Accepting request 671835 from home:adrianSuSE:branches:multimedia:libs

friendly request to enable AV1 support in ffmpeg.
Please note that the needed package is not yet in Factory.


- enable AV1 support on x86_64
  * requires patch 0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
- refreshed all patches

OBS-URL: https://build.opensuse.org/request/show/671835
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=39
This commit is contained in:
2019-02-05 12:16:42 +00:00
committed by Git OBS Bridge
parent 401e2d934e
commit b9fcf651b1
6 changed files with 613 additions and 22 deletions

View File

@@ -10,11 +10,11 @@ Improve the error messages a bit to say what's really going on
fftools/ffmpeg_opt.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
Index: ffmpeg-4.0.1/fftools/ffmpeg.c
Index: ffmpeg-4.1/fftools/ffmpeg.c
===================================================================
--- ffmpeg-4.0.1.orig/fftools/ffmpeg.c 2018-06-16 03:12:16.000000000 +0200
+++ ffmpeg-4.0.1/fftools/ffmpeg.c 2018-06-30 00:17:17.757924412 +0200
@@ -2883,7 +2883,7 @@ static int init_input_stream(int ist_ind
--- ffmpeg-4.1.orig/fftools/ffmpeg.c
+++ ffmpeg-4.1/fftools/ffmpeg.c
@@ -2902,7 +2902,7 @@ static int init_input_stream(int ist_ind
if (ist->decoding_needed) {
AVCodec *codec = ist->dec;
if (!codec) {
@@ -23,11 +23,11 @@ Index: ffmpeg-4.0.1/fftools/ffmpeg.c
avcodec_get_name(ist->dec_ctx->codec_id), ist->file_index, ist->st->index);
return AVERROR(EINVAL);
}
Index: ffmpeg-4.0.1/fftools/ffmpeg_filter.c
Index: ffmpeg-4.1/fftools/ffmpeg_filter.c
===================================================================
--- ffmpeg-4.0.1.orig/fftools/ffmpeg_filter.c 2018-04-20 12:02:55.000000000 +0200
+++ ffmpeg-4.0.1/fftools/ffmpeg_filter.c 2018-06-30 00:17:17.757924412 +0200
@@ -972,7 +972,7 @@ static int configure_input_filter(Filter
--- ffmpeg-4.1.orig/fftools/ffmpeg_filter.c
+++ ffmpeg-4.1/fftools/ffmpeg_filter.c
@@ -973,7 +973,7 @@ static int configure_input_filter(Filter
{
if (!ifilter->ist->dec) {
av_log(NULL, AV_LOG_ERROR,
@@ -36,7 +36,7 @@ Index: ffmpeg-4.0.1/fftools/ffmpeg_filter.c
ifilter->ist->file_index, ifilter->ist->st->index);
return AVERROR_DECODER_NOT_FOUND;
}
@@ -1122,7 +1122,7 @@ int configure_filtergraph(FilterGraph *f
@@ -1123,7 +1123,7 @@ int configure_filtergraph(FilterGraph *f
if (!ost->enc) {
/* identical to the same check in ffmpeg.c, needed because
complex filter graphs are initialized earlier */
@@ -45,11 +45,11 @@ Index: ffmpeg-4.0.1/fftools/ffmpeg_filter.c
avcodec_get_name(ost->st->codecpar->codec_id), ost->file_index, ost->index);
ret = AVERROR(EINVAL);
goto fail;
Index: ffmpeg-4.0.1/fftools/ffmpeg_opt.c
Index: ffmpeg-4.1/fftools/ffmpeg_opt.c
===================================================================
--- ffmpeg-4.0.1.orig/fftools/ffmpeg_opt.c 2018-04-20 12:02:55.000000000 +0200
+++ ffmpeg-4.0.1/fftools/ffmpeg_opt.c 2018-06-30 00:17:17.757924412 +0200
@@ -1277,7 +1277,7 @@ static int choose_encoder(OptionsContext
--- ffmpeg-4.1.orig/fftools/ffmpeg_opt.c
+++ ffmpeg-4.1/fftools/ffmpeg_opt.c
@@ -1306,7 +1306,7 @@ static int choose_encoder(OptionsContext
if (!ost->enc) {
av_log(NULL, AV_LOG_FATAL, "Automatic encoder selection failed for "
"output stream #%d:%d. Default encoder for format %s (codec %s) is "