Re: [Mlt-devel] A/V sync problem
Brought to you by:
ddennedy,
lilo_booter
From: Dan D. <da...@de...> - 2011-06-11 20:06:13
|
On Sat, Jun 11, 2011 at 12:00 PM, Ertan Deniz <ert...@gm...> wrote: >> Please do more troubleshooting as I am rather busy. What does/did >> work? an earlier version? a different file/format? melt? It kinda >> sounds like the file is non-seekable, and this is expected results for >> non-seekable files today. > > I will attach the video file, it's a 3GP file recorded by HTC Evo > phone. MLT labels the file as non-seekable, I don't know why. For me it shows up as seekable. ffplay version git-N-30577-gf956924 > I can seek with av_seek_frame manually. See producer_avformat.c from around line 663. >> Profile.from_producer will update the profile based on attributes of >> the producer, but that includes all attributes. Alternatively, after >> calling Producer.get_frame one time, you can get the following >> properties as integers: >> meta.media.frame_rate_num >> meta.media.frame_rate_den > > Thanks, I will try these. > >>> This is what I do in short: >>> >>> Profile prof; // A 25 FPS profile >>> Producer producer = new Producer(prof, "original.3gp"); >> >> print producer.get_int("seekable") here to see if the file is seekable > > This prints 0, so the file is not seekable according to MLT. See also 'melt original.3gp -consumer xml' -- +-DRD-+ |