Re: Vlc Media Player Black Screen

0 views
Skip to first unread message
Message has been deleted

Darleen Lamphere

unread,
Jul 17, 2024, 9:43:36 PM7/17/24
to bandcurnipep

I use VLC for years in Windows and never had that problem. I also use it since my fresh Win10 install last year (by "fresh" I mean it wasn't an update installation but a pure installation after format) so there is less room for problems.

vlc media player black screen


DESCARGAR https://oyndr.com/2yOQCk



Until yesterday VLC worked fine but since then all videos I ran in VLC doesn't contain image --- Only sound. I should note that I didn't anything special I could mention to the system - I didn't update the Win drivers or anything of the sort.

Whenever I played any video file using VLC (ver.2.2.4 Weather Wax) only the sound would start. Video frame would show outside of the application window but be black or blank. If I then stopped the play (by clicking the STOP button) and then re-started it, the video would show normally.

I observed that this happened only when I ran VLC. If I played that same video file in any other player like mpc-hc (I never use WMP) etc, Windows would continue to remain in Aero scheme and never drop down to Basic.

By trial & error, I found that selecting Windows GDI Video output solved the problem, atleast for me. Now, my Windows 7 Professional does NOT drop from Aero Glass down to Basic nor does my video play quality suffer!

2)Download proprietary drivers for your graphics card - I think theres a thread on the forum dedicated to that.Example, NVIDIA 8600 using the default 11.4 open source drivers (nouveau?) shows a black screen when VLC uses "Accelerated video output".However, installing the proprietary NVIDIA drivers, VLC will successfully show the movie using "Accelerated video output".

I'm currently developing the android application ServeStream and I've encountered and problem that I can't fix. My application will stream music and video using the android MediaPlayer class. I've modeled my class after the example found at:

The difference between this example and my own code is my MediaPlayer is runs in a service which allows it to continue playback in the background. The problem with the example android code is if I'm watching a video and I leave the current window/activity (i.e press the menu button, etc) and return to the playback activity I get a black screen but still receive audio from the video that is playing.

The important line is mMediaPlayer.setDisplay(holder) because it ties the current view/display to the media player. The view (the "holder") is destroyed when you leave the activity. After returning to the activity and recreating the view, executing mMediaPlayer.setDisplay(holder) again doesn't appear to re-attach the newly created view. A black screen is shown instead of the video.

After lot of googling around and head-scratching over state diagram of MediaPlayer, I finally managed to avoid this so called black screen. I've already posted in the OP's comments section that this problem seems to be resolved with latest Android versions (greater than 4.x)and so I was opting to have similar behavior on Gingerbread devices as well.

Needless to say, SurfaceHolder callback methods play a very crucial role in the lifecycle of a bounded MediaPlayer-SurfaceView implementation. And those very callback methods came handy to me for getting out of this situation.

And here's the most important thing. When user leaves the current activity by either pressing Home button or by opening a different activity with expecting any results, our SurfaceView is going to to be get destroyed. What I wanted to achieve was to resume the playback of ongoing video from the position it was playing when the context got switched.So, in order to do that,

Save the current playback position in a variable so that we can use it later on to seek our playback to that particular position. And one more. Release the damn MediaPlayer instance. I tried to avoid releasing the MediaPlayer instance and it's re-creation but I keep failing over and over. So..point made.

I think I know the cause of the problem. It seems that mediaplayer initializes its surface ONLY when you call prepare/Async(). If you will change the surface after that, you will get what you`ve got. So the solution would be to disable standard lifecycle of activity via android:configChanges="orientationkeyboardHidden". This will prevent your activity from recreations. Otherwise you should call for prepare each time you recreate holder.

You can do: mMediaPlayer.setDisplay(null) when surfaceDestroy and when you enter video again setDisplay for mediaPlayer with new surfaceHolder.
Remember, always put this code below inside onStart, because when home pressed or lockscreen, it will force `sufaceCreate' fired with new holder. View will be recreated, video will show instead black screen

I saw the same issue simply playing video on my Galaxy S3 and on a Xoom Tablet. I turned off hardware (HW) acceleration in the player settings and it solved the problem. I don't develop for Android but hopefully this will lead you to a solution. Maybe you can toggle this setting for a workaround. The device I'm using might not have HW acceleration.

If you want your media to be played in background I suggest you to use video surface as it has been irritating me playing in background though I dont want. There are ways but I hope this one will be fruitful for you -android-media-controller

I have a series of MP4 videos shared with me via Dropbox and I am able to play them no problem within Dropbox, but when I try to export any of them to my laptop or phone it takes several minutes with a progress bar as if the system is actually processing information and creates a newly downloaded file but then I try to open said file (have tried via both the "Movies & TV" and "Windows Media Player" apps) and, nothing. Just a blank black screen. Pressing Play has no effect. The only indication that any information about the video content has translated over is that it does have the correct run time listed at the bottom. Furthermore, the data size of these saved files is just as big as the originals viewable in Dropbox.

It won't allow me to save these videos in MOV format because it says there is not enough space in my Dropbox. But I am not at all confident that purchasing additional Dropbox space would solve this issue, since MP4 should work too.

Did this post help you? If so, give it a Like below to let us know.
Need help with something else? Ask me a question!
Find Tips & Tricks Discover more ways to use Dropbox here!
Interested in Community Groups? Click here to join

I just open up the video and then click the download button (have tried doing this both directly from the originally shared file owned by someone else, and from the same file saved to my own Dropbox, with the same results). There is no error message when I attempt to preview the locally downloaded videos--they simply do not play, and the screen is black instead of showing a still image of the start of the video. (But the run time is listed and the file size is accurate.)

Did this post help you? If so, give it a Like below to let us know.
Need help with something else? Ask me a question!
Find Tips & Tricks Discover more ways to use Dropbox here!
Interested in Community Groups? Click here to join!

Hi @Walter , these are screenshots of my path to access the file saved directly to my computer, and what happens when I click the play button. I have tried opening the videos with Movies & TV and with Windows Media Player with an identical lack of results, except that Windows Media Player also responds by freezing up and has to be force quit afterward. My boyfriend has also tried opening the videos (also shared with him) with a Video Editor app and has the same issue, namely that once he imports them to the app they show up as blank.

Anyone one have a problem like this??Power up SC5000 and it goes through the usual start sequence but the screen is black. Once the start up sequence is finished all the buttons light up green & white.Would love some help with this!! Gig starts in 40 mins?IMG_036830244032 2.52 MB

But now, the SC5000 player constantly looses network accessibility, as well as sometimes having issues with reading usb sticks from any of usb (front and back) ports. And crashes when playing over network (directly connected 2x SC5000 Players). The other player has no issues.

Then ... try out the media player on some photos ... no Joy. I get proper thumbnails for the photos but once I select a photo and let the photos cycle through there is just a black screen. Interestingly, the screen will show the file information for each photo as they are cycled through.

I have never seen any error message on screen. And the behavior is the same using a USB thumb drive or my DLNA media server. Originally thought it might have something to do with file size (some of my photos were super huge JPEGs.) But I just tried with a handful of very small PNGs. Same result, I get the thumbnails displayed fine, but no luck actually displaying the photos full-sized. Video and music files work just fine from the USB and from the DLNA media server.

@rmeineke As mentioned previously, there has been no updates in RMP for close to three years, and even the most recent updates were solely related to music playback. Right now, the only reliable way to play back local media on a Roku is to use Plex or Emby. RMP is simply not functional in many ways.

d3342ee215
Reply all
Reply to author
Forward
0 new messages