Kodi Community Forum

Full Version: [LIVE] XBMX won't play certain MP4 files - horrible pixelation/noise
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am running XBMC live 9.11 on an aspire revo with 2GB ram and a dual-core atom 330. It plays everything except for the occasional MP4 file. At first it wasn't bothering me but now it's pissing me off. I have an example, and here is the info from GSpot:

Code:
CONT_AUDIO_STREAM_COUNT        1
CONT_BASETYPE                  Undetermined MP4 (.MP4) file
CONT_BYTES_MISSING            
CONT_INTERLEAVE_ALIGN          
CONT_INTERLEAVE_PRELOAD        
CONT_INTERLEAVE_TIME          
CONT_SUBTYPE                  
CONT_TOTAL_BITRATE             0
VIDEO_ASPECT_CONVERT_AVI1      
VIDEO_ASPECT_CONVERT_AVI2      
VIDEO_ASPECT_CONVERT_CVD1      
VIDEO_ASPECT_CONVERT_CVD2      
VIDEO_ASPECT_CONVERT_DVD1      
VIDEO_ASPECT_CONVERT_DVD2      
VIDEO_ASPECT_CONVERT_SVCD1    
VIDEO_ASPECT_CONVERT_SVCD2    
VIDEO_ASPECT_CONVERT_VCD1      
VIDEO_ASPECT_CONVERT_VCD2      
VIDEO_ASPECT_SOURCE_MATCH      
VIDEO_ASPECT_TYPE_NTSC        
VIDEO_ASPECT_TYPE_PAL          
VIDEO_BITRATE                  869
VIDEO_CODEC_NAME               H.264/MPEG-4 AVC
VIDEO_CODEC_STATUS             Codec Status Undetermined
VIDEO_CODEC_TYPE               avc1
VIDEO_DAR                      1.783
VIDEO_DURATION                 48:41.334
VIDEO_FIELDS_PER_SEC          
VIDEO_FRAME_COUNT              70004
VIDEO_FRAMES_PER_SEC           23.976
VIDEO_H264                    
VIDEO_MPEG2                    
VIDEO_MPEG2_3X2                
VIDEO_MPEG2_BFF                
VIDEO_MPEG2_I_L                
VIDEO_MPEG2_PPF                
VIDEO_MPEG2_PROG              
VIDEO_MPEG2_TFF                
VIDEO_MPEG4                    
VIDEO_MPEG4_BVOP              
VIDEO_MPEG4_GMC                
VIDEO_MPEG4_NVOP              
VIDEO_MPEG4_QPEL              
VIDEO_PAR                      
VIDEO_PICS_PER_SEC             23.976
VIDEO_QF                       0.088
VIDEO_SAR                      1.783
VIDEO_SIZE_X                   856
VIDEO_SIZE_Y                   480
AUDIO_BITRATE                  128
AUDIO_BITRATE_TYPE            
AUDIO_CHANNEL_COUNT            2
AUDIO_CODEC                     mp4a: MPEG-4 AAC LC
AUDIO_CODEC_STATUS             Codec Status Undetermined
AUDIO_MPEG_STREAM_ID          
AUDIO_MPEG_SUBSTREAM_ID        
AUDIO_SAMPLE_RATE              48000

VLC Player 1.12 will play the file perfectly...

Is this an unsupported file/codec/container?! if so, is there any ETA on a fix? If not, is something wrong with my configuration? I have a nearly off-the-peg install of LIVE... Thanks in advance!!
Quote:Things we want from EVERY report:

1. "Latest" is NOT a revision, of ANYTHING! (See below)
2. Linux Distribution and Version (eg. Ubuntu 8.04, Gentoo 2007.0-r1, etc)
3. Architecture (eg. i686, x86_64, etc. See below.)
4. Install Method (PPA, RPM, build.sh, manual, other)
5. SVN Revision (See below.)
6. Detailed Instructions to Reproduce the Problem (The more specific the better.)
7. FULL Debug Log (Please use your favorite paste site! See below.) << NOT OPTIONAL!
8. Backtrace (Only attainable if XBMC has crashed. See below.)
9. Compiler Output (Only useful if XBMC doesn't build. See below.)

1) XBMC live 9.11

2/3) results of uname -a:
Code:
Linux XBMCLive 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux

4) XBMC Live installation CD .iso image from xbmc.org

5) I can't seem to find this. In my shutdown menu all I have is "exit xbmc, restart, shutdown and suspend" nothing about system info.

6) i just now attempted changing from VDPAU to software and it played the file! So maybe this is a bug in the nvidia driver?
Code:
$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86 Kernel Module  190.53  Tue Dec  8 18:51:41 PST 2009
GCC version:  gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)
7) Here is the log file output while playing the file in VDPAU:

Code:
08:38:53 T:3077466000 M:1443241984  NOTICE: DVDPlayer: Opening: smb://<filename removed to protect the innocent>
08:38:53 T:3077466000 M:1443241984 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
08:38:53 T:3019242352 M:1443241984  NOTICE: Creating InputStream
08:38:53 T:3019242352 M:1443241984  NOTICE: Creating Demuxer
08:38:54 T:3019242352 M:1437773824  NOTICE: Opening video stream: 0 source: 256
08:38:54 T:3019242352 M:1437773824  NOTICE: Creating video codec with codec id: 28
08:38:54 T:3019242352 M:1437773824  NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(856x480)
08:38:54 T:3019242352 M:1437200384  NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
08:38:54 T:3019242352 M:1437200384  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
08:38:54 T:3019242352 M:1437200384  NOTICE: Creating video thread
08:38:54 T:3019242352 M:1437200384  NOTICE: Opening audio stream: 1 source: 256
08:38:54 T:76721008 M:1437200384   ERROR: (VDPAU) ReleasePixmap called without valid pixmap
08:38:54 T:3019242352 M:1437200384  NOTICE: Finding audio codec for: 86018
08:38:54 T:76721008 M:1437200384  NOTICE: running thread: video_thread
08:38:54 T:3019242352 M:1437200384  NOTICE: Creating audio thread
08:38:54 T:2962226032 M:1437200384  NOTICE: running thread: CDVDPlayerAudio::Process()
08:38:54 T:76721008 M:1437200384  NOTICE: Creating 1920x1080 pixmap
08:38:54 T:2962226032 M:1437200384 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
08:38:54 T:2962226032 M:1437200384  NOTICE: Creating audio device with codec id: 86018, channels: 2, sample rate: 48000, no pass-through
08:38:54 T:76721008 M:1436446720  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 0). Creating a new one. TRY #1
08:38:54 T:76721008 M:1435684864  NOTICE:  (VDPAU) FiniVDPAUOutput
08:38:54 T:76721008 M:1435684864  NOTICE:  (VDPAU) screenWidth:1920 vidWidth:856
08:38:54 T:76721008 M:1435684864  NOTICE:  (VDPAU) screenHeight:1080 vidHeight:480
08:38:54 T:76721008 M:1435684864   ERROR:  (VDPAU) Error: A catch-all error, used when no other error code applies.(25) at VDPAU.cpp:919
08:38:54 T:76721008 M:1435684864  NOTICE:  (VDPAU) Total Output Surfaces Available: 4 of a max (tmp: 4 const: 4)
08:38:54 T:76721008 M:1435684864  NOTICE: VDPAU Decoder capabilities:
08:38:54 T:76721008 M:1435684864  NOTICE: name          level macbs width height
08:38:54 T:76721008 M:1435684864  NOTICE: ------------------------------------
08:38:54 T:76721008 M:1435684864  NOTICE: MPEG1             0  8192  2048  2048
08:38:54 T:76721008 M:1435684864  NOTICE: MPEG2_SIMPLE      3  8192  2048  2048
08:38:54 T:76721008 M:1435684864  NOTICE: MPEG2_MAIN        3  8192  2048  2048
08:38:54 T:76721008 M:1435684864  NOTICE: H264_MAIN        41  8190  2032  2048
08:38:54 T:76721008 M:1435684864  NOTICE: H264_HIGH        41  8190  2032  2048
08:38:54 T:76721008 M:1435684864  NOTICE: VC1_SIMPLE        1  8190  2048  2048
08:38:54 T:76721008 M:1435684864  NOTICE: VC1_MAIN          2  8190  2048  2048
08:38:54 T:76721008 M:1435684864  NOTICE: VC1_ADVANCED      4  8190  2048  2048
08:38:54 T:76721008 M:1435684864   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:76721008 M:1435684864  NOTICE:  (VDPAU) Creating the video mixer
08:38:54 T:76721008 M:1432047616  NOTICE:  fps: 23.976025, pwidth: 856, pheight: 480, dwidth: 856, dheight: 480
08:38:54 T:76721008 M:1432047616  NOTICE: Display resolution DESKTOP : 1920x1080 @ 50.00 - Full Screen (12)
08:38:54 T:76721008 M:1432047616  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 1). Creating a new one. TRY #1
08:38:54 T:76721008 M:1431420928   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:76721008 M:1431040000   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:76721008 M:1430532096   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:76721008 M:1430024192   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:76721008 M:1429516288   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:76721008 M:1427484672   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:3077466000 M:1428119552  NOTICE: Using GL_TEXTURE_2D
08:38:54 T:3077466000 M:1428119552  NOTICE: GL: Using VDPAU render method
08:38:54 T:3077466000 M:1428119552  NOTICE: GL: NPOT texture support detected
08:38:54 T:76721008 M:1428119552   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:3077466000 M:1427103744  NOTICE: Created m_glPixmapTexture (72)
08:38:54 T:76721008 M:1430786048   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:76721008 M:1430786048   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:76721008 M:1430786048   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:76721008 M:1430786048   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:54 T:76721008 M:1430786048   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:55 T:3077466000 M:1430761472  NOTICE: CDVDPlayer::CloseFile()
08:38:55 T:76721008 M:1430761472   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:1115
08:38:55 T:3077466000 M:1430761472  NOTICE: DVDPlayer: waiting for threads to exit
08:38:55 T:3019242352 M:1430761472  NOTICE: CDVDPlayer::OnExit()
08:38:55 T:3019242352 M:1430761472  NOTICE: DVDPlayer: closing audio stream
08:38:55 T:3019242352 M:1430761472  NOTICE: Closing audio stream
08:38:55 T:3019242352 M:1430761472  NOTICE: Waiting for audio thread to exit
08:38:55 T:2962226032 M:1430761472  NOTICE: thread end: CDVDPlayerAudio::OnExit()
08:38:55 T:3019242352 M:1430761472  NOTICE: Closing audio device
08:38:55 T:3019242352 M:1430761472  NOTICE: Deleting audio codec
08:38:55 T:3019242352 M:1430761472  NOTICE: DVDPlayer: closing video stream
08:38:55 T:3019242352 M:1430761472  NOTICE: CDVDPlayer::OnExit() deleting demuxer
08:38:55 T:3019242352 M:1435713536  NOTICE: CDVDPlayer::OnExit() deleting input stream
08:38:55 T:3077466000 M:1435713536  NOTICE: DVDPlayer: finished waiting
08:38:55 T:3077466000 M:1435713536  NOTICE: Closing video stream
08:38:55 T:3077466000 M:1435713536  NOTICE: waiting for video thread to exit
08:38:55 T:76721008 M:1435713536  NOTICE: thread end: video_thread
08:38:55 T:3077466000 M:1436688384  NOTICE: deleting video codec
08:38:55 T:3077466000 M:1436688384  NOTICE:  (VDPAU) ~CVDPAU
08:38:55 T:3077466000 M:1436688384  NOTICE:  (VDPAU) FiniVDPAUOutput
08:38:55 T:3077466000 M:1436688384   ERROR:  (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:824
08:38:55 T:3077466000 M:1441189888  NOTICE: CDVDPlayer::CloseFile()
08:38:55 T:3077466000 M:1441189888 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
08:38:55 T:3077466000 M:1441189888  NOTICE: DVDPlayer: waiting for threads to exit
08:38:55 T:3077466000 M:1441189888  NOTICE: DVDPlayer: finished waiting
and here is the output from changing the video processing to "software" from VDPAU:

Code:
08:40:36 T:3077466000 M:1442430976  NOTICE: DVDPlayer: Opening: smb://<filename removed to protect the innocent>
08:40:36 T:3077466000 M:1442304000 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
08:40:36 T:2962226032 M:1442304000  NOTICE: Creating InputStream
08:40:36 T:2962226032 M:1442304000  NOTICE: Creating Demuxer
08:40:36 T:2962226032 M:1436209152  NOTICE: Opening video stream: 0 source: 256
08:40:36 T:2962226032 M:1436209152  NOTICE: Creating video codec with codec id: 28
08:40:36 T:2962226032 M:1436209152  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
08:40:36 T:2962226032 M:1436082176  NOTICE: Creating video thread
08:40:36 T:2962226032 M:1436082176  NOTICE: Opening audio stream: 1 source: 256
08:40:36 T:2909776752 M:1436082176  NOTICE: running thread: video_thread
08:40:36 T:2962226032 M:1436082176  NOTICE: Finding audio codec for: 86018
08:40:36 T:2962226032 M:1436082176  NOTICE: Creating audio thread
08:40:36 T:2899286896 M:1436082176  NOTICE: running thread: CDVDPlayerAudio::Process()
08:40:36 T:2899286896 M:1436082176 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
08:40:36 T:2899286896 M:1434812416  NOTICE: Creating audio device with codec id: 86018, channels: 2, sample rate: 48000, no pass-through
08:40:36 T:2909776752 M:1434812416  NOTICE:  fps: 23.976025, pwidth: 856, pheight: 480, dwidth: 856, dheight: 480
08:40:36 T:2909776752 M:1434812416  NOTICE: Display resolution DESKTOP : 1920x1080 @ 50.00 - Full Screen (12)
08:40:37 T:3077466000 M:1429446656  NOTICE: Using GL_TEXTURE_2D
08:40:37 T:3077466000 M:1429446656  NOTICE: GL: Shaders support not present, falling back to SW mode
08:40:37 T:3077466000 M:1429446656  NOTICE: GL: NPOT texture support detected
08:40:40 T:3077466000 M:1430999040  NOTICE: CDVDPlayer::CloseFile()
08:40:40 T:3077466000 M:1430999040  NOTICE: DVDPlayer: waiting for threads to exit
08:40:40 T:2962226032 M:1430999040  NOTICE: CDVDPlayer::OnExit()
08:40:40 T:2962226032 M:1430999040  NOTICE: DVDPlayer: closing audio stream
08:40:40 T:2962226032 M:1430999040  NOTICE: Closing audio stream
08:40:40 T:2962226032 M:1430999040  NOTICE: Waiting for audio thread to exit
08:40:40 T:2899286896 M:1430999040  NOTICE: thread end: CDVDPlayerAudio::OnExit()
08:40:40 T:2962226032 M:1430999040  NOTICE: Closing audio device
08:40:40 T:2962226032 M:1431126016  NOTICE: Deleting audio codec
08:40:40 T:2962226032 M:1431126016  NOTICE: DVDPlayer: closing video stream
08:40:40 T:2962226032 M:1431126016  NOTICE: Closing video stream
08:40:40 T:2962226032 M:1431126016  NOTICE: waiting for video thread to exit
08:40:40 T:2909776752 M:1431126016  NOTICE: thread end: video_thread
08:40:40 T:2962226032 M:1431134208  NOTICE: deleting video codec
08:40:40 T:2962226032 M:1431134208  NOTICE: CDVDPlayer::OnExit() deleting demuxer
08:40:40 T:2962226032 M:1436086272  NOTICE: CDVDPlayer::OnExit() deleting input stream
08:40:40 T:3077466000 M:1436086272  NOTICE: DVDPlayer: finished waiting
08:40:40 T:3077466000 M:1441038336  NOTICE: CDVDPlayer::CloseFile()
08:40:40 T:3077466000 M:1441038336 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
08:40:40 T:3077466000 M:1441038336  NOTICE: DVDPlayer: waiting for threads to exit
08:40:40 T:3077466000 M:1441038336  NOTICE: DVDPlayer: finished waiting
08:25:23 T:3077466000 M:1493819392 NOTICE: Starting XBMC, Platform: GNU/Linux. Built on Dec 24 2009 (SVN:26018)
Go under settings and turn debugging on, then reboot. After reboot try to play that file. Use pastebin to paste the entire debug log.
856 is an unsupported width on ion because of a hardware bug, the nvidia driver detects that and then fails to set up vdpau.
For some reason we don't fall back to software decoding here.
because that code wasn't in camelot bobo
Here is the entire logfile with debugging on. No criticisms of the contents of my C drive, please (which I neglected to strip, even though it would have been easy with grep -v heh):

http://pastebin.com/raw.php?i=gUfbpW8L

If I put the video settings to autodetect, will it TRY vdpau first and then fall back to software, because this file works fine in software... Can I specify that somewhere?

If this is a bug in the ION chipset, is there a BIOS firmware update coming (a man can hope, right?)
blm14 Wrote:If I put the video settings to autodetect, will it TRY vdpau first and then fall back to software, because this file works fine in software... Can I specify that somewhere?

Yes, but only in newer versions. You need to upgrade. Either use on of the nightlies/svn or wait for Dharma.
The last time that I upgraded XBMC wouldn't boot up and I had to reinstall from the CD image. I forget - does the XBMC live install include aptitude sources for XBMC? Would that even work or should I just go directly to SVN?