No audio playing VOB files

iOS, iPad, iPhone, tvOS specific usage questions
MidnightCoder
Blank Cone
Blank Cone
Posts: 82
Joined: 08 Aug 2008 06:04

No audio playing VOB files

Postby MidnightCoder » 01 Oct 2016 17:28

I'm using the latest VLC tvOS kit (compiled from the git master branch) in a tvOS app and there is no sound when playing .VOB files. For mp3 and mp4 files, I do hear the sound on the simulator.

The official VLC tvOS app on the App Store seems to play VOB files fine. Does this mean the latest source has bug? BTW, how do I know which revision in the master branch correspond to the version released to the App Store?

My code:

Code: Select all

override func viewDidAppear(animated: Bool) { let url = NSURL(string: "http://f.tkaraoke.com/HL/BHCA.vob"); let media = VLCMedia(URL: url!); m_mediaPlayer.media = media; m_mediaPlayer.drawable = self.m_movieView; m_mediaPlayer.play(); }

MidnightCoder
Blank Cone
Blank Cone
Posts: 82
Joined: 08 Aug 2008 06:04

Re: No audio playing VOB files

Postby MidnightCoder » 03 Oct 2016 21:13

I have resolved this issue by converting the code to Swift 3 and use the simulator from Xcode 8.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 7 guests