Reply to topic

[solved] Imported video files have white image & VDPAU error

User avatar qubodup
Registered Member
Posts
4
Karma
0
Hello,

My versions:
kdenlive 0.9.6-2
mlt 0.9.0-3
xf86-video-ati 1:7.2.0-1


Videos from various sources (smartphone cameras, taken online, screen recordings made with ffmpeg) fail to import and display properly in Kdenlive. This has worked on this Arch Linux 64bit machine before and probably started after some software update or another.

Here is an example, recorded with a Lumia 820, which imports into Kdenlive as a video with working audio but white screen image only:
Download original mp4 file: https://app.box.com/s/dpiuc8kifodgp7scnfi7
YouTube upload for viewing: http://youtu.be/n9EitYNiaf0

Image
Kdenlive after importing the original mp4

When starting Kdenlive, I get these messages:
Code: Select all
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action

When dragging this file into Kdenlive's project tree, I get these messages:
Code: Select all
"/org/freedesktop/UDisks2/drives/ST31000524AS_6VP2JEGX" : property "DeviceNumber" does not exist
"/org/freedesktop/UDisks2/drives/ST31000524AS_6VP2JEGX" : property "Device" does not exist
QCoreApplication::postEvent: Unexpected null receiver
[h264 @ 0x7f720c6f2800] get_buffer() failed
[h264 @ 0x7f720c6f2800] thread_get_buffer() failed
[h264 @ 0x7f720c6f2800] decode_slice_header error
[h264 @ 0x7f720c6f2800] no frame!

Complete command line output: http://codepad.org/ICHpgIqV

If I try using the files, I get the following error in Kdenlive's UI:
Code: Select all
VDPAU failed to initialize decoder (An invalid/unsupported VdpDecoderProfile value was supplied.)

Image
Kdenlive after 'layering' the imported mp4

If I convert the file to .webm format (other formats might also work) using ffmpeg, I can work normally and all I get are these CLI messages:
Code: Select all
"/org/freedesktop/UDisks2/drives/ST31000524AS_6VP2JEGX" : property "DeviceNumber" does not exist
"/org/freedesktop/UDisks2/drives/ST31000524AS_6VP2JEGX" : property "Device" does not exist
kdenlive(1829) Render::checkMaxThreads: // TRACTOR PROBLEM


Any ideas what the VDPAU issue might be and whether it is at all related to the fact that most videos import with faulty image into Kdenlive? Is there a way to disable VDPAU?

Thanks.

Last edited by qubodup on Thu Aug 29, 2013 1:39 am, edited 1 time in total.
ttguy
Moderator
Posts
562
Karma
0
Kdenlives bug report page http://www.kdenlive.org/node/872 suggests try these two things as first steps for diagnosis of issues like this.

Try playing your video file with FFmpeg's player. From a terminal: ffplay myvideo.mpg
Try playing your video file with MLT's player. From a terminal: melt myvideo.mpg
User avatar qubodup
Registered Member
Posts
4
Karma
0
ttguy wrote:Try playing your video file with FFmpeg's player. From a terminal: ffplay myvideo.mpg
Try playing your video file with MLT's player. From a terminal: melt myvideo.mpg


ffplay displays the video correctly.
melt 0.9.0 displays white only (CLI output: http://codepad.org/FaZx1V0d )
melt-git "melt 0.9.1" 20120912 does the same ( http://codepad.org/6sX8gzix )

I guess I'll write an mlt bug report. Thanks for the pointer.
User avatar qubodup
Registered Member
Posts
4
Karma
0
The issue is that VDPAU (an NVIDIA library) is being used, even though the hardware does not support it (I have an ATI graphics card).

One can either disable it using an environment variable
Code: Select all
MLT_NO_VDPAU=1 kdenlive

or you can remove "--avformat-vdpau" from the `./configure` command line when compiling mlt.

I received much help in the MLT issue tracker:
https://sourceforge.net/p/mlt/bugs/199/

Thanks to all!

 
Reply to topic

Bookmarks



Who is online

Registered users: AGB, Azzart, Baidu [Spider], Bing [Bot], Bingy, colomar, Exabot [Bot], garthecho, Google [Bot], google01103, GreatEmerald, jensreuterberg, jstaniek, kainz.a, koriun, Kver, La Ninje, lazyit, Majestic-12 [Bot], MSN [Bot], Nuc!eoN, psbot [Picsearch], rulet111, scummos, SecretCode, Tuukka, undoshmulhe, Uri_Herrera, Yahoo [Bot]