• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
No Audio In QTMovieView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Audio In QTMovieView


  • Subject: No Audio In QTMovieView
  • From: Matteo <email@hidden>
  • Date: Tue, 24 May 2005 11:36:20 +0200

Hi there,
    I have a problem with QTMovieView, this is an extract of my code:

    if ([QTMovie canInitWithFile:pathName])
    {
        mMovie = [QTMovie movieWithFile:pathName error:nil];
        [mQT_controller setMovie:mMovie];
        [mQT_controller setHidden:NO];
        [mQT_controller setEditable:YES];
    }

Where pathname is the filepath of a movie file (that contains only an audio track) and QTMovieController is a QTMovieView.

The movie is successfully loaded inside the QTMovieView, however I can't hear any sound...I tryed to pass
a movie with audio and video track, and I can see the video but not the audio. The strange thing is that
I can see the video only if I try to resize the window.


If I set the movie file from the nib and than I change it inside the code everythings seems to play fine but how can
I do to set the movie directly form the code?


    best regards & thanks in advance,
    Matteo

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: FYI: User feedback for LSMinimumSystemVersion
  • Next by Date: Re: Should I add properties to ABPerson?
  • Previous by thread: glyphWithName: in Tiger
  • Next by thread: Re: No Audio In QTMovieView
  • Index(es):
    • Date
    • Thread