video files have issues playing

Bug #1072661 reported by Eric Zig
52
This bug affects 7 people
Affects Status Importance Assigned to Milestone
ubuntu-nexus7
Confirmed
High
Alex Chiang

Bug Description

SD or HD videos

VLC: black screen and there no sound
Totem: video doesn't run properly but there sound

Videos tested:

mkv hd:
video: 1280 x 720, H264, 24 frames
audio: Dolby Digital (AC-3), Surround 5.1, 48000 Hz, 384 kbps

mkv sd:
video: 720 x 576, H264, 30 frames
audio: MPEG-4 AAC, Stereo, 44100 Hz

avi:
video: 576 x 432, DivX MPEG-4 Version 5, 24 frames
audio: MPEG 1 Audio, Layer 3 (MP3), Stereo, 44100 Hz, 127 kbps

Tags: tegra3
Revision history for this message
Matt Fischer (mfisch) wrote :

What codecs cause this?

Changed in ubuntu-nexus7:
status: New → Incomplete
Revision history for this message
Eric Zig (zuric) wrote :

It's for mkv and avi files
I don't try other

Matt Fischer (mfisch)
Changed in ubuntu-nexus7:
status: Incomplete → New
Revision history for this message
Eric Zig (zuric) wrote :

Sorry...

mkv hd:
video: 1280 x 720, H264, 24 frames
audio: Dolby Digital (AC-3), Surround 5.1, 48000 Hz, 384 kbps

mkv sd:
video: 720 x 576, H264, 30 frames
audio: MPEG-4 AAC, Stereo, 44100 Hz

avi:
video: 576 x 432, DivX MPEG-4 Version 5, 24 frames
audio: MPEG 1 Audio, Layer 3 (MP3), Stereo, 44100 Hz, 127 kbps

Voila

Eric Zig (zuric)
description: updated
summary: - Cant't read videos files
+ Can't read videos files
Revision history for this message
Kaustubh Purandare (kpurandare) wrote : Re: Can't read videos files

We have accelerated Gstreamer functional for Tegra 3 for all AV formats working. Tested with gst-launch and TOTEM as well.

Revision history for this message
Jani Monoses (jani) wrote :

Hi Kaustubh,
please provide a link to the sources so we can test.
thanks

Revision history for this message
Kaustubh Purandare (kpurandare) wrote :

Hi,

The accelerated GST-OPenMax package binaries is provided as part of L4T distro (Linux for Tegra). Anyone can download the BSP from the Nvidia website.

http://www.nvidia.com/content/devzone/linux-for-tegra.html

Thanks,
Kaustubh

Matt Fischer (mfisch)
Changed in ubuntu-nexus7:
status: New → Confirmed
importance: Undecided → Critical
importance: Critical → High
summary: - Can't read videos files
+ some video files have no audio and show a blackscreen
Alex Chiang (achiang)
tags: added: tegra3
Revision history for this message
Chris Wayne (cwayne) wrote : Re: some video files have no audio and show a blackscreen

@Eric Zig,

Can you post the exact files you used to test with this?

Changed in ubuntu-nexus7:
assignee: nobody → Chris Wayne (cwayne18)
Revision history for this message
david6 (andrew-dowden) wrote :

As this is a reference platform, any testing should be similar for anyone.

Can you suggest what file types, codecs would be good to test? (And what should work?)

I have a lot video files, but very little suitable as uploadable 'test' files ..

Revision history for this message
Victor Tuson Palau (vtuson) wrote :

related, I am having problems playing files with VLC that work with Totem
https://bugs.launchpad.net/ubuntu-nexus7/+bug/1076982

Revision history for this message
Chris Wayne (cwayne) wrote :

As victor pointed out in other bugs, totem and VLC have problems playing big buck bunny (http://www.bigbuckbunny.org/index.php/download/) in 720p. 480p works fine, and 1080p is essentially a slideshow.

summary: - some video files have no audio and show a blackscreen
+ video files have issues playing
Revision history for this message
Chris Wayne (cwayne) wrote :

Please re-try this without having VLC installed. My current theory is that VLC is pulling in additional codecs which may be breaking the tegra3-codecs package. Without vlc, I was able to watch this file:
http://downloads.dvdloc8.com/trailers/divxdigest/simpsons_movie_trailer.zip

Although there was some noticable stuttering, once it began running it was watchable.

Note: Totem froze halfway through but that looks to be a seperate issue for now.

Revision history for this message
Eric Zig (zuric) wrote :

Yes, I confirm, It's better without vlc for simpsons trailer

An other test:
Download big bunny 720p ogg on (http://www.bigbuckbunny.org/index.php/download/)
run:
gst-launch filesrc location=big_buck_bunny_720p_stereo.ogg ! oggdemux ! theoradec ! xvimagesink

This test is just for the video
The image is ugly and there are lot stuttering, with and without vlc installed

Revision history for this message
Sean Feole (sfeole) wrote :

I myself tried to play a few videos, specifically .mov files encoded with H.264. I noticed that the movie * 480p * would start to play for about 2 seconds then the video would hang. This was resolved if I paused the movie and moved the slider a few frames forward then resumed.

Re-assigning this bug to Alex Chiang, bug already tagged with Tegra3. Hopefully Nvidia may be able to give us some pointers / optimizations

Changed in ubuntu-nexus7:
assignee: Chris Wayne (cwayne18) → Alex Chiang (achiang)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The video players need to be made using GLES. The xbmc package (Universe) is built with GLES graphics acceleration and videos play fluently with it. See also

https://wiki.ubuntu.com/Nexus7/UsingTheDevice#Nexus_7_with_Ubuntu_getting_useful:_Media_Player

Also YouTube videos play fluently in Firefox in HTML-5 mode. See

https://wiki.ubuntu.com/Nexus7/UsingTheDevice#Watching_YouTube_videos

Perhaps these facts can help making apps like Movie Player and VLC playing videos smoothly.

Revision history for this message
Kaustubh Purandare (kpurandare) wrote :

Did you guys try with the accelerared Gstreamer plugins from Nvidia ? (my comment #6)

Revision history for this message
Oliver Grawert (ogra) wrote :

the gstreamer codecs are not packaged for raring yet, i'll be working on this during the next week...

this will indeed only fix players that also use gstreamer (i.e. totem), others (vlc) wont be able to use HW accel for video playback...

Revision history for this message
Kaustubh Purandare (kpurandare) wrote :

We (Nvidia) has a plan in place to accelerate FFMPEG as well, hopefully that should support acceleration for VLC and other FFMPEG bases apps.

Revision history for this message
Oliver Grawert (ogra) wrote :

do you also have plans to port the omx gstreamer bits to gst 1.0 ? it is likely that we'll drop the older gstreamer bits before 13.04 releases (1.0 is already in the archive and 0.10 completely moved from main to universe)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.