[FFmpeg-user] AVCHD from a Canon HF G10: 'non monotonically increasing dts' + dts mess

Robert Krüger krueger at signal7.de
Tue Aug 23 14:55:39 CEST 2011


On Aug 23, 2011, at 14:22 , Damian Stewart wrote:

> I've discovered that ffmbc http://code.google.com/p/ffmbc/ can do this out of the box:
> 
> ffmbc -i 00167.MTS -vcodec copy -acodec aac -ab 256k 00167.mp4 
> 
> produces an .mp4 that Quicktime is perfectly happy to play. I wonder how easy/difficult it would be to backport ffmbc patches to ffmpeg?
> 
> On 23 Aug 2011, at 11:22, Adruna wrote:
> 
>> Hi,
>> 
>> On 23-8-2011 9:21, Robert Krüger wrote:
>>> could you please file a bug report in the bug tracker and supply a very short sample clip with it?
>>> 
>>> I've had a similar problem in the past and it is buried somewhere in the old roundup bugtracker that I don't know if anyone is using it or if the information is essentially lost. I managed to get this working in my case with a hack in the code by replacing a ">"-Check with ">=" where the error occurred but it might be something else in your case and of course that was not a proper fix but if you want to get your material transcoded, you probably don't really care about that (I didn't). In any case, having this in the bug tracker with a small sample increases chances that someone can/will fix it. Please provide the camera model and recording mode in your bug report so others find this when they run into the same problem.
>> 
>> I have the same problem with the "JVC Everio GZ-HM650". The problem only
>> occurs when copying the original streams to the new container.
>> 
>> So I get the error (build: N-32023-gf138c7f) with the command from Damian:
>> 
>> ffmpeg -i 00167.MTS -vcodec copy -acodec copy out/00167.mp4
>> 
>> but when transcoding like:
>> 
>> ffmpeg -i 00167.MTS -vcodec libx264 -acodec copy out/00167.mp4
>> 
>> it works. Please let me know the bug submission, so I can add a sample
>> file, Recording device info and this note if needed.
>> 
>> Regards,
>> 
>> Adruna
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

technically this would probably work but ffmbc is GPL whereas the corresponding code in ffmpeg is LGPL, i.e. backporting without the explicit consent of ffmbc's author baptiste to relicense to LGPL would make the ffmpeg code GPL which would be a problem for many people.
 


More information about the ffmpeg-user mailing list