Videos do not play: No compatible source was found for this media.

41,956 views
Skip to first unread message

Jorgen Schvaneveldt

unread,
Sep 21, 2017, 3:18:38 PM9/21/17
to ResourceSpace
Hello there,

I just started using Resource Space and it looks like it is exactly what I have been looking for.  

It looks like everything is running pretty good except that I am not able to play video files.  As you can see the attached images, it does create previews that display and sample through when moving the cursor across, however they do not play.  The asset displays an X in the middle and says "No compatible source was found for this media."

I am running on Ubuntu 16.04.3

Has anyone run into this same problem?

Thanks,
Jorgen

video error.PNG
video previews.PNG

Alexandros Antonopoulos

unread,
Sep 25, 2017, 6:33:43 AM9/25/17
to ResourceSpace
If you are using e,g Chrome, you have to allow Flash to work for your site, this is the most usual cause behind this message you are getting

Pedro L

unread,
Oct 3, 2017, 7:03:34 PM10/3/17
to ResourceSpace

How does the variable ffmpeg work?

With this configuration you create a preview of the ingested video that does not have an MP4 extension and would have to be played in the player.

$ffmpeg_preview=true;
$ffmpeg_preview_seconds=3600;
$ffmpeg_preview_extension="mp4";
$ffmpeg_preview_options="-b: v 600k -vcodec libx264 -vprofile baseline -level 31 -g 12 -pix_fmt yuv420p -async 50 -acodec aac -ab 64k -ac 2";

J. Manuel Velasco

unread,
Oct 4, 2017, 6:48:57 AM10/4/17
to ResourceSpace
Hi,

You can override those values in your config file and define the options you will need.
I have my custon transcode process, but you can take a look to the RS scripts to figure out how it works.

Take a look into:

/include/ffmpeg_processing.php

to see how those settings are used to create the ffmpeg command line sentence.

and into

/include/image_processing.php

to study and understand the workflow.

Hope that helps,
·_-


--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.com
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespace+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

opencreativity

unread,
Dec 10, 2017, 5:55:46 PM12/10/17
to ResourceSpace
Ok, I'm in the same situation and after some tests I'm really confused.

Data
Resourcespace Subversion r10819 SVN
on Ubuntu Server 16.04 LTS
in a pure LAMP Environment

I use for the tests:
3 identical video clip in .mp4 .flv .avi
Google Chrome Linux last version
Mozilla Firefox Linux last version
Google Chrome Mac last version on High Sierra
Mozilla Firefox Mac last version on High Sierra

If I try with default config, Chrome give me the same error:
The asset displays an X in the middle and says "No compatible source was found for this media."

But Firefox it's ok.

The question it's flash for sure. I've flash enable in Firefox on both system.

But, when I try to build preview in mp4, nothing goes right in both system, in both browser.
With every options I use, the player load correcrly but when I click on the arrow button in the center of the preview, the load circle start and never start the video preview.

I play around this parameters, with true or false option, with many combinations, but without success:
// Video Preview Management
// $ffmpeg_path='/usr/bin';
// $ffmpeg_preview_extension="mp4";
// $ffmpeg_preview_options = '-f mp4 -ar 22050 -b 650k -ab 32k -ac 1';
# Use qt-faststart to make mp4 previews start faster
// $qtfaststart_path="/usr/bin";
# $qtfaststart_extensions=array("mp4","m4v","mov");

// $video_preview_original=false;
// $ffmpeg_preview_force=true; 

// $ffmpeg_preview=true; 
// $ffmpeg_preview_seconds=20; 
// $ffmpeg_preview_extension="mp4";
// $ffmpeg_preview_options="-b: v 600k -vcodec libx264 -vprofile baseline -level 31 -g 12 -pix_fmt yuv420p -async 50 -acodec aac -ab 64k -ac 2";

I try to analyze the 2 files image_processing and ffmpeg_processing, but I'm not so skilled :|

Any help?

Thanks
Maurizio

Matthew Patulski

unread,
Dec 11, 2017, 8:38:58 AM12/11/17
to ResourceSpace

Maurizio,
What version of FFMPEG are you using?
Matt

Dustin Wilson

unread,
Dec 11, 2017, 9:17:09 AM12/11/17
to ResourceSpace
If you don't mind using Flash, Alexandros is correct. This is the browser blocking Flash. You can allow Flash in all browsers. In Chrome for instance, if you click the (i) in the left part of the address bar, towards the bottom, you can select to allow Flash content.

maurizio sibaud

unread,
Dec 11, 2017, 11:04:28 AM12/11/17
to resour...@googlegroups.com

Hi Matthew,

ffmpeg -version

ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers

built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609

configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv

libavutil      54. 31.100 / 54. 31.100

libavcodec     56. 60.100 / 56. 60.100

libavformat    56. 40.101 / 56. 40.101

libavdevice    56.  4.100 / 56.  4.100

libavfilter     5. 40.101 /  5. 40.101

libavresample   2.  1.  0 /  2.  1.  0

libswscale      3.  1.101 /  3.  1.101

libswresample   1.  2.101 /  1.  2.101

libpostproc    53.  3.100 / 53.  3.100


I can't use Flash, the user of the system are really heterogeneous


Thank you for any help

Maurizio


--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.com
---
You received this message because you are subscribed to a topic in the Google Groups "ResourceSpace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/resourcespace/7vb02ihchKM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to resourcespace+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

PBefore you print think about the environment

Matthew Patulski

unread,
Dec 11, 2017, 12:04:31 PM12/11/17
to ResourceSpace
Maurizo,

Try these three changes and let us know what happens:

[1] Comment out any qtfaststart settings like this one
$qtfaststart_path="/usr/bin";

[2] Add this to the end of your $ffmpeg_preview_options inside the quotes:
-movflags +faststart

[3] Add this to your config.php so that you can see if you are getting a preview file and how large it is.
$flv_preview_downloadable=true;

Matt






Reply all
Reply to author
Forward
0 new messages