ZitatOriginally posted by UFO
$ patch -p1 < zap_dvr_out.diff
with the -p1 it worked; thanks.
Walter
ZitatOriginally posted by UFO
$ patch -p1 < zap_dvr_out.diff
with the -p1 it worked; thanks.
Walter
I tried again with last version from ngene test repository:
I was now able to compile the zap with the option -enable_dvr_out
Following results:
Zitatzap -adapter 0 -channels channels.conf -enable_dvr_out "ZDF"
and in second terminal:
Zitatmplayer /dev/dvb/adapter0/dvr0
=> this plays ZDF nicely. (as it does in mythtv...)
If I now try to unscramble
Zitatzap -adapter 0 -channels channels.conf -enable_dvr_out "een"
(also tested with ZDF)
Zitatcat /dev/dvb/adapter0/dvr0 > /dev/dvb/adapter0/sec0
Zitatmplayer /dev/dvb/adapter0/sec0
this gives the 'error '
ZitatAlles anzeigentv@tv:~$ mplayer /dev/dvb/adapter0/sec0
MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
mplayer: could not open config files /home/tv/.lircrc and /etc/lirc/lirc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
Playing /dev/dvb/adapter0/sec0.
Seek failed
Exiting... (End of file)
Also "cat ..../sec0 to a file" and playing the file didn't give result.
any tips? (note: "gnutv -cammenu" accesses the smartcard correctly).
Walter
results of "zap":
ZitatAlles anzeigentv@tv:~$ zap -adapter 0 -channels channels.conf -enable_dvr_out "een"
Using frontend "STV090x Multistandard", type DVB-S
Problem retrieving frontend information: Operation not supported
status SCVYL | signal b851 | snr bb62 | ber 00000001 | unc 00000000 | FE_HAS_LOCK
en50221_tl_handle_sb: Received T_SB for connection not in T_STATE_ACTIVE from module on slot 00
en50221_stdcam_llci_poll: Error reported by stack:-7
CAM Application type: 01
CAM Application manufacturer: 0100
CAM Manufacturer code: 0000
CAM Menu string: Canal Digitaal
CAM supports the following ca system ids:
0x0100
Received new PMT - sending to CAM...
ps: how do I nicely stop "zap"? Ctrl-C is not working....
Walter
ZitatOriginal von walter-
Also "cat ..../sec0 to a file" and playing the file didn't give result.
any tips? (note: "gnutv -cammenu" accesses the smartcard correctly).
Does the recorded file have a size or it is just empty?
I assume you keep the cat dvr0 > sec0 running in a separate term?
ZitatOriginal von walter-
ps: how do I nicely stop "zap"? Ctrl-C is not working....
That is strange here it terminates on CTRL-C.
Zitat
Does the recorded file have a size or it is just empty?
not empty: the file is growing rapidly.
Walter
Weitere frage;
For a free to air station, sending the stream via sec0, should this work?
So does sec0 know it shouldn't try to unscramble for example ZDF (or is the result of unscrambling the signal the same signal again)?
Walter
ZitatOriginal von walter-For a free to air station, sending the stream via sec0, should this work?
So does sec0 know it shouldn't try to unscramble for example ZDF (or is the result of unscrambling the signal the same signal again)?
Yes - the CAM will pass-through any unscrambled programs.
ok some more results using "ZDF"
=> rerunning same commands (of course in different terminals)
actual result:
=> sending dvr0 to test.ts: gives 'normal' feedback (I think).
=> sinding dvr0 => sec0 => test.ts: gives a "test.ts: Invalid data found when processing input"
all details below:
note: in ubuntu 10.10 64bit, I seem to have some issues with the configuration of ffmpeg: I didn't manage to fix them yet. But I don't think this should give any issues.
Test1:
=> sending dvr0 to test.ts: gives 'normal' ffmpeg results
terminal1:
Zitatzap -adapter 0 -channels channels.conf -enable_dvr_out "ZDF"
terminal2:
Zitatcat /dev/dvb/adapter0/dvr0 >test.ts
results of terminal 3:
ZitatAlles anzeigentv@tv:~$ ffmpeg -i test.ts
FFmpeg version 0.6-4:0.6-2ubuntu6, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 5 2010 22:35:47 with gcc 4.4.5
....
[mpeg2video @ 0x99bb170]mpeg_decode_postinit() failure
[mpeg2video @ 0x9954f70]mpeg_decode_postinit() failure
[mpeg2video @ 0x9951ca0]mpeg_decode_postinit() failure
[NULL @ 0x9958a40]start time is not set in av_estimate_timings_from_pts
[NULL @ 0x9959150]start time is not set in av_estimate_timings_from_pts
[NULL @ 0x9959860]start time is not set in av_estimate_timings_from_pts
Input #0, mpegts, from 'test.ts':
Duration: 16:56:00.24, start: 13647.227511, bitrate: 11 kb/s
Program 28006 ZDF
Metadata:
name : ZDF
provider_name : ZDFvision
Stream #0.0[0x6e]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x82](deu): Subtitle: 0x0006
Stream #0.2[0x78](deu): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.3[0x79](mis): Audio: mp2, 48000 Hz, 1 channels, s16, 128 kb/s
Stream #0.4[0x7d](deu): Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
Stream #0.5[0x3b6]: Data: 0x0005
Stream #0.6[0x54]: Data: 0x0006
Stream #0.7[0x83](deu): Subtitle: dvbsub
Program 28011 ZDFinfokanal
Metadata:
name : ZDFinfokanal
provider_name : ZDFvision
Program 28014 zdf_neo
Metadata:
name : zdf_neo
provider_name : ZDFvision
Stream #0.18[0x294]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.19[0x29e](deu): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Program 28016 ZDFtheaterkanal
Metadata:
name : ZDFtheaterkanal
provider_name : ZDFvision
Stream #0.10[0x456]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.11[0x460](deu): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.12[0x461](mis): Audio: mp2, 48000 Hz, 2 channels, s16, 128 kb/s
Stream #0.13[0x276](deu): Subtitle: 0x0006
Program 28007 3sat
Metadata:
name : 3sat
provider_name : ZDFvision
Program 28008 KiKa
Metadata:
name : KiKa
provider_name : ZDFvision
Program 28017 DRadio Wissen
Metadata:
name : DRadio Wissen
provider_name : ZDFvision
Stream #0.14[0x19a](ger): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Program 28012 DKULTUR
Metadata:
name : DKULTUR
provider_name : ZDFvision
Stream #0.17[0x2c6](ger): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Program 28013 DLF
Metadata:
name : DLF
provider_name : ZDFvision
Stream #0.16[0x32a](ger): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
No Program
Stream #0.8[0xdc]: Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.9[0x26c]: Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.15[0x140]: Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
At least one output file must be specified
tv@tv:~$
Test2:
=> sending dvr0 => sec0 => test.ts: gives a "test.ts: Invalid data found when processing input" from ffmpeg
- stop the command from terminal 2:
terminal 2 start:
Zitatcat /dev/dvb/adapter0/dvr0 > /dev/dvb/adapter0/sec0
terminal 3:
Zitatcat /dev/dvb/adapter0/sec0 >test.ts
result of ffmpeg (I left the feedback about the configuration issue)
ZitatAlles anzeigentv@tv:~$ ls -l test.ts
-rw-r--r-- 1 tv tv 104890368 2011-01-26 19:33 test.ts
tv@tv:~$ ls -l test.ts
-rw-r--r-- 1 tv tv 116752384 2011-01-26 19:33 test.ts
tv@tv:~$ ls -l test.ts
-rw-r--r-- 1 tv tv 122421248 2011-01-26 19:33 test.ts
tv@tv:~$ ls -l test.ts
-rw-r--r-- 1 tv tv 127631360 2011-01-26 19:33 test.ts
tv@tv:~$ ls -l test.ts
-rw-r--r-- 1 tv tv 172949504 2011-01-26 19:33 test.ts
tv@tv:~$ ffmpeg -i test.ts
FFmpeg version 0.6-4:0.6-2ubuntu6, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 5 2010 22:35:47 with gcc 4.4.5
configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
WARNING: library configuration mismatch
libavutil configuration: --extra-version=4:0.6-2ubuntu3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-libxvid --enable-libx264 --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavcodec configuration: --extra-version=4:0.6-2ubuntu3+medibuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-libxvid --enable-libx264 --enable-librtmp --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-version3 --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavformat configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavdevice configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavfilter configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libswscale configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libpostproc configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
test.ts: Invalid data found when processing input
tv@tv:~$
I just retest:
I also got some other output from ffmpeg now.
ZitatAlles anzeigen[NULL @ 0x8738bc0]Format detected only with low score of 24, misdetection possible!
[mp3 @ 0x8739db0]Header missing
Last message repeated 10707 times
[mp3 @ 0x8738bc0]Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'test.ts':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0: Audio: mp1, 0 channels, s16
At least one output file must be specified
I retest 6 times more, I got 2 time the result from this post, 4 times the result "test.ts: Invalid data found when processing input" (as earlier).
Walter
Zitat
Hi Digibert,
=> where did you get this version from exactly: I don't see anywhere this version.
Walter
Zitat
mmm hg gives me another result (must say I don't really know for what to use the hg command)?
Zitattv@tv:~/ngene-test2-25f6318da2d0$ hg log | head -n 1
abort: There is no Mercurial repository here (.hg not found)!
for the installation I just 'download' the sources and compile them. I don't really connect to the repository.
Note: I will update to http://linuxtv.org/hg/~endriss/v4l-dvb as Ufo stated in the first post in this thread.
Walter
I installed from the current repository http://linuxtv.org/hg/~endriss/v4l-dvb; I now have:
Zitattv@tv:~/v4l-dvbsource/v4l-dvb$ hg log | head -n 1
changeset: 15184:45202ab08c56
=> but same result as I posted before.
Walter
notice:
before I installed from new repository ubuntu notified me of updates, I install them and after reboot it tries to load the 15fw... (checked and at previous reboot it did load the 18fw)
Walter
ZitatOriginal von walter-
notice:
before I installed from new repository ubuntu notified me of updates, I install them and after reboot it tries to load the 15fw... (checked and at previous reboot it did load the 18fw)
The new driver always loads Fw18! Fw15 is used by old drivers only.
Either an Ubuntu kernel update erased your driver modules or you are using a wrong hg repository.
CU
Oliver
Zitat
The new driver always loads Fw18! Fw15 is used by old drivers only.
Either an Ubuntu kernel update erased your driver modules or you are using a wrong hg repository.
indeed it was the kernel update; but anyway, my problem remained after the update (running latest repository version)
Walter
Short side question:
Zitat[ 15.128358] WARNING: You're using an experimental version of the DVB stack. As the driver
[ 15.128365] is backported to an older kernel, it doesn't offer enough quality for
...
when loading the driver I get this message: Is this just a warning message or is there indeed an issue. An issue in the sence that the code was written for a newer version then the kernel I am running?
I ran kernel version:
Zitattv@tv:~$ uname -r
2.6.35-25-generic-pae
Walter
ZitatOriginal von walter-
Short side question:
when loading the driver I get this message: Is this just a warning message or is there indeed an issue. An issue in the sence that the code was written for a newer version then the kernel I am running?
Simply ignore this crap.
CU
Oliver
I had some feedback from Ralph:
"Using "cat" to write to sec0 is a bad idea. The data written
to sec0 has to be aligned to TS packets."
=> I am now wondering if this test (cat ../dvr0 > ../sec0 > file.ts) is a good approach.
If not, any other idea's on how to test?
Note: at the end there could be many different reasons for
for my issues (CAM not right version, CAM not compatible, some HW issue, Smartcard not 'activated',....).
Walter
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!