version 1.3, 2004/02/13 09:10:29
|
version 1.4, 2004/02/21 16:11:47
|
Line 83 live tv audio.
|
Line 83 live tv audio.
|
4) How to get it to work |
4) How to get it to work |
------------------------ |
------------------------ |
|
|
All this is working fairly well, a demonstration application is |
All this is working fairly well. |
included with the library that reads from the DVR device (so you need |
|
"szap" for example to tune to a service and have the data put to the |
Currently, there is |
DVR device) and displays audio and video. It should be easily possible |
|
to use "libsoftmpeg" in "vdr", too. |
- a demonstration application is called "dfb_ts" that reads from the |
|
DVR device and decodes and displays the data from the transport stream |
|
|
|
- a vdr plugin that's called "softmpeg". |
|
|
Please apply the "fusionsound_realtimepriority_reset_on_flush.diff" |
Please apply the "fusionsound_realtimepriority_reset_on_flush.diff" |
patch to FusionSound first via "patch -p0 < [...]) in the FusionSound |
patch to FusionSound first via "patch -p0 < [...]) in the FusionSound |
Line 106 endmode
|
Line 109 endmode
|
Make sure to use "fbset -a 720x576-50" after each startup -- the sync code |
Make sure to use "fbset -a 720x576-50" after each startup -- the sync code |
currently relies on this. |
currently relies on this. |
|
|
Ok, if you do a "./autogen.sh ; make install" you'll get a demo application |
4a) "dfb_ts" |
|
------------ |
|
|
|
If you do a "./autogen.sh ; make install" you'll get a demo application |
called "dfb_ts", which reads a transport stream from the DVB dvr |
called "dfb_ts", which reads a transport stream from the DVB dvr |
device. You need to tune your frontend with "szap" for example and |
device. You need to tune your frontend with "szap" for example and |
redirect the data to the dvr device with the "-r" switch. For example: |
redirect the data to the dvr device with the "-r" switch. |
|
|
|
For example: |
|
|
> szap -r "Das Erste" |
> szap -r "Das Erste" |
|
|
Line 119 you the correct pids):
|
Line 127 you the correct pids):
|
|
|
> ./dfb_ts /dev/dvb/adapter0/dvr0 0x7ff 0x800 |
> ./dfb_ts /dev/dvb/adapter0/dvr0 0x7ff 0x800 |
|
|
|
4b) The vdr plugin "softmpeg" |
|
----------------------------- |
|
|
|
There is a vdr plugin called "softmpeg" in the "softmpeg" directory, |
|
which basically works (osd is supported, too) but is in very alpha |
|
stage. |
|
|
|
First copy the whole directory the source directory of you vdr installation: |
|
(Substitute <vdr-dir> with the name of your main vdr directory) |
|
|
|
> cp -r softmpeg <vdr-dir>/PLUGINS/SRC/ |
|
|
|
Then you need to rebuild all plugins: |
|
|
|
> cd <vdr-dir> |
|
> make plugins |
|
|
|
Then you can run vdr and tell it to use the softmpeg plugin to display |
|
the output: |
|
|
|
> ./vdr -P"softmpeg" |
|
|
|
If you cannot see any overlay windows, try to set the environment variable |
|
DIRECTFB_VIDEO_IS_OVERLAY like this and start again: |
|
|
|
> export DIRECTFB_VIDEO_IS_OVERLAY=1 |
|
|
4) The future |
4) The future |
------------------------ |
------------------------ |
|
|