I've attached 1k of the result file.<br><br><div class="gmail_quote">On Fri, Jul 10, 2009 at 10:26 PM, vf <span dir="ltr"><<a href="mailto:fedorchuk@gmail.com">fedorchuk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, Bruce,<br>Thank you for the reply.<br><br>I've attached these two files. They are not so big.<br><br><span>80056336515605765.h264 looks fine<br></span><span>test.flv has artifacts<br>
<br>I can force mencoder to insert keyframe every 30 frames. I'm not sure it is a proper way.<br><br></span>------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 9 Jul 2009 22:33:29 +0100<br>
From: "Bruce Weir" <<a href="mailto:Bruce.Weir@bbc.co.uk" target="_blank">Bruce.Weir@bbc.co.uk</a>><br>
Subject: Re: [<span>x264</span>-<span>devel</span>] h264 video in FLV container have artifacts<br>
by playingfrom a position to next keyframe<br>
To: "Mailing list for <span>x264</span> developers" <<a href="mailto:x264-devel@videolan.org" target="_blank"><span>x264</span>-<span>devel</span>@videolan.org</a>><br>
Message-ID:<br>
<<a href="mailto:24EAA2F8B597084696EA17AABCAD51C60AB9ECD0@bbcxues10.national.core.bbc.co.uk" target="_blank">24EAA2F8B597084696EA17AABCAD51C60AB9ECD0@bbcxues10.national.core.bbc.co.uk</a>><br>
<br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Can you attach the first 1000 or so bytes of your corrupted .flv file to a message and I will take a look?<br>
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.<br>
<br>
The following link describes the format of flash video<br>
<a href="http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v10.pdf" target="_blank">http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v10.pdf</a> <<a href="http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v10.pdf" target="_blank">http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v10.pdf</a>><br>
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.<br>
<br>
______________________________<div>__</div><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Jul 9, 2009 at 8:09 PM, vf <span dir="ltr"><<a href="mailto:fedorchuk@gmail.com" target="_blank">fedorchuk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm putting h264 video to the FLV container:<br><br># /usr/local/bin/mencoder -o /tmp/80056336515605765 /root/videotest/Crete_Faistas.<div>
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<br>
<br>It looks fine - no artifacts <br><br>When I copy it in a FLV container:<br><br># ffmpeg -i /tmp/80056336515605765 -f flv -acodec copy -vcodec copy -sameq /tmp/test.flv</div><br>This video have artifacts by playing from a position to next keyframe.<br>
<br>Can someone help me? Or point documentation?<br><br>P.S. I'm using VLC player and Flowplayer. The results are the same.<br clear="all"><font color="#888888"><br>-- <br>Best Regards,<br>Volodymyr Fedorchuk<br>
</font></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Best Regards,<br>Volodymyr Fedorchuk<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br>Volodymyr Fedorchuk<br>