Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

No video (black screen) With Audio Only


Hi there,

I've recently downloaded your JW Player plugin 5.10.2295 for use in the latest Wordpress version of 3.4.2.

The video I am working with is an H.264 .mov file and I have also converted the same video to .flv and .mp4.

All the results are the same, I get no video and only audio. The same is true for your bunny test video you provide as well.

I'm wondering if this has anything to do with potential packages I may be missing on a new install of CentOS release 6.3 (Final)?

Thanks in advance.

Chris

18 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Please provide a link.

JW Player

User  
0 rated :

thanks for the quick response.

http://rvtv.systembind.com/?p=116

Chris

Ethan Feldman

JW Player Support Agent  
0 rated :

How did you encode this FLV? Is there an MP4 example as well?

JW Player

User  
0 rated :

This particular FLV was converted using "Freemake Video Converter" and used an H.264 MOV file as the source file.

A good example of an MP4 file would be the bunny video which has the same results.

http://rvtv.systembind.com/?p=112

Thanks,

Chris

Ethan Feldman

JW Player Support Agent  
0 rated :

I would try to re-encoding using – http://handbrake.fr/

JW Player

User  
0 rated :

Thank you I will give that a try.

Chris

JW Player

User  
0 rated :

hmmm haven't had much luck with HandBrake yet as it seems to crash while attempting to select any source file.

I'll do a re-install and deal with that myself but two other points that haven't been addressed.

1. The bunny video, that should work accordingly since it was properly encoded.

2. Are any packages required from a Linux stand point for JW Player to function as intended?

Thanks,

Chris

Ethan Feldman

JW Player Support Agent  
0 rated :

1) Did you encode bunny again after downloading it from? – http://www.longtailvideo.com/jw/upload/bunny.mp4

2) Just Flash, nothing else.

JW Player

User  
0 rated :

Hi Ethan,

We have designed a tool using PHP and embedded JW player in it. All the videos which we play are in MP4 format. However some videos play and the others don't. All we can hear is the audio but the video never loads. On investigating we found if the video data rate is equal to or below 1200 kbps then the video plays but if above 1200 kbps then this problem occurs. We converted the videos above 1200 kbps using format factory converter (frames per second = original frame rate; data rate = 1024 kbps; encoding = AVC H.264) and the video now plays. However due to conversion,there is a slight shift (100 to 200 milliseconds) in the frames of the converted video as compared to the original. We would actually want to eliminate the conversion process and would want to play the videos as it is. How do we do it? Else please suggest a converter that wouldn't shift the frames.Please guide.

Thanks,
Jaydeep

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link that demonstrates this?

JW Player

User  
0 rated :

Hi I have the same issued with .mp4 video

I head the audio but I got black screen ...do you have a idea ?

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link?

JW Player

User  
0 rated :

I am having the same issue except I am using JW Player 6.0.2813...

HTML5 delivery -
<div id="videoContainer"></div>

jwplayer("videoContainer").setup({
'height': $('#home').height(),
'width': $('#home').width(),
'skin': "/media/skins/chevy.xml",
'modes': [
{type: 'html5'},
{type: 'flash', src: '/js/libs/jwplayer/jwplayer.flash.swf'},
],
levels: [
{ file: "/media/video/01-Homepage/test.mp4" }, // H.264 version
{ file: "/media/video/01-Homepage/test.ogg" }, // Ogg Theora version
{ file: "/media/video/01-Homepage/test.webm" } // WebM version
],
'events': {
onPlay: function() { console.log( "onPlay" ); },
onPause: function() { console.log( "onPause" ); },
onFullscreen: function() { console.log( "onFullscreen" ); },
onTime: function(event) {
var time = Math.floor(event.position) % 10;
if (time == 0){
console.log( time );
}
},
onVolume: function(event) { console.log( "the new volume is "+event.volume ); },
onSeek: function(event) { console.log( "Seek position: " + event.position + " :: Seek offset: " + event.offset ); },
onComplete: function() { console.log( "onComplete" ); }
}

});


I'm pretty sure it's not the codec of the formats, simply because when placed in default HTML5 <video> tag, the videos work just fine. Any help would be highly appreciated. I can't provide a link either unfortunately because of client.

Ethan Feldman

JW Player Support Agent  
0 rated :

If you can’t provide a link, email us…

Note, you are using levels, that won’t work in V6…

http://www.longtailvideo.com/support/jw-player/28834/migrating-from-jw5-to-jw6

JW Player

User  
0 rated :

I did discover a warning:
bc.. "Resource interpreted as Image but transferred with MIME type text/html"


I also discovered that you have to include the mp4 (H.264) version first in the levels list like so:
bc.. levels: [
{ file: "/media/video/01-Homepage/test.mp4" }, // H.264 version
{ file: "/media/video/01-Homepage/test.ogg" }, // Ogg Theora version
{ file: "/media/video/01-Homepage/test.webm" } // WebM version
],



I referenced this page: http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/15995/jw-embedder-reference-guide

Which has a block in it about how HTML5 handles levels:

"In HTML5 mode, the levels are used to specify multiple video file formats, for compatibility across different browsers."

I'll keep trying, thanks for the doc - looks like I have some reading to do. :p

Ethan Feldman

JW Player Support Agent  
0 rated :

This is a V5 guide, you are using V6 (you said).

http://www.longtailvideo.com/support/jw-player/28834/migrating-from-jw5-to-jw6

But if you have that warning, you should check your server’s MIME TYPEs for sure…

JW Player

User  
0 rated :

Update:

The test.webm works fine in the standard <video><source> tag, but when implemented using JWPlayer V6, I get this error:

HTTP "Content-Type" of "text/plain" is not supported. Load of media resource http://xxx:8888/media/video/01-Homepage/test.webm failed.

I determined it was my localhost (MAMP) not allowing the content-type to be set to webm, ogg, mp4, etc. The fix was simple, create a .htaccess file and add these types to it:

AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm

Save it in the directory where your video source lives.

Ethan Feldman

JW Player Support Agent  
0 rated :

We don’t provide embedding over a <video> tag in V6.

However, the MIME TYPE issue would do it! Glad you got it working, thanks for sharing!

This question has received the maximum number of answers.