Hi,
I'm trying to find out how to code a new TS-file player on a DM7025.
I did a small plugin that perform a stopService() in enigma2 so it closes all opened devices (video0, etc...).
Now i'm trying to find out the sequence needed to open a TS file and play it back with some basic primitives:
tsfile=open(tsfilepath, O_RDONLY);
vdec=open("/dev/dvb/adapter0/video0", O_RDWR);
vdmx=open("/dev/dvb/adapter0/demux0", O_RDWR);
ioctl(vdec, VIDEO_PLAY);
etc...
Could somebody help me to get the right sequence and the proper filters etc to set ?
Thanks
PS:
I read on linuxtv.org that the dvr device for writing is /dev/dvb/adapter0/dvr0, but I found out that there is also a /dev/misc/pvr device on the dm7025. who's the bad, who's the good (for ts file playback) ?
PS 2:
Don't ask why I am trying to do this it is a secret (actually it is to playback some streaming ts coming from a PC running VLC, for transcoding divx, etc...)