Page 1 of 1

Black screen with latest build on HD stream

Posted: 02 Jul 2015 10:41
by linked
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 ?

Re: Black screen with latest build on HD stream

Posted: 02 Jul 2015 11:24
by fkuehne
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?

Re: Black screen with latest build on HD stream

Posted: 08 Jul 2015 11:50
by linked
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 ?

Re: Black screen with latest build on HD stream

Posted: 08 Jul 2015 11:52
by fkuehne
Are you on iOS 7?

Re: Black screen with latest build on HD stream

Posted: 08 Jul 2015 14:33
by linked
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;

Re: Black screen with latest build on HD stream

Posted: 09 Jul 2015 09:35
by linked
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.

Re: Black screen with latest build on HD stream

Posted: 09 Jul 2015 09:53
by linked
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.