Re: [ANNOUNCE] Cut-a-Lot 0.0.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/18/07 10:01, Marius Heidenstecker wrote:
> Am Freitag, 18. Mai 2007 00:32 schrieb Stone:
>> On 5/18/07, Stone <syphyr@xxxxxxxxx> wrote:
>>>> If you take 30 frames per sec for NTSC-recordings, you will have 1 / 30
>>>> *
>>>> 90000 = 3000 PTS-ticks. So you should try 3005 for the PTS-threshold.
>>>> Am I
>>>> right, that you talk about the gap finder? Please let me know, if that
>>>> threshold worked.
>>> Thank you.  Yes, the gap finder is what I am interested in. Previously,
>>> if i had several cuts in some recordings, the PTS would become desynced
>>> in the final cut and Vdrsync would no longer be able to demux the
>>> recordings without having to drop many frames.
>> Sorry, I forgot to ask one more thing.  Do you have a patch for vdr-1.5.x?
>>
>> ccache g++-3.4 -g -O2 -Wall -Woverloaded-virtual -fPIC -c -D_GNU_SOURCE
>> -DPLUGIN_NAME_I18N='"cutalot"' -I/usr/src/DVB/linux/include
>> -I../../../include cutalot.c
>> ccache g++-3.4 -g -O2 -Wall -Woverloaded-virtual -fPIC -c -D_GNU_SOURCE
>> -DPLUGIN_NAME_I18N='"cutalot"' -I/usr/src/DVB/linux/include
>> -I../../../include cal-cutter.c
>> In file included from cal-cutter.c:11:
>> cal-mpeg.h:11: error: `uint64' does not name a type
>> cal-mpeg.h:35: error: `pts_t' does not name a type
>> cal-mpeg.h:36: error: `pts_t' does not name a type
>> cal-mpeg.h:38: error: `pts_t' has not been declared
>> cal-mpeg.h:38: error: ISO C++ forbids declaration of `Pts' with no type
>> cal-mpeg.h:44: error: `pts_t' was not declared in this scope
>> cal-mpeg.h:44: error: expected primary-expression before "bool"
>> cal-mpeg.h:45: error: `pts_t' was not declared in this scope
>> cal-mpeg.h:45: error: expected primary-expression before "bool"
>> cal-cutter.c: In member function `virtual void
>> cCalCuttingThread::Action()': cal-cutter.c:184: error: `pts_t' was not
>> declared in this scope
>> cal-cutter.c:184: error: expected `;' before "iFramePts"
>> cal-cutter.c:221: error: `iFramePts' was not declared in this scope
>> cal-cutter.c:221: error: 'class cCalPES' has no member named 'GetPTS'
>> cal-cutter.c:222: error: `newIFramePts' was not declared in this scope
>> cal-cutter.c:222: warning: unused variable 'newIFramePts'
>> cal-cutter.c:223: error: `newIFramePts' was not declared in this scope
>> cal-cutter.c:231: error: 'class cCalPES' has no member named 'GetPTS'
>> cal-cutter.c:231: error: `iFramePts' was not declared in this scope
>> cal-cutter.c:234: error: `newIFramePts' was not declared in this scope
>> cal-cutter.c:237: error: `newPts' was not declared in this scope
>> cal-cutter.c:237: warning: unused variable 'newPts'
>> cal-cutter.c:239: error: `newPts' was not declared in this scope
>> cal-cutter.c:239: warning: unused variable 'newPts'
>> cal-cutter.c:241: error: `newPts' was not declared in this scope
>> cal-cutter.c:241: warning: unused variable 'newPts'
>> cal-cutter.c:244: error: `newPts' was not declared in this scope
>> cal-cutter.c:231: warning: unused variable 'iFramePts'
>> cal-cutter.c:244: warning: unused variable 'newPts'
>> cal-cutter.c:184: warning: unused variable 'pts_t'
>> make[1]: *** [cal-cutter.o] Error 1
>>
>>
>> Best Regards.
> 
> Didn't check it out, but it seems that VDR-1.5 doesn't use uint64 as a type 
> any more. You could try changing line 11 of cal-mpeg.h from
> 
> typedef uint64 pts_t;
> 
> to
> 
> typedef unsigned long long int pts_t;

>From VDR/HISTORY:

2006-12-03: Version 1.4.4-1

- Replaced 'unsigned long' with 'uint32_t' and 'uint64' with 'uint64_t' to
  avoid problems on 64-bit machines.

2006-12-03: Version 1.4.4-2

- Added a compatibility define for 'uint64' to tools.h, so that existing
  plugins don't need to be modified immediately (reported by Suur Karu).
  This will be removed in version 1.5.


So you may want to use uint64_t.

Klaus

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

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux