[x264-devel] h264 video in FLV container have artifacts by playing from a position to next keyframe

vf fedorchuk at gmail.com
Fri Jul 10 21:33:58 CEST 2009


I've attached 1k of the result file.

On Fri, Jul 10, 2009 at 10:26 PM, vf <fedorchuk at gmail.com> wrote:

> Hello, Bruce,
> Thank you for the reply.
>
> I've attached these two files. They are not so big.
>
> 80056336515605765.h264 looks fine
> test.flv has artifacts
>
> I can force mencoder to insert keyframe every 30 frames. I'm not sure it is
> a proper way.
>
> ------------------------------
>
> Message: 2
> Date: Thu, 9 Jul 2009 22:33:29 +0100
> From: "Bruce Weir" <Bruce.Weir at bbc.co.uk>
> Subject: Re: [x264-devel] h264 video in FLV container have artifacts
>        by      playingfrom a position to next keyframe
> To: "Mailing list for x264 developers" <x264-devel at videolan.org>
> Message-ID:
>        <
> 24EAA2F8B597084696EA17AABCAD51C60AB9ECD0 at bbcxues10.national.core.bbc.co.uk
> >
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Can you attach the first 1000 or so bytes of your corrupted .flv file to a
> message and I will take a look?
> As a wild guess, I would suggest that you are missing an I frame at the
> start of your file, in which case the subsequent predicted frames will be
> displaying incorrectly until the next I frame appears. ffplay will happily
> play such corrupted frames, but Flash Player probably will not. I will be
> able to tell for sure by taking a look at the file.
>
> The following link describes the format of flash video
> http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v10.pdf <
> http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v10.pdf>
> which should allow you to pick out the H264 video sections from your file
> and check if the first H264 frame is a keyframe or interframe.
>
> ________________________________
>
>
> On Thu, Jul 9, 2009 at 8:09 PM, vf <fedorchuk at gmail.com> wrote:
>
>> I'm putting h264 video to the FLV container:
>>
>> # /usr/local/bin/mencoder -o /tmp/80056336515605765
>> /root/videotest/Crete_Faistas. avi -ovc x264 -x264encopts
>> bitrate=288:frameref=5:bframes=0:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=30:threads=auto
>> -vf scale=540:436,harddup -oac mp3lame -lavcopts acodec=mp3:abitrate=128
>> -srate 22050
>>
>> It looks fine - no artifacts
>>
>> When I copy it in a FLV container:
>>
>> # ffmpeg -i /tmp/80056336515605765 -f flv -acodec copy -vcodec copy -sameq
>> /tmp/test.flv
>>
>> This video have artifacts by playing from a position to next keyframe.
>>
>> Can someone help me? Or point documentation?
>>
>> P.S. I'm using VLC player and Flowplayer. The results are the same.
>>
>> --
>> Best Regards,
>> Volodymyr Fedorchuk
>>
>
>
>
> --
> Best Regards,
> Volodymyr Fedorchuk
>



-- 
Best Regards,
Volodymyr Fedorchuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20090710/01788877/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xaa
Type: application/octet-stream
Size: 1024 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20090710/01788877/attachment.obj>


More information about the x264-devel mailing list