Comment 4 for bug 1485228

Revision history for this message
Fredrik Sundström (fredrik-per-sundstrom) wrote : Re: [Bug 1485228] Re: Video not working when streaming to mediaplayer-app

I'm not aware of what is media-hub or mediaplayer-app, but I only use the
command "ubuntu-app-launch mediaplayer-app http://192.168.1.9:8081" on the
phone.

I have tested a number of different codecs and mux options in the vlc
command on the server. The combination in the bug report is the one I found
to work best
(#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{mux=ffmpeg{mux=flv},dst=:8081/}),
the others I've tried does not even produce sound on the phone.

2015-12-03 0:15 GMT+01:00 Bill Filler <email address hidden>:

> this is a media-hub issue, not the app. Sounds like media-hub not
> properly handling that codec. Can you stream anything properly with
> media-hub?
>
> ** No longer affects: mediaplayer-app (Ubuntu)
>
> ** Changed in: media-hub (Ubuntu)
> Assignee: (unassigned) => Jim Hodapp (jhodapp)
>
> ** Changed in: media-hub (Ubuntu RTM)
> Assignee: (unassigned) => Jim Hodapp (jhodapp)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1485228
>
> Title:
> Video not working when streaming to mediaplayer-app
>
> Status in Canonical System Image:
> Incomplete
> Status in media-hub package in Ubuntu:
> New
> Status in media-hub package in Ubuntu RTM:
> New
>
> Bug description:
> Video is not working (but audio is) when streaming to MX4 Ubuntu
> edition using mediaplayer-app
>
> I stream a film from an ubuntu server with vlc using the command:
> vlc --intf ncurses file:///media/tvmedia/"film.avi" --sout
> '#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{mux=ffmpeg{mux=flv},dst=:8081/}'
> --sout-keep
>
> I can watch the stream on any computer but when I try to watch it on an
> Meizu MX4, Ubuntu Touch, using the command "ubuntu-app-launch
> mediaplayer-app http://192.168.1.9:8081" the following happens:
> - The mediaplayer starts
> - The screen goes black
> - When I touch the screen I get the controls at the bottom
> - I hear the audio fine as the video plays
> - The screen stays black
>
> I have installed gstreamer1.0-libav
>
> $system-image-cli --info
> current build number: 3
> device name: arale
> channel: ubuntu-touch/stable/meizu.en
> last update: 2015-07-26 09:51:33
> version version: 3
> version ubuntu: 20150720
> version device: 20150709-8965e37
> version custom: 20150716-819-8-42
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/canonical-devices-system-image/+bug/1485228/+subscriptions
>