[FFmpeg-devel] [PATCH 2/2] Support playing SMV files.

James Almer jamrial at gmail.com
Fri May 24 02:59:05 CEST 2013


On 23/05/13 8:39 PM, Ash Hughes wrote:
> Hi,
> 
> Here's a fate test, I hope it's acceptable. Also, if it's suitable, please add apple.smv from http://multimedia.cx/samples/smv/ to fate $(SAMPLES)/smv/
> 
> 
> Thanks,
> 
> Ash
> 
[...]
> +FATE_SAMPLES_DEMUX-$(CONFIG_WAV_DEMUXER) += fate-wav-demux
> +fate-wav-demux: CMD = framecrc -i $(SAMPLES)/smv/apple.smv -c copy
> +

You want to test a decoder, not a demuxer. You should instead add a test to 
video.mak, something like

FATE_VIDEO-$(call DEMDEC, WAV, SMVJPEG) += fate-smvjpeg
fate-smvjpeg: CMD = framecrc -i $(SAMPLES)/smv/apple.smv -an

Plus any extra commands it might need (-pix_fmt or such).
Also, like Michael asked, try to get a smaller file since 6mb is a bit much.
You can use dd to cut the file down if you don't have any other sample.

Regards.


More information about the ffmpeg-devel mailing list