Ravi,

Thanks for your hints. Our streams contain I-frames. But the
'stss' (sync sample box) of our streams looks strange:
    (hex) 73 74 73 73 00 00 00 00 00 00 00 00 00 00 01 A0

The entry_count is 0, which causes mp4 parser fails to parse. (Ln642,
http://android.git.kernel.org/?p=platform/external/opencore.git;a=blob;f=fileformats/mp4/parser/src/sampletableatom.cpp;h=234b6408f51a38899c0da5438cb898a4ea456ffd;hb=9b3c56ac71d2b119228599496a93c40d4d9753e3)

Our MPEG-4 encoder does produce I-frames. How does PV Author handle
the sync sample box?

Thanks


On Jun 9, 6:42 am, Ravi <yend...@pv.com> wrote:
> In this mode, the parsers look for the best sync sample from the first
> 10 sync samples. "Best" here is defined as the biggest frame in terms
> of bytes with the rationale that an I-frame with more number of bytes
> will have more pictorial information compared to the others.
>
> So, first and foremost, you need to check how many I-frames is your
> encoder producing, if any? If there are I-frames, look at the mp4
> parser node to see why you are not seeing any thumbnail. Or, file a
> bug, along with the clip in question, and we can take a look.
>
> -Ravi
>
> On Jun 8, 1:41 am, Jia Meng <dspm...@gmail.com> wrote:
>
> > I found there is a macro "BEST_THUMBNAIL_MODE" defined in
> > metadriver.h. If it is turned on, video thumbnails can't be generated
> > in Gallery for streams recorded by our own MEPG-4 encoder. What does
> > "best thumbnail mode" mean? How should I modify our streams to work
> > under this mode?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to