[Android Apps and Games] pieware:
Problem transcoding on BubbleUPNP Server

First of all - thanks to the developer(s) for the great product. So far it's exactly what I've been looking for except for a problem I ran into when trying out the bubble upnp server.

Here's my set-up:

Plex media server and bubbleupnp server on same ubuntu box, chromecast, and bubbleupnp on Samsung Galaxy S3.

I'm trying to play a MKV file from plex on my chromecast, but all I'm getting is audio with no video.

According to ffmpeg's output, the MKV file uses h264 and AAC codecs. It looks like the bubbleupnp server tries to transcode the video but fails and I'm not sure why.

Here's what the log file says when I try to play this file:

[qtp1800103069-55] INFO - 19:01:34.279 - e : input URL: [http]://192.168.10.129:32469/object/5119ca3d7e3c6da1fc69/file.mkv
[qtp1800103069-55] INFO - 19:01:34.293 - k : Content-Type: video/x-matroska
[qtp1800103069-55] INFO - 19:01:34.305 - k : ffprobe process started, timeout: 30000 ms: ffprobe -show_format -show_streams -seekable 1 [http]://192.168.10.129:32469/object/5119ca3d7e3c6da1fc69/file.mkv
[qtp1800103069-55] INFO - 19:01:34.340 - k : ffprobe finished
[qtp1800103069-55] WARNING - 19:01:34.343 - c : bad duration: N/A
[qtp1800103069-55] WARNING - 19:01:34.344 - c : bad duration: N/A
[qtp1800103069-55] WARNING - 19:01:34.344 - c : bad duration: N/A
[qtp1800103069-55] WARNING - 19:01:34.345 - c : bad width: N/A
[qtp1800103069-55] WARNING - 19:01:34.351 - c : bad height: N/A
[qtp1800103069-55] WARNING - 19:01:34.352 - c : bad width: N/A
[qtp1800103069-55] WARNING - 19:01:34.352 - c : bad height: N/A
[qtp1800103069-55] INFO - 19:01:34.354 - e : input format: matroska,webm
[qtp1800103069-55] INFO - 19:01:34.355 - e : video extension: mkv
[qtp1800103069-55] INFO - 19:01:34.355 - e : video bitrate: 548 Kbps
[qtp1800103069-55] INFO - 19:01:34.356 - e : video codec: h264
[qtp1800103069-55] INFO - 19:01:34.356 - e : video size: 1280x960
[qtp1800103069-55] INFO - 19:01:34.357 - e : video audio codec: aac
[qtp1800103069-55] INFO - 19:01:34.357 - e : video audio channels: 2
[qtp1800103069-55] INFO - 19:01:34.357 - e : redirecting to [http]://192.168.10.129:32469/object/5119ca3d7e3c6da1fc69/file.mkv
[qtp1800103069-56] INFO - 19:01:36.683 - e : input URL: [http]://192.168.10.129:32469/object/5119ca3d7e3c6da1fc69/file.mkv
[qtp1800103069-56] INFO - 19:01:36.684 - e : input format: matroska,webm
[qtp1800103069-56] INFO - 19:01:36.684 - e : video extension: mkv
[qtp1800103069-56] INFO - 19:01:36.685 - e : video bitrate: 548 Kbps
[qtp1800103069-56] INFO - 19:01:36.685 - e : video codec: h264
[qtp1800103069-56] INFO - 19:01:36.686 - e : video size: 1280x960
[qtp1800103069-56] INFO - 19:01:36.686 - e : video audio codec: aac
[qtp1800103069-56] INFO - 19:01:36.686 - e : video audio channels: 2
[qtp1800103069-56] INFO - 19:01:36.686 - e : redirecting to [http]://192.168.10.129:32469/object/5119ca3d7e3c6da1fc69/file.mkv

For comparison, Here's what it says when I succesfully play another h264/AAC MKV file:

[qtp1800103069-55] INFO - 19:20:15.799 - k : ffprobe finished
[qtp1800103069-55] WARNING - 19:20:15.802 - c : bad duration: N/A
[qtp1800103069-55] WARNING - 19:20:15.804 - c : bad duration: N/A
[qtp1800103069-55] WARNING - 19:20:15.804 - c : bad duration: N/A
[qtp1800103069-55] WARNING - 19:20:15.805 - c : bad width: N/A
[qtp1800103069-55] WARNING - 19:20:15.806 - c : bad height: N/A
[qtp1800103069-55] INFO - 19:20:15.807 - e : input format: matroska,webm
[qtp1800103069-55] INFO - 19:20:15.808 - e : video extension: mkv
[qtp1800103069-55] INFO - 19:20:15.809 - e : video bitrate: 1937 Kbps
[qtp1800103069-55] INFO - 19:20:15.809 - e : video codec: h264
[qtp1800103069-55] INFO - 19:20:15.810 - e : video size: 1440x1080
[qtp1800103069-55] INFO - 19:20:15.810 - e : force transcoding unsupported High 10 profile to High
[qtp1800103069-55] INFO - 19:20:15.812 - e : using a lower preset than configuration
[qtp1800103069-55] INFO - 19:20:15.812 - e : video audio codec: aac
[qtp1800103069-55] INFO - 19:20:15.813 - e : video audio channels: 6
[qtp1800103069-55] WARNING - 19:20:15.813 - e : video audio codec: 6 channels
[qtp1800103069-55] INFO - 19:20:15.814 - e : preserving multichannel audio (not transcoding, already aac)
[qtp1800103069-55] INFO - 19:20:15.859 - k : ffmpeg process started: ffmpeg -async 1 -seekable 1 -fflags +genpts -i [http]://192.168.10.129:32469/object/3f798c414537e033ea82/file.mkv -map 0:0 -c:0 libx264 -preset veryfast -b:v 8000k -vf scale=trunc(oh*a/2)*2:720 -map 0:1 -c:1 copy -f matroska -
[qtp1800103069-56] INFO - 19:20:17.764 - e : input URL: [http]://192.168.10.129:32469/object/3f798c414537e033ea82/file.mkv
[qtp1800103069-56] INFO - 19:20:17.764 - e : input format: matroska,webm
[qtp1800103069-56] INFO - 19:20:17.765 - e : video extension: mkv
[qtp1800103069-56] INFO - 19:20:17.765 - e : video bitrate: 1937 Kbps
[qtp1800103069-56] INFO - 19:20:17.766 - e : video codec: h264
[qtp1800103069-56] INFO - 19:20:17.766 - e : video size: 1440x1080
[qtp1800103069-56] INFO - 19:20:17.767 - e : force transcoding unsupported High 10 profile to High
[qtp1800103069-56] INFO - 19:20:17.767 - e : using a lower preset than configuration
[qtp1800103069-56] INFO - 19:20:17.767 - e : video audio codec: aac
[qtp1800103069-56] INFO - 19:20:17.768 - e : video audio channels: 6
[qtp1800103069-56] WARNING - 19:20:17.768 - e : video audio codec: 6 channels
[qtp1800103069-56] INFO - 19:20:17.769 - e : preserving multichannel audio (not transcoding, already aac)

The key difference, I think, is that in the first one it never says that the ffmpeg process is started - but I don't know why. Any ideas?