Updated video thumbnail pipeline to use decodebin2
The video thumbnailer uses decodebin to automatically detect the file type in the thumbnail pipeline. However, decodebin does not properly demux theora streams, which causes the thumbnailer to fail for .ogv files. decodebin2 properly demuxes the theora stream and successfully creates thumbnails for .ogv files.
This commit is contained in:
parent
8917ffb1e7
commit
19df857734
@ -186,7 +186,7 @@ from playbin')
|
||||
self.buffer_probes = {}
|
||||
|
||||
pipeline = ''.join([
|
||||
'filesrc location="%s" ! decodebin ! ' % self.source_path,
|
||||
'filesrc location="%s" ! decodebin2 ! ' % self.source_path,
|
||||
'ffmpegcolorspace ! videoscale ! ',
|
||||
'video/x-raw-rgb,depth=24,bpp=24,pixel-aspect-ratio=1/1',
|
||||
',width={0}'.format(self.width) if self.width else '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user