As we use the gstreamer playbin in the media_player.py, the __SUPPORTED_FILE_EXTENSIONS list depends on gstreamers plugins installed on the machine. The gstreamer playbin chose the demuxer/decoder as a function of the source and of the available plugins installed.
So maybe it could be possible to create a pipe with the typefind element to get informations about the video and audio streams and check if it is readable by gstreamer on a particular machine before indexing a file in the db.
As we use the gstreamer playbin in the media_player.py, the __SUPPORTED_ FILE_EXTENSIONS list depends on gstreamers plugins installed on the machine. The gstreamer playbin chose the demuxer/decoder as a function of the source and of the available plugins installed.
So maybe it could be possible to create a pipe with the typefind element to get informations about the video and audio streams and check if it is readable by gstreamer on a particular machine before indexing a file in the db.
Vote : Approve