[mythtv-users] Philips 32PFL5007K/12 TV set and a UPnP problem (was: UPnP - gupnp-av-cp and a TV ....)

Janusz S. Bien jsbien at mimuw.edu.pl
Sun Aug 24 07:35:01 UTC 2014

Quote/Cytat - mythtv-users-request at mythtv.org (Fri 22 Aug 2014  
12:40:06 AM CEST)

> Message: 17
> Date: Thu, 21 Aug 2014 22:52:02 +0100
> From: John Pilkington <J.Pilk at tesco.net>


Thanks again for your answer. To make a long story short, you are right:
the recordings can be played on the TV set as videos.

Moreover, perhaps because of recent upgrades, gupnp-av-cp no longer has
problems with MythTV. So I restore the previous subject.

Unfortunately the details are quite confusing for me.

> On 08/21/2014 07:17 AM, Janusz S. Bien wrote:
>> Quote/Cytat - mythtv-users-request at mythtv.org (Thu 21 Aug 2014 06:11:04
>> AM CEST):


>> The files extension is mpg, the file program reports "MPEG transport
>> stream data"
> I suppose that would be Polish DVB.  I would use 'ffmpeg -i <filename>'
> or mediainfo to get more details, but they're probably irrelevant.

I agree it's probably irrelevant, but just of curiosity, what do you
mean by Polish DVB?

ffmpeg reports for a sample file

--8<---------------cut here---------------start------------->8---
[mpegts @ 0x8e13e00] PES packet size mismatch
Input #0, mpegts, from '/mnt/MyBookT1/4MythTV/1402_20140823143500.mpg':
   Duration: 01:00:00.86, start: 76733.255600, bitrate: 2349 kb/s
   Program 1
     Stream #0:0[0xc9]: Video: mpeg2video (Main) ([2][0][0][0] /  
0x0002), yuv420p(tv), 704x576 [SAR 16:11 DAR 16:9], max. 15000 kb/s,  
25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:1[0xca](pol): Audio: mp2 ([4][0][0][0] / 0x0004), 48000  
Hz, stereo, s16p, 123 kb/s
--8<---------------cut here---------------end--------------->8---

I enclose also the mediainfo output for the same file.

>>> Nevertheless...
>>> The Myth UPnP server treats 'recordings' and 'videos' differently and
>>> you might find that your files will play as videos - although I find
>>> that the duration/progress info is missing then.
>> My Video directory is empty.
> I thought it would be worth copying (or linking) one of your recordings
> into that directory and 'scanning for changes';  is it then listed as a
> video and does it play (both in mythfronted and via upnp)?

The frontend shows the videos but with no metadata at all and doesn't  
play them
(nothing happens when I click on "Play"). On the other hand playing
recordings works OK.


>> Quote/Cytat - "Janusz S. Bien" <jsbien at mimuw.edu.pl> (Mon 18 Aug 2014
>> 02:30:07 PM CEST):
>>> All the MythTV recordings (at least all tested) can be played on the
>>> TV set when served by rygel. So the problem seems to be MythTV
>>>  specific.
> ... but the myth server _does_ work with some renderers, including my
> TV, so your TV isn't cooperating.  Mine didn't without the revert-#9446
> patch.

I understand you mean this:


Is there a chance I could use your binaries for a test? I don't have  
yet enough
time and determination to compile from source to revert the patch.

> If rygel does what you want, ok; otherwise it would be good to
> dig further.

Browsing in MythTV is definitely more convenient, so I am willing to dig

>  Perhaps, with Myth running, you could run 'mythbackend
> --setverbose none,upnp'

Do you mean

mythbackend --verbose none,upnp


mythbackend --setverbose none,upnp gives some strange errors:

MythCoreContext: Connecting to backend server: (try 1 of 1)
MythSocket(893eca0:-1): Failed to connect to (  
Connection refused
Unable to connect to backend, verbose mask unchanged

> in a terminal and see what you get in the
> backend log, but I'm no expert in interpreting it.

I enclose the output of `mythbackend --verbose none,upnp`.

> And about a month
> ago another diagnostic tool was posted here but TTBOMK it isn't
> 'supported', and although I've used it I'm not familiar with it and I
> probably shouldn't be mentioning it....

I somehow missed this posting, I will be glad to give it a try.

Best regards


Prof. dr hab. Janusz S. Bień -  Uniwersytet Warszawski (Katedra  
Lingwistyki Formalnej)
Prof. Janusz S. Bień - University of Warsaw (Formal Linguistics Department)
jsbien at uw.edu.pl, jsbien at mimuw.edu.pl, http://fleksem.klf.uw.edu.pl/~jsbien/
-------------- next part --------------
ID                                       : 4 (0x4)
Complete name                            : ../../../MyBookT1/4MythTV/1402_20140823143500.mpg
Format                                   : MPEG-TS
File size                                : 1 009 MiB
Duration                                 : 1h 0mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 350 Kbps

ID                                       : 201 (0xC9)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main at Main
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : Variable
Codec ID                                 : 2
Duration                                 : 1h 0mn
Bit rate mode                            : Variable
Bit rate                                 : 2 105 Kbps
Maximum bit rate                         : 15.0 Mbps
Width                                    : 704 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 16:9
Active Format Description                : Letterbox 16:9 image
Frame rate                               : 25.000 fps
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.208
Stream size                              : 903 MiB (90%)

ID                                       : 202 (0xCA)
Menu ID                                  : 1 (0x1)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Codec ID                                 : 4
Duration                                 : 59mn 59s
Bit rate mode                            : Constant
Bit rate                                 : 128 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : -861ms
Stream size                              : 54.9 MiB (5%)
Language                                 : Polish
Language, more info                      : Reserved

-------------- next part --------------
A non-text attachment was scrubbed...
Name: UPnPlog.zip
Type: application/zip
Size: 9738 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140824/f3b6c415/attachment.zip>

More information about the mythtv-users mailing list