[FFmpeg-devel] [PATCH] lavf: add ffprobe demuxer
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Sat Dec 10 02:04:54 EET 2016
On 09.12.2016 15:55, Stefano Sabatini wrote:
> On date Friday 2016-11-25 11:58:42 +0100, Nicolas George encoded:
>> Le quintidi 5 frimaire, an CCXXV, Andreas Cadhalpun a écrit :
>>> I think a better idea would be to require '-strict experimental',
>>> as code disabled by default does neither get build- nor FATE-tested
>>> much.
>>
>> That is an excellent idea!
>
> -strict is for codecs, there is no such thing at the moment for
> muxers/demuxers (so it should be implemented for muxers/demuxers).
It works fine for the mp4 muxer, just try it yourself:
$ ffmpeg -f lavfi -i testsrc=d=1 -c libvpx-vp9 -f mp4 /dev/null -y
$ ffmpeg -f lavfi -i testsrc=d=1 -c libvpx-vp9 -f mp4 -strict experimental /dev/null -y
I even showed how it can be implemented in this case [1]:
if (avf->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
av_log(avf, AV_LOG_ERROR, "The ffprobe demuxer is experimental and requires '-strict experimental'.\n");
return AVERROR_EXPERIMENTAL;
}
Best regards,
Andreas
1: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-December/203901.html
More information about the ffmpeg-devel
mailing list