[FFmpeg-devel] [PATCH][RFC] AVFMT_RAWPICTURE, null format and 2-pass log

Stefano Sabatini stefano.sabatini-lala
Sat Aug 9 11:33:44 CEST 2008


Hi all,

I see no reason for which when is
s->oformat->flags & AVFMT_RAWPICTURE

ffmpeg shouldn't print on the 2-passlog file.

Also I cannot understand why the null_muxer is configured with the
AVFMT_RAWPICTURE flag, which I'd expect instead in rawvideo_muxer (where
it is missing).

Are the attached patches OK, or would you like to comment on the
meaning of the AVFMT_RAWPICTURE flag?

Current documentation says:
#define AVFMT_RAWPICTURE    0x0020 /**< format wants AVPicture structure for
                                      raw picture data */

BTW each one of the patch fixes the problem for which if I do:

ffmpeg -i ~/test.mov -vcodec libxvid -pass 1 -passlogfile test1 -an -f null -y /dev/null

then the pass-logfile issued is empty.

Regards.
-- 
FFmpeg = Forgiving Fostering Multimedia Portable Elastic Gymnast
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-rawpicture-for-null-fmt-00.patch
Type: text/x-diff
Size: 395 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080809/ce0de8ba/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: always-write-passlog-00.patch
Type: text/x-diff
Size: 1045 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080809/ce0de8ba/attachment-0001.patch>



More information about the ffmpeg-devel mailing list