News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

PVRInput and vomp

Started by rdoac, August 21, 2009, 02:55:22

Previous topic - Next topic

rdoac

Still banging my head against the wall with vomp and the US.

I have forced the VOMP's to use NTSC.  I can play back some media.. (I found convertVideo.sh on the vomp media website.. - this will create an mpg file which plays from VDR recordings).  However I can't get VDR to playback TV or TV recordings.

I have an ATSC card which has audio in AC-3, I also have a PVR500 which uses the PVRINPUT plugin to show analogue cable channels. (These work with streamdev if you do http://servername:3000/PES/channelnumber ).

However nothing works on vomp.. If I set my vomps on NTSC I can't watch my Euro PAL recordings either.

rdoac

I spent some time working on the media server part of vomp with streamdev and got it sending channels to the vomp in NTSC without problems.  (It wgets the channels and cats it to Vomp).  I can now sort of watch live TV.  However, if someone wants to give me some pointers I'll look through the code and see what I need to do to check what's going wrong with NTSC playback.)

As an aside, as expected, ATSC channels work with the above method, but without sound. However, if you throw it through the convertAVI routine in test1.sh then it works.

rdoac

Hmm, it also seems that recordings work..

Here is an example of channels.conf

8-Cable News Network;CNN:181250:PVRINPUT|TV|NTSC:P:0:301:300:0:0:12008:1:2896:0
41-Fox News Channel;FNC:325250:PVRINPUT|TV|NTSC:P:0:301:300:0:0:12041:1:5200:0
42-Animal Planet;APL:331250:PVRINPUT|TV|NTSC:P:0:301:300:0:0:12042:1:5296:0
43-TLC:337250:PVRINPUT|TV|NTSC:P:0:301:300:0:0:12043:1:5392:0
44-TV Land;TVLAND:343250:PVRINPUT|TV|NTSC:P:0:301:300:0:0:12044:1:5488:0
45-Comedy Central;COMEDY:349250:PVRINPUT|TV|NTSC:P:0:301:300:0:0:12045:1:5584:0
WTTW;(null):525000:M256:T:0:2176:0;2177,2178:0:0:103:0:0:0
WREX;(null):525000:M256:T:0:2240:0;2241,2242:0:0:1:0:0:0
WTVO;(null):525000:M256:T:0:2304:0;2305,2306:0:0:4:0:0:0
WIFR-SD;(null):525000:M256:T:0:2048:0;2049,2050:0:0:3:0:0:0
WQRF;(null):525000:M256:T:0:2112:0;2113,2114:0:0:2:0:0:0

rdoac

Due to the extreme number of responses to this  :D, and in order to put it somewhere just in case someone else needs pvrinput with vomp, the following was a solution from the author of pvrinput.



There is a bug in pvrinput which may also effect streamdev. (I know for sure
that the bug leads to no picture with vdr 1.7.8)

Have a look in reader.c  (in pvrinput's code)

There is at four places a wrong assignment. Instead of


ts_buffer[1] = (first ? 0x40 : 0x00) || (kVideoPid >> 8);

it has to be bitwise:

ts_buffer[1] = (first ? 0x40 : 0x00) | (kVideoPid >> 8);