[vlc-devel] [PATCH/RFC] transcode: Do not encode if decoder output fourcc is the target fourcc

Hugo Beauzée-Luyssen hugo at beauzee.fr
Tue Jun 10 12:17:37 CEST 2014


On Tue, Jun 10, 2014 at 12:09 AM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le lundi 9 juin 2014, 23:45:04 Hugo Beauzée-Luyssen a écrit :
>> This patch fixes a problem when trying to transcode a file to an arbitrary
>> fourcc which happens to be the decoder output fourcc.
>> Consider a case where the user wants to transcode any file's video track to
>> I420, if the video track is encoded using H264, there's a high chance,
>> depending on which profile is used, that no re-encoding will be required.
>
> You still need the rawvideo "encoder" to convert the picture back into a data
> block.
>

My apologies if I understood your reply wrong, but isn't that what
this patch is doing, through the picture_ToBlock function?

Regards,

-- 
Hugo Beauzée-Luyssen
mail: hugo at beauzee.fr
skype: beauze.h



More information about the vlc-devel mailing list