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
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rdoac

#31
I have been playing around with mencoder and the media option in vomp for a while now.  Have hacked test1.sh quite a lot and got all sorts of interesting things happening.  I will probably look into converting some of xbmc's plugins to vomp at some point.  However, I got to thinking about HD and Vomp. 

Could we have an option, maybe flaggable in the config file, that instead of just sending the stream to the mvp, sends it transcoded via a script like test1.sh?

So, for instance, if the channel has only Dpids and no Apids, as all US ATSC now has, then we can Mencoder the stream and convert the audio on the fly, or an HD Only channel could be Mencodered into a format which the Vomp could handle.  Similarly, HD recordings could be.  (Although the individual VDR files can be sent through the Media option now.)

I'm also in the process of converting all my PAL recordings to NTSC now I'm living in Obamaland.  Otherwise I can only hear them.  I think someone needs to tell these US chaps that RGB is better than SVideo and miles better than a single yellow video cable.  But I suspect that's outside the scope of this forum.

#32
VOMP General / MVP / Re: PVRInput and vomp
August 31, 2009, 02:42:42
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);




#33
VOMP General / MVP / Re: PVRInput and vomp
August 24, 2009, 20:21:12
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
#34
VOMP General / MVP / Re: PVRInput and vomp
August 21, 2009, 14:30:29
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.
#35
VOMP General / MVP / PVRInput and vomp
August 21, 2009, 02:55:22
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.
#36
I wrote a quick script to change channels.conf and stick your desired language as the first audio track before vomp could change audio.  However, you'd need to change VDR to not update pids, channels or transponders. As you can see I'm not a good programmer.

You use it by specifying the desired language on the command line

channelhack eng </etc/vdr/channels.conf >/tmp/channels.conf

channelhack
DESLANG=$1
while read line
do
        # split line into array
        arr=($line)
        # if the length of the array is greater than 1
        if [ ` echo "$line" | awk  -F : '{printf $7}' | grep "$DESLANG" ` ]; then
LANG=` echo $line | awk  -F : '{printf $7}' `
if [ `echo "$LANG" | grep ","` ]; then
LANG1=` echo $LANG | awk  -F ","  '{printf $1}' `
LANG2=` echo $LANG | awk  -F "," '{printf $2}' `

LANG3=` echo $LANG | awk  -F ","  '{printf $1}' `
LANG4=""
if [ ` echo $LANG1 | grep ";" ` ]; then
LANG3=` echo $LANG1 | awk  -F ";" '{printf $1}' `
LANG4=";"` echo $LANG1 | awk  -F ";" '{printf $2}' `

fi


LANG5=` echo $LANG | awk  -F "," '{printf $2}' `
LANG6=""
if [ ` echo $LANG2 | grep ";" ` ]; then
LANG5=` echo $LANG2 | awk  -F ";" '{printf $1}' `
LANG6=";"` echo $LANG2 | awk  -F ";" '{printf $2}' `
fi

                if [[ ` echo $LANG2 | grep $DESLANG ` ]]; then

name=` echo $line | awk  -F : '{printf $1}'; `
freq=` echo $line | awk  -F : '{printf $2}'; `
pol=` echo $line | awk  -F : '{printf $3}'; `
sat=` echo $line | awk  -F : '{printf $4}'; `
fec=` echo $line | awk  -F : '{printf $5}'; `
vid=` echo $line | awk  -F : '{printf $6}'; `
sub=` echo $line | awk  -F : '{printf $8}'; `
ca=` echo $line | awk  -F : '{printf $9}'; `
sid=` echo $line | awk  -F : '{printf $10}'; `
nid=` echo $line | awk  -F : '{printf $11}'; `
tid=` echo $line | awk  -F : '{printf $12}'; `
rid=` echo $line | awk  -F : '{printf $13}'; `
xmltv=` echo $line | awk -F : '{printf $14}'; `
if [ $xmltv ]; then
echo "$name:$freq:$pol:$sat:$fec:$vid:$LANG5$LANG6,$LANG3$LANG4:$sub:$ca:$sid:$nid:$tid:$rid:$xmltv"

else
echo "$name:$freq:$pol:$sat:$fec:$vid:$LANG5$LANG6,$LANG3$LANG4:$sub:$ca:$sid:$nid:$tid:$rid"

fi


else
echo $line
fi
else
echo $line
fi
else
echo $line
fi
done

#37
VOMP General / MVP / Re: Force NTSC
August 04, 2009, 17:28:36
Guys, if I stick a 1 min recording from vdr 1.6 somewhere, would it be possible to develop ATSC support into Vomp?
#38
VOMP General / MVP / Re: Force NTSC
July 03, 2009, 16:14:16
Ok, I have colour menu's now (or should that be color).  However, it won't display any channels, even if I zero out the ac-3 stream.  It'll playback recordings of pal stuff but only audio (which is kind of expected).

Is there a way to convert ac-3 to mp3 or whatever the vomp wants on the fly and maybe the picture to get this working, a little bit like the media player functionality to playback avi files?  Maybe we can pass the stream through mplayer?
#39
VOMP General / MVP / Force NTSC
July 02, 2009, 22:30:00
I have three Euro MVP's which I've just moved to the US with.  Is there a way to get them to output in NTSC?  I thought this was a menu option but can't find it, or is the hardware limited?
#40
I have just moved to the US from Italy.  Am trying to get vomp/vdr working with an ATSC card for the moment.  VDR now works with fairly good quality HD stuff and rubbish NTSC SD stuff (so fairly normal for the US.) However, I can't get vomp to display anything on any of my windows pc's.  I have an XBMC client which streams using streamdev without problems.  I have the menus, channel lists etc, but when I try to watch something the status indicates that it's streaming but nothing shows up.  Recordings I made whilst in Italy come through without problems so I don't think it's a codec issue.

Any ideas?  

I want to get it working as I have three hauppauge MVP's in shipping.
#41
VOMP General / MVP / Re: Vomp media player
December 27, 2008, 13:15:50
Hmm, a small point.  It can't seem to play avi files with the latest test1.sh file with spaces in the name.  The previous (or maybe mine) one could.
#42
It's on it's way...

The avi playback works about the same as it did with the 2.7 dongle with media, however, after about 15 mins the whole things crashes.  When you telnet into the box the vompclient application is no more, so I guess something is causing a seg fault.

Am also wondering how to playback DVD's, I have moderate success by associating .VOB files with a mencoder dvd:// function.  I will probably create a playlist to select different tracks and audio tracks.. (One DVD I had decided to playback in spanish?).  Again it suffers from the above problem after a few mins.
#43
I'll give this a look in a little bit, but wanted to confirm which of the two dongles I should use?  I have three vomp's which share a common dongle, two connected to small 4:3 tv's, the other to a 16:9 flatscreen.  Or do I need to both and specify which by mac address?

Is the avi playback from the media centre updates in your latest dongle too?  Is there any advantage to trying the link from the other forum, or is yours up to date?
#44
VOMP General / MVP / Re: Vomp media player
November 12, 2008, 18:23:10
Is there anywhere to send Beer etc to encourage the development process along? :->
#45
QtVomp / Re: Some feedback
October 30, 2008, 21:51:28
Some more observations..

1. Coded channels..

Some times it takes a few seconds for the stream to start working.  In normal vomp the picture starts when it's available.  On qtvomp we get the audio but no picture.  If you click back and then play again the picture comes in.  Can a quick check loop be introduced to check for the start of the stream?

2. Audio channel.

I'm an Engish expat living abroad.  I'd like to change the audio channel when possible.  Could this be possible?