Re: [vdr] VDR test series about frame detector

2014-01-15 Thread Kende

On 01/14/2014 10:34 PM, Eike wrote:
I need reports which number your stream resulted in (the Maximum TS 
package frame size) and what you've tested (Cable? Satellite? 
Terrestrical? HD, SD? Your country?). The result is interesting even 
if it is 5 or 6. Thanks in advance, Eike


Hallo,

I checked several files recorded from Finnish Elisa cable, both SD and 
HD. All had maximum value 5.


--
Kende

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR test series about frame detector

2014-01-15 Thread Michael Frank
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 
 I need reports which number your stream resulted in (the Maximum TS package 
 frame size) and what you've tested 
 (Cable? Satellite? Terrestrical? HD, SD? Your country?). The result is 
 interesting even if it is 5 or 6.

Hello,

I checked recordings HD and SD from Austrian IPTV (a1tv), the result was
always 5.

The same applies to DVB-C recordings from UPC-Vienna.

Michael

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS1l1WAAoJEK8uSUzPxSkAb2IH+gLyyUkElT6LdgoNwl3gUkqt
LZ89BcFiKXDfisJH1UxmH1995pEvmGIylW6DVrJG7OHFWVdCb+7UcwoeG5+EQOPG
SHo8VBd+Z5Va51FlvO8VGx4v+w8tLgNjzN2pcdixcYIJt6NixrBxAdh680IYND34
Xx9xqQF4jg+JFMsTmnB5pnmUJ1HqnvtTjo0sHIUU8M2KO5Xq7+agetKvr0nfuuh6
EOXydHn0fneGMzMGSgyZfu3d4NIv6HfyGoks7O9oEzNznsHwhslcXT/VY+wS0GPI
LpqM98+QmRqG58Ag8nxU/RMaVdlGA02P61XSlUMbOzPv4Kluwcx72lYZ+t4nqyg=
=ZPbw
-END PGP SIGNATURE-

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR test series about frame detector

2014-01-15 Thread cedric.dew...@telfort.nl

Then you compile the attached C++ file (unziped, of course):
 g++ -c framedetectortest.cpp

Then you're linking it:
g++ -o framedetectortest framedetectortest.o remux.o ringbuffer.o thread.o 
tools.o i18n.o sections.o channels.o device.o audio.o ci.o receiver.o 
transfer.o player.o osdbase.o 
status.o skins.o osd.o config.o font.o sources.o menu.o recording.o videodir.o 
timers.o epg.o dvbplayer.o menuitems.o remote.o keys.o interface.o plugin.o 
cutter.o themes.o 
svdrp.o eit.o eitscan.o shutdown.o filter.o sourceparams.o dvbsubtitle.o pat.o 
sdt.o nit.o dvbdevice.o diseqc.o recorder.o dvbci.o libsi/libsi.a -lfontconfig 
-lfreetype -lpthread -ldl -
ljpeg

Now you've got an application called framedetectortest, which you can feed 
your vdr recordings (*.ts files) to:
 ./framedetectortest 2.ts

The output looks about like this:

Checking file at offset 0
Without frame limit... Found I frame after 99452 bytes
With frame limit 5... Found I frame after 220336 bytes
With frame limit 6... Found I frame after 99452 bytes
TS package frame size needed for this video block: 6
Maximum TS package frame size needed for this video recording: 6

I need reports which number your stream resulted in (the Maximum TS package 
frame size) and what you've tested 
(Cable? Satellite? Terrestrical? HD, SD? Your country?). The result is 
interesting even if it is 5 or 6.

Thanks in advance,
Eike

Hi Eike,
In vdr 2.0.4 I have to add -lrt to the link command:
$ g++ -c framedetectortest.cpp 
$ g++ -o framedetectortest framedetectortest.o remux.o ringbuffer.o thread.o 
tools.o i18n.o sections.o channels.o device.o audio.o ci.o receiver.o 
transfer.o player.o osdbase.o status.o skins.o osd.o config.o font.o sources.o 
menu.o recording.o videodir.o timers.o epg.o dvbplayer.o menuitems.o remote.o 
keys.o interface.o plugin.o cutter.o themes.o svdrp.o eit.o eitscan.o 
shutdown.o filter.o sourceparams.o dvbsubtitle.o pat.o sdt.o nit.o dvbdevice.o 
diseqc.o recorder.o dvbci.o libsi/libsi.a -lfontconfig -lfreetype -lpthread 
-ldl -ljpeg
tools.o: In function `cTimeMs::Now()':
/storage/home/ingeborg/Downloads/vdr-2.0.4/tools.c:674: undefined reference to 
`clock_gettime'
/storage/home/ingeborg/Downloads/vdr-2.0.4/tools.c:655: undefined reference to 
`clock_getres'
/storage/home/ingeborg/Downloads/vdr-2.0.4/tools.c:659: undefined reference to 
`clock_gettime'
collect2: error: ld returned 1 exit status
$ g++ -o framedetectortest framedetectortest.o remux.o ringbuffer.o thread.o 
tools.o i18n.o sections.o channels.o device.o audio.o ci.o receiver.o 
transfer.o player.o osdbase.o status.o skins.o osd.o config.o font.o sources.o 
menu.o recording.o videodir.o timers.o epg.o dvbplayer.o menuitems.o remote.o 
keys.o interface.o plugin.o cutter.o themes.o svdrp.o eit.o eitscan.o 
shutdown.o filter.o sourceparams.o dvbsubtitle.o pat.o sdt.o nit.o dvbdevice.o 
diseqc.o recorder.o dvbci.o libsi/libsi.a -lfontconfig -lfreetype -lpthread 
-ldl -ljpeg -lrt

I see the following when running the command on recordings from digitenne, 
Netherlands:
$ ./framedetectortest ~/tmp/1.ts 
Checking file at offset 0 
Without frame limit... Found I frame after 165816 bytes
With frame limit 5... Found I frame after 165816 bytes
TS package frame size needed for this video block: 5 
Maximum TS package frame size needed for this video recording: 5 
$ ./framedetectortest ~/tmp/1.ts 
Checking file at offset 0 
Without frame limit... Found I frame after 324864 bytes
With frame limit 5... Found I frame after 324864 bytes
TS package frame size needed for this video block: 5 
Maximum TS package frame size needed for this video recording: 5 
$ ./framedetectortest ~/tmp/1.ts 
Checking file at offset 0 
Without frame limit... Found I frame after 276736 bytes
With frame limit 5... Found I frame after 276736 bytes
TS package frame size needed for this video block: 5 
Maximum TS package frame size needed for this video recording: 5 
$ ./framedetectortest ~/tmp/1.ts 
Checking file at offset 0 
Without frame limit... Found I frame after 141376 bytes
With frame limit 5... Found I frame after 141376 bytes
TS package frame size needed for this video block: 5 
Maximum TS package frame size needed for this video recording: 5 
$ ./framedetectortest ~/tmp/1.ts 
Checking file at offset 0 
Without frame limit... Found I frame after 273916 bytes
With frame limit 5... Found I frame after 273916 bytes
TS package frame size needed for this video block: 5 
Maximum TS package frame size needed for this video recording: 5 
$ ./framedetectortest ~/tmp/1.ts 
Checking file at offset 0 
Without frame limit... Found I frame after 205484 bytes
With frame limit 5... Found I frame after 205484 bytes
TS package frame size needed for this video block: 5 
Maximum TS package frame size needed for this video recording: 5 
$ ./framedetectortest ~/tmp/1.ts 
Checking file at offset 0 
Without frame limit... Found I frame after 243836 bytes
With frame limit 5... Found I frame after 243836 

Re: [vdr] VDR test series about frame detector

2014-01-15 Thread Eike
Hello again,

there have been several problems with linking with different VDR versions.
Here are updated steps that should fix them:

 make
 rm vdr.o
 g++ -c framedetectortest.cpp
 g++ -o framedetectortest *.o libsi/libsi.a -lfontconfig -lfreetype -lpthread 
 -ldl -ljpeg -lrt

Ciao,
Eike


signature.asc
Description: This is a digitally signed message part.
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR test series about frame detector

2014-01-15 Thread Arthur Konovalov

15.01.2014 19:45, Eike kirjutas:

Hello again,

there have been several problems with linking with different VDR versions.
Here are updated steps that should fix them:


make
rm vdr.o
g++ -c framedetectortest.cpp
g++ -o framedetectortest *.o libsi/libsi.a -lfontconfig -lfreetype -lpthread 
-ldl -ljpeg -lrt


Ciao,
Eike





Hi,

Cable operator Starman, Estonia: On the different channels both 5 and 6 
exists.
It seems that on the local channels it's 6 and in the retransmitted from 
sat channels - 5 (for example Showtime).


With some records I have got like this:
framedetectorte[20894]: segfault at 0 ip b73a75c5 sp bfc2a650 error 4 in 
libc-2.17.so[b7338000+185000]



--


br,
Arthur

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR test series about frame detector

2014-01-15 Thread Richard Scobie



Eike wrote:


I need reports which number your stream resulted in (the Maximum TS package frame 
size) and what you've tested
(Cable? Satellite? Terrestrical? HD, SD? Your country?). The result is 
interesting even if it is 5 or 6.


I tested DVB-S SD recordings from three different TV networks in New 
Zealand and all reported 5 as the maximum TS frame size.


Regards,

Richard

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr