Most video files are playing with audio only

Bug #1234722 reported by Omer Akram
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gst-plugins-bad1.0 (Ubuntu)
Fix Released
High
Jim Hodapp
Saucy
Won't Fix
High
Jim Hodapp

Bug Description

I recorded a video file from Galaxy Nexus (using android) and put it on my Ubuntu phone(mako). When I start the video I can only listen to the audio i.e. no video.

1. Download the attached video and paste it in ~/Videos on the phone.
2. login to the phone from adb, unlock the screen
3. run: start application APP_ID=mediaplayer-app APP_URIS=~/Videos/VID_20131003_172149.mp4

The mediaplayer comes up there is sound but no video. This was tested on mako.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: gstreamer1.0-plugins-bad 1.2.0-3ubuntu1
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.12.5-0ubuntu1
Architecture: armhf
Date: Thu Oct 3 13:33:35 2013
InstallationDate: Installed on 2013-10-03 (0 days ago)
InstallationMedia: Ubuntu Saucy Salamander (development branch) - armhf (20131003)
MarkForUpload: True
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
SourcePackage: gst-plugins-bad1.0
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Omer Akram (om26er) wrote :
summary: - mp4 files are playing with audio only
+ some mp4 files are playing with audio only
Changed in gst-plugins-bad1.0 (Ubuntu):
importance: Medium → High
summary: - some mp4 files are playing with audio only
+ Most video files are playing with audio only
Revision history for this message
Omer Akram (om26er) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gst-plugins-bad1.0 (Ubuntu):
status: New → Confirmed
Omer Akram (om26er)
Changed in gst-plugins-bad1.0 (Ubuntu):
assignee: nobody → Jim Hodapp (jhodapp)
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

If I run
start application APP_ID=mediaplayer-app APP_URIS=~/Videos/VID_20131003_172149.mp4

on
$ sudo system-image-cli -i
current build number: 78
device name: maguro
channel: stable
last update: 2013-10-03 10:54:54
version version: 78
version ubuntu: 20131003
version device: 20131002.1

which is the latest stable image to date. And
$ apt-cache policy gstreamer1.0-plugins-bad:armhf
gstreamer1.0-plugins-bad:
  Installed: 1.2.0-3ubuntu1
  Candidate: 1.2.0-3ubuntu1
  Version table:
 *** 1.2.0-3ubuntu1 0
        500 http://ports.ubuntu.com/ubuntu-ports/ saucy/universe armhf Packages
        100 /var/lib/dpkg/status

Changed in gst-plugins-bad1.0 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

forgot to add -> it works fine

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

also, just in case, works in mir and surfaceflinger.

Omer Akram (om26er)
description: updated
Omer Akram (om26er)
description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

It doesn't work on mako with build 83. I tried with the video attached and other movies.

Changed in gst-plugins-bad1.0 (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jim Hodapp (jhodapp) wrote :

I haven't had time to look into this yet, but my hunch is that the issue is related to the GStreamer plugin caps for decoder plugin to accept vp8 decoding. On both maguro and mako, the list of supported decoders in /system/etc/media_codecs.xml clearly show that it should be supported:

<MediaCodec name="OMX.google.vpx.decoder" type="video/x-vnd.on2.vp8" />

Will take a look at this after I fix software rendering.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

The issue with the attached video is that our sink is currently only supporting NV12 (in caps), and the raw format that the decoder provides for this video is I420.

In theory we support that video just fine, we're just missing it from the caps. Jim is working on a fix to add a few extra known caps so we can have this video working as well.

Revision history for this message
Jim Hodapp (jhodapp) wrote :

Just needed to expand the caps of mirsink, and that got this video working. We should support many more output color formats now from various videos.

Changed in gst-plugins-bad1.0 (Ubuntu Saucy):
status: Confirmed → Fix Committed
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Moving to inprogress again as we have another issue besides the missing CAPS, which is lack of software rendering in MIR.

For all videos that are decoded by software (either via gst or android), there will be no rendering at all atm. We just support rendering with hw decoders at this point.

Changed in gst-plugins-bad1.0 (Ubuntu Saucy):
status: Fix Committed → In Progress
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

*In MIR == in mirsink

Revision history for this message
Justin Shafer (justinshafer) wrote :

I don't know if this helps much.. but I get this in logcat while trying to watch a video in the browser.. it rolls through alot of codecs.

http://pastebin.com/JHS6fHBW

Revision history for this message
Justin Shafer (justinshafer) wrote :

Oh.. my roomservice.xml file..
https://github.com/jshafer817/UbuntuTouch/blob/master/roomservice.xml

<project path="hardware/qcom/media-legacy"
      name="arco/android_hardware_qcom_media-legacy"
      remote="github"
      revision="cm-10.1_old"/>

Jim Hodapp (jhodapp)
Changed in gst-plugins-bad1.0 (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

saucy has seen the end of its life and is no longer receiving any updates. Marking the saucy task for this ticket as "Won't Fix".

Changed in gst-plugins-bad1.0 (Ubuntu Saucy):
status: In Progress → Won't Fix
Karen (chinagurl916)
Changed in gst-plugins-bad1.0 (Ubuntu):
status: Fix Committed → Fix Released
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.