[FFmpeg-devel] [PATCH] ffmpeg: flush_encoders should not treat avcodec_send_frame return AVERROR_EOF as fatal

2018-10-19 Thread Jason Stevens
this fixes AV_CODEC_CAP_DELAY encoders going into FATAL error and exiting on quit or finish encoding once they go into draining mode and send_frame() returns AVERROR_EOF Signed-off-by: Jason Stevens --- fftools/ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[FFmpeg-devel] [PATCH] libavformat/mxfenc: fix dnxhr ul typo

2018-09-12 Thread Jason Stevens
byte 8 of dnxhr codec ul should be 0x0D Signed-off-by: Jason Stevens --- libavformat/mxfenc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 66814ef6a1..6520574072 100644 --- a/libavformat/mxfenc.c +++ b

[FFmpeg-devel] [PATCH v5 1/2] libavcodec/dnxhd: change ff_dnxhd_get_hr_frame_size to avpriv_

2018-09-08 Thread Jason Stevens
refactor ff_dnxhd_get_hr_frame_size to avpriv_dnxhd_get_hr_frame_size, to allow cross library usage in libavformat/mxfenc this change makes this function no longer be always inlined. Signed-off-by: Jason Stevens --- libavcodec/dnxhd_parser.c | 2 +- libavcodec/dnxhddata.c| 13

[FFmpeg-devel] [PATCH v5 2/2] libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs

2018-09-08 Thread Jason Stevens
Add missing dnxhr mxf container essence ULs to the mxf encoder. This fixes dnxhr mxf files being quarantined by Avid Media Composer. Signed-off-by: Jason Stevens --- libavformat/mxfenc.c | 53 +++- 1 file changed, 52 insertions(+), 1 deletion(-) diff

[FFmpeg-devel] [PATCH v5 0/2] libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs

2018-09-08 Thread Jason Stevens
version 5 of this patch set properly sets DNxHR HQX/444 bit depth. Jason Stevens (2): libavcodec/dnxhd: change ff_dnxhd_get_hr_frame_size to avpriv_ libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs libavcodec/dnxhd_parser.c | 2 +- libavcodec/dnxhddata.c| 13

[FFmpeg-devel] [PATCH v4 2/2] libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs

2018-09-07 Thread Jason Stevens
Add missing dnxhr mxf container essence ULs to the mxf encoder. set proper mxf frame size for dnxhr using libavformat/dnxhd's get dnxhr size function. This fixes dnxhr mxf files being quarantined by Avid Media Composer. Signed-off-by: Jason Stevens --- libavformat/mxfenc.c

[FFmpeg-devel] [PATCH v4 1/2] libavcodec/dnxhd: change ff_dnxhd_get_hr_frame_size to avpriv_

2018-09-07 Thread Jason Stevens
refactor ff_dnxhd_get_hr_frame_size to avpriv_dnxhd_get_hr_frame_size, to allow cross library usage in libavformat/mxfenc this change makes this function no longer be always inlined. Signed-off-by: Jason Stevens --- libavcodec/dnxhd_parser.c | 2 +- libavcodec/dnxhddata.c| 13

[FFmpeg-devel] [PATCH v4 0/2] libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs

2018-09-07 Thread Jason Stevens
version 4 of this patch set changes ff_dnxhd_get_hr_frame_size to not be inlined, the same way as avpriv_dnxhd_get_frame_size. Jason Stevens (2): libavcodec/dnxhd: change ff_dnxhd_get_hr_frame_size to avpriv_ libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs libavcodec

[FFmpeg-devel] [PATCH v3 1/2] libavcodec/dnxhd: change ff_dnxhd_get_hr_frame_size to avpriv_

2018-09-07 Thread Jason Stevens
change ff_dnxhd_get_hr_frame_size to avpriv_dnxhd_get_hr_frame_size, to allow cross library usage in libavformat/mxfenc Signed-off-by: Jason Stevens --- libavcodec/dnxhd_parser.c | 2 +- libavcodec/dnxhddata.h| 2 +- libavcodec/dnxhdenc.c | 2 +- 3 files changed, 3 insertions(+), 3

[FFmpeg-devel] [PATCH v3 2/2] libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs

2018-09-07 Thread Jason Stevens
Add missing dnxhr mxf container essence ULs to the mxf encoder. set proper mxf frame size for dnxhr using libavformat/dnxhd's get dnxhr size function. This fixes dnxhr mxf files being quarantined by Avid Media Composer. Signed-off-by: Jason Stevens --- libavformat/mxfenc.c

[FFmpeg-devel] [PATCH v3 0/2] libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs

2018-09-07 Thread Jason Stevens
e for dnxhr using libavformat/dnxhd's get dnxhr size function. This fixes dnxhr mxf files being quarantined by Avid Media Composer. Jason Stevens (2): libavcodec/dnxhd: change ff_dnxhd_get_hr_frame_size to avpriv_ libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs

[FFmpeg-devel] [PATCH v2] libavformat/mxfenc: add missing dnxhr mxf container essence ULs

2018-08-28 Thread Jason Stevens
Add missing dnxhr mxf container essence ULs to the mxf encoder. set proper mxf frame size for dnxhr. This fixes dnxhr mxf files being quarantined by Avid Media Composer. --- libavformat/mxfenc.c | 55 +++- 1 file changed, 54 insertions(+), 1 deletion(-) dif