[Ffmpeg-devel] movenc.c ipod h264 suggested change
Jason Millard
jsm174
Wed Mar 29 04:26:40 CEST 2006
Okay. I will make the changes.
I'm already thinking:
if ( track->enc->profile == FF_PROFILE_UNKNOWN )
{
put_byte(pb, 77); /* default profile */
}
else
{
put_byte(pb, track->enc->profile) /* custom profile */
}
put_byte(pb, 64); /* profile compat */
if ( track->enc->level == FF_LEVEL_UNKNOWN )
{
put_byte(pb, 30); /* default level */
}
else
{
put_byte(pb, track->enc->level) /* custom level */
}
since level and profile are ints, should I AND it 0xFF to force it to a byte?
Thanks,
-- Jason
On 3/28/06, Loren Merritt <lorenm at u.washington.edu> wrote:
> On Tue, 28 Mar 2006, Jason Millard wrote:
>
> >> Just because you should use the same internal format name doesn't mean
> >> there can't use a user-friendly interface. The correct way is adding a
> >> "-target ipod".
> >
> > okay, so what route should I persue? fetching from
> >
> > 1) -target
> >
> > or
> >
> > 2) -profile and -level
> >
> > Since they are both ints, I can say -profile 66 -level 13
>
> -target should set profile and level, then you can use either way.
>
> --Loren Merritt
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list