Black screen with latest build on HD stream

iOS, iPad, iPhone, tvOS specific usage questions
linked
Blank Cone
Blank Cone
Posts: 41
Joined: 28 Nov 2014 09:12

Black screen with latest build on HD stream

Postby linked » 02 Jul 2015 10:41

Hi,

Updating from 2.4 to latest, HD stream no more display.
I just see a black screen with the sound playing fine.

No problem on SD stream.
Any idea on what to check ?

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Black screen with latest build on HD stream

Postby fkuehne » 02 Jul 2015 11:24

We need more information about the stream, ideally all the technical details.

Further, does the video appear if you toggle back and forth between mini-player and fullscreen playback?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

linked
Blank Cone
Blank Cone
Posts: 41
Joined: 28 Nov 2014 09:12

Re: Black screen with latest build on HD stream

Postby linked » 08 Jul 2015 11:50

This is what i see with VLC for mac:
H264 MPEG-4 AVC (part 10)(h264)
1920x1080
25fps

How do you toggle mini-player / fullscreen ?

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Black screen with latest build on HD stream

Postby fkuehne » 08 Jul 2015 11:52

Are you on iOS 7?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

linked
Blank Cone
Blank Cone
Posts: 41
Joined: 28 Nov 2014 09:12

Re: Black screen with latest build on HD stream

Postby linked » 08 Jul 2015 14:33

No, testing on real device with IOS 8.3.

But now i have tested with IOS 7 and IOS8 on simulator and get a nice crash when i try to switch to hd stream:

in vlc_block.h line 166, " malloc: *** error for object 0x7fa7ad9a7200: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug":

Code: Select all

static inline void block_Release( block_t *p_block ) { p_block->pf_release( p_block ); }
I don't have this problem when i switch to other streams.

And same testing don't crash on my device, upgraded to 8.4 now, but give black screen with sound in background. When i switch to not HD stream, i see the video, no problem.
Everything was working fine with vlc 2.4.

No idea how to switch mini player. I use code like in example:

Code: Select all

_mediaplayer.drawable = self.movieView;

linked
Blank Cone
Blank Cone
Posts: 41
Joined: 28 Nov 2014 09:12

Re: Black screen with latest build on HD stream

Postby linked » 09 Jul 2015 09:35

I have tested with the official VLC for IOS on Apple store, it can display the video but complain about eac3 sound.
Any idea why i get a black screen while official build can display video ?

From what i remember, i have make a fresh git clone and start the build process in a regular way.
I don't understand why i have this difference.

linked
Blank Cone
Blank Cone
Posts: 41
Joined: 28 Nov 2014 09:12

Re: Black screen with latest build on HD stream

Postby linked » 09 Jul 2015 09:53

Well, i use the same code as SimplePlayback example.
I have put a yellow color instead of black for the UIView that is linked to the drawable VLCMediaPlayer and i see the yellow color for HD streams, like nothing is draw on the view while it's working fine for others streams.


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

Who is online

Users browsing this forum: No registered users and 35 guests