[FFmpeg-devel] [PATCH] lavd: add uncoded_frame test program.

Nicolas George george at nsup.org
Sat Feb 8 17:09:31 CET 2014


Le decadi 20 pluviôse, an CCXXII, Michael Niedermayer a écrit :
> Makefile:111: target `tools/uncoded_frame' doesn't match the target pattern

Fixed using:

+PROGS += tools/uncoded_frame$(PROGSSUF)$(EXESUF)

> with the exampl:
> 
> tools/uncoded_frame movie=file.nut:s=v+a uncodedframecrc:pipe:0
> [sonic @ ] The decoder 'sonic' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.
> [nut @ ] Failed to open codec in av_find_stream_info
> [sonic @ ] The decoder 'sonic' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.
> [Parsed_movie_0 @ ] Stream specifier "v" did not match any stream
> Error initializing filter 'movie' with args 'file.nut:s=v+a'
> Unable to parse graph: Invalid argument
> Segmentation fault (core dumped)

Hopefully fixed.

> it appears the segfault happens with any file that has just audio
> though

The segfault would happen whenever the input graph could not be initialized,
due do clean-up on an array that was not yet allocated. That is fixed.

It fails with any file that has just audio because you kept ":s=v+a", and
there is no video stream.

New patch attached, thanks for the testing.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tools-add-uncoded_frame-test-program.patch
Type: text/x-diff
Size: 10795 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140208/66d157d2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140208/66d157d2/attachment.asc>


More information about the ffmpeg-devel mailing list