Open courville opened 5 years ago
For now enabling hwdec for MPEG2 video resultins in jerky video with A/V sync issues in native/avos:
commit ab3236404c2f5f52fa1b29ec24d1690d4f593db9 Refs: [nova] Author: Marc de Courville <marc@courville.org> AuthorDate: Wed Feb 20 21:47:38 2019 +0100 Commit: Marc de Courville <marc@courville.org> CommitDate: Wed Feb 20 21:47:38 2019 +0100 enable mpeg2 via sfdec, since capability check is now enforced (revert of an old commit) --- Source/codec_sfdec2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/codec_sfdec2.c b/Source/codec_sfdec2.c index 5cdf60e..6f07b4a 100644 --- a/Source/codec_sfdec2.c +++ b/Source/codec_sfdec2.c @@ -939,7 +939,7 @@ static STREAM_DEC_VIDEO *new_dec(void) STREAM_REGISTER_DEC_VIDEO( format, 0, MAXW, MAXH, SFDEC_MEDIACODEC, new_dec, "sfdec2", mangler ); #ifdef CONFIG_OMX_MPEG2 -//OMXC_REGISTER( VIDEO_FORMAT_MPEG, &stream_video_mangler_MPEG2 ); +OMXC_REGISTER( VIDEO_FORMAT_MPEG, &stream_video_mangler_MPEG2 ); #endif #ifdef CONFIG_OMX_MPEG4 OMXC_REGISTER( VIDEO_FORMAT_MPG4, NULL );
cf. https://github.com/nova-video-player/aos-AVP/issues/391 there is no de-interlacing supported on ffmpeg for now.
For now enabling hwdec for MPEG2 video resultins in jerky video with A/V sync issues in native/avos: