Re: AVQueuePlayer ( stuttering/freezing - dissapointing playback )
Re: AVQueuePlayer ( stuttering/freezing - dissapointing playback )
- Subject: Re: AVQueuePlayer ( stuttering/freezing - dissapointing playback )
- From: arri <email@hidden>
- Date: Thu, 12 Apr 2012 06:22:53 +0200
HI Rob, thanks for your input!
Yes, all files are identical.
And no, i'm not 'manually' preloading/-rolling anything
(is that possible at all?) And i was asuming that
AVQueuePlayer would be doing this automatically...
Basically AVPlayer already does what i want when it
plays live an HTTP-stream from a m3u8 playlist with
'.ts' segment-files.
I have thought of the option of 'serving' a local '.m3u8' playlist
containing the video files, but that seems a bit odd to me ..
and it could possibly introduce a ton of new problems.
gr
arri
On Wed, Apr 11, 2012 at 9:49 PM, Robert Martin
<email@hidden> wrote:
> I'm a patzer, not an expert - but a couple of thoughts occurred:
>
> Are all files the same dimensions and compressed identically?
>
> There's also probably some latency in opening and pre-rolling a movie - d=
epending on the codec. Are you pre-buffering? (Loading and setting up the n=
ext movie when the current one starts)
>
>
>
> On Apr 11, 2012, at 1:00 PM, arri wrote:
>
>> Hi,
>>
>>
>> I'm working on Lion-application that uses AVQueuePlayer to play a list
>> of video-files,
>> that should seemlessly play as if they're one large movie.
>>
>> i was thinking AVQueuePlayer would be able to do this out of the box,
>> by feeding it
>> AVPlayerItems (as they become available) while playing.
>>
>> The result however is not what i expected;
>> Sound seems to play fine, without any (noticable?) hickups, but the vide=
o-image
>> is very unstable: It starts-out displaying fine, but it freezes when
>> switching between
>> items, sometimes for several seconds, and then it all of a sudden
>> fast-forwards to
>> catch-up with the sound again.
>>
>> The video's that are being played are local files of very modest
>> resolutiuon/bitrate
>> (480x272 @ 25fps - =C2=B1 2Mbit/s)
>> i don't receive any notifications indicating that something is wrong.
>> A timeobserver attached to the player reports the time correctly, also d=
uring
>> video-freezes.
>>
>> Am i overlooking something obvious? What's going wrong?
>>
>>
>> thanks,
>> arri
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
t.net
>>
>> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden