On Sat, Jun 11, 2011 at 12:00 PM, Ertan Deniz <ertan...@gmail.com> 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-+

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to