Weird -- any idea why there's only 1 key frame? I guess that's what the camera decided to do...<br><br><div class="gmail_quote">On Wed, May 9, 2012 at 8:22 AM, Alex Cohn <span dir="ltr"><<a href="mailto:alexcohn@netvision.net.il" target="_blank">alexcohn@netvision.net.il</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, Apr 16, 2012 at 7:05 PM, Simon Daniels <<a href="mailto:simondaniels23@gmail.com">simondaniels23@gmail.com</a>> wrote:<br>

> Hi guys,<br>
><br>
> I have a set of .MTS files that I'm trying to splice. If I start at 0:00:00,<br>
> the output video works fine. But if I start splicing any time after 0:00:00,<br>
> the output video is empty. I've used the exact same command line with other<br>
> .MTS files and had no problem. It seems like something specific to this<br>
> Panasonic Lumix camera. MP4 and MOV files work fine too.<br>
><br>
> This repros in FFmpeg HEAD-8dfb13e, 0.10.2, and 0.8.3.<br>
><br>
> Any ideas? Thanks!<br>
><br>
> Users-MacBook-Pro:ffmpeg-0.10.2 user$ ./ffmpeg -ss 00:00:01 -t 00:00:25 -i<br>
> 00004.MTS -threads 3 -acodec copy -vcodec copy "output.MTS"<br>
<br>
</div>Your input video stream has only one keyframe, which is the first<br>
frame. For h264, -vcodec copy can only start writing video from a<br>
keyframe. That's why it produces 0 frames in the end.<br>
<br>
BR,<br>
Alex Cohn<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div><br>