Hello everyone We've been using FFmpeg in one of our projects for a while now, and it has worked fairly well. I have some questions about encoding DV files though.
The dvvideo encoder specifies that it supports a number of planar YUV formats. However, it is very picky about which resolutions works with which pixel format(s). Is there an easier/better way to pick the output pixel format other than iterating over all supported ones and attempting to open an encoder each time? It seems a bit wasteful, but it's more robust compared to how for example ffmpeg.c deals with it - just using the first format and failing. Ah, and an observation: the dvvideo encoder accepts any profile when opened. En error is reported only when the DV muxer is opened, thus foiling my pixel format choosing efforts. I suspect a check using ff_dv_codec_profile() in dvvideo_init() would suffice on my end, but maybe it should be patched? In addition, it would be nice to have a list of supported resolutions to go with the list of supported pixel formats, but maybe I should post such suggestions in FFmpeg-devel? Finally, are there plans to support 32 kHz and 44.1 kHz audio in addition to 48 kHz audio in the DV muxer? The demuxer seems to be able to handle these rates. Thanks in advance. /Tomas Härdin PS: If parts of this mail looks broken it's because I had to resend it due to greylisting. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
