[Android Apps and Games] hannemann:
Suggestion for Bubbleupnpserver

Hello there,

i want to file a suggestion for bubbleupnpserver. Is this the right place to do so? Great Software by the way... I love it and it works very well on my Ubuntu machine in conjunction with xbmc. Thank you for your work!

I am able to watch my DVB Recordings vdr made through xbmc but if i try to download a transcoded recording ffmpeg fails because one of the streams is a data stream (maybe videotext). I suggest to parse the ffprobe output for data streams and to leave them out if one is found.

This happens also to DVD iso files if they contain a menu. I worked around this by linking a more recent version of avconv as ffmpeg into /usr/share/bubbleupnpserver which is able to handle the iso files right.

Here are the ffmpeg calls from bubble server log (filenames shortened to truncate URL fragments):

[qtp682447143-115] INFO - 13:30:22.228 - t : begin transcoding video... (/3948FA94BE5F3839E767B662572664B3/00001.ts)
[qtp682447143-115] INFO - 13:30:22.229 - k : ffmpeg process started: ffmpeg -async 1 -i 839E767B662572664B3/00001.ts -vf scale=trunc(oh*a/2)*2:360 -vcodec libx264 -preset fast -acodec libmp3lame -ac 2 -ab 128000 -f mpegts -
[qtp682447143-115] INFO - 13:30:27.479 - k : finished transcoding (aborted)

This works fine... (no map argument)

[qtp682447143-71 ] INFO - 13:30:32.669 - t : begin transcoding video... (FA94BE5F3839E767B662572664B3/00001.ts)
[qtp682447143-71 ] INFO - 13:30:32.670 - k : ffmpeg process started: ffmpeg -async 1 -i 39E767B662572664B3/00001.ts -map 0 -map -0:t -vf scale=trunc(oh*a/2)*2:360 -vcodec libx264 -preset fast -acodec libmp3lame -ac 2 -ab 128000 -f matroska -
[qtp682447143-71 ] WARNING - 13:30:32.718 - k : ffmpeg error exit code=1
[qtp682447143-71 ] WARNING - 13:30:32.718 - k : ffmpeg output:

avconv version 0.8.12-4:0.8.12-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
built on Jun 10 2014 15:31:10 with gcc 4.6.3
[mpegts @ 0x23ae9a0] max_analyze_duration reached
[NULL @ 0x23b85a0] start time is not set in estimate_timings_from_pts
[mpegts @ 0x23ae9a0] PES packet size mismatch
Input #0, mpegts, from '8FA94BE5F3839E767B662572664B3/00001.ts':
Duration: 00:51:59.33, start: 30491.492578, bitrate: 2675 kb/s
Program 132
Stream #0.0[0x76d]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x76e](deu): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
Stream #0.2[0x770]: Data: [6][0][0][0] / 0x0006
Data stream encoding not supported yet (only streamcopy)

[qtp682447143-71 ] INFO - 13:30:32.720 - k : ffmpeg process started: ffmpeg -async 1 -i 94BE5F3839E767B662572664B3/00001.ts -map 0 -map -0:t -vf scale=trunc(oh*a/2)*2:360 -vcodec libx264 -fpre libx264-current.ffpreset -acodec libmp3lame -ac 2 -ab 128000 -f matroska -
[qtp682447143-71 ] WARNING - 13:30:32.762 - k : ffmpeg error exit code=1
[qtp682447143-71 ] WARNING - 13:30:32.763 - k : ffmpeg output:

avconv version 0.8.12-4:0.8.12-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
built on Jun 10 2014 15:31:10 with gcc 4.6.3
[mpegts @ 0xc419a0] max_analyze_duration reached
[NULL @ 0xc4b5a0] start time is not set in estimate_timings_from_pts
[mpegts @ 0xc419a0] PES packet size mismatch
Input #0, mpegts, from 3839E767B662572664B3/00001.ts':
Duration: 00:51:59.33, start: 30491.492578, bitrate: 2675 kb/s
Program 132
Stream #0.0[0x76d]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x76e](deu): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
Stream #0.2[0x770]: Data: [6][0][0][0] / 0x0006
Unrecognized option 'fpre'
Failed to set value 'libx264-current.ffpreset' for option 'fpre'

this one fails... (with map argument)