Hi

On Fri, Sep 6, 2013 at 3:55 PM, Gavin <ga...@clayshot.com> wrote:

> On Thu, 2013-09-05 at 19:02 +0300, Einar Rünkaru wrote:
> >
> >
> >
> > On Thu, Sep 5, 2013 at 6:08 PM, Gavin <ga...@clayshot.com> wrote:
> >
> >
> >         Add the line
> >         #include <string.h>
> >
> >          after other 'include' directives at the beginning of
> >         cinelerra/videodevice.C
> >
> >         >
> >         >
> >         >
> >         > May be 'strings.h' is not needed. Can you try without
> >         > 'strings.h' (only with 'string.h')?
> >         >
> >
> > Einar
> >
>
> Thank you Einar for the direction;
>
> Added #include <string.h> to
>
> videodevice.C
> and
> vdevicebuz.C
>
> and it made!
>

Can you confirm that strings.h was not needed for vdevicebuz.C?

>
>
> I notice Monty's branch tackled the v4l / Buz problem from last year
> differently to cv's.
>
>
> http://git.xiph.org/?p=users/xiphmont/cinelerraCV.git;a=commit;h=16729edbe00ef3f688fb3bca93f59cdb866361e7
>
>
> http://git.cinelerra.org/gitweb?p=CinelerraCV.git;a=commit;h=229bb45b3a0ee8b6c5fa37c69d27804a5ce595d2
>

v4l is removed from kernel. It is replaced by v4l2. The branches use
different v4l replacment libs. IMHO both are useless for cinelerra.

vdevicebuz is support of iOmega Buz Captue Card whitch was state of the art
around 1998.

>
>
> I tried to make Monty's branch but it stopped with another error
>
> In file included from libavcodec/vaapi_h264.c:24:0:
> libavcodec/vaapi_h264.c: At top level:
> libavcodec/h264.h:1256:13: warning: ‘decode_mb_skip’ defined but not
> used [-Wunused-function]
>  static void decode_mb_skip(H264Context *h){
>              ^
> CC      libavcodec/vaapi_mpeg2.o
> In file included from libavcodec/mpegvideo.h:32:0,
>                  from libavcodec/vaapi_internal.h:30,
>                  from libavcodec/vaapi_mpeg2.c:23:
> libavcodec/get_bits.h: In function ‘skip_bits’:
> libavcodec/get_bits.h:387:17: warning: variable ‘re_cache’ set but not
> used [-Wunused-but-set-variable]
>      OPEN_READER(re, s)
>                  ^
> libavcodec/get_bits.h:135:13: note: in definition of macro ‘OPEN_READER’
>          int name##_cache= 0;\
>              ^
> libavcodec/vaapi_mpeg2.c: In function ‘vaapi_mpeg2_decode_slice’:
> libavcodec/vaapi_mpeg2.c:112:14: warning: variable ‘start_code’ set but
> not used [-Wunused-but-set-variable]
>      uint32_t start_code, quantiser_scale_code, intra_slice_flag,
> macroblock_offset;
>               ^
> CC      libavcodec/vaapi_mpeg4.o
> In file included from libavcodec/mpegvideo.h:32:0,
>                  from libavcodec/vaapi_internal.h:30,
>                  from libavcodec/vaapi_mpeg4.c:23:
> libavcodec/get_bits.h: In function ‘skip_bits’:
> libavcodec/get_bits.h:387:17: warning: variable ‘re_cache’ set but not
> used [-Wunused-but-set-variable]
>      OPEN_READER(re, s)
>                  ^
> libavcodec/get_bits.h:135:13: note: in definition of macro ‘OPEN_READER’
>          int name##_cache= 0;\
>              ^
> libavcodec/vaapi_mpeg4.c: In function ‘vaapi_mpeg4_start_frame’:
> libavcodec/vaapi_mpeg4.c:89:5: error: implicit declaration of function
> ‘ff_h263_get_gob_height’ [-Werror=implicit-function-declaration]
>      pic_param->num_macroblocks_in_gob                   = s->mb_width *
> ff_h263_get_gob_height(s);
>      ^
> cc1: some warnings being treated as errors
> make[3]: *** [libavcodec/vaapi_mpeg4.o] Error 1
> make[3]: Leaving directory
> `/home/gavin/cin-cv/cinelerraCV-870e5e4/quicktime/ffmpeg'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/gavin/cin-cv/cinelerraCV-870e5e4/quicktime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/gavin/cin-cv/cinelerraCV-870e5e4'
> make: *** [all] Error 2
>
> Seems to be a problem in ffmpeg libraries.

Einar
_______________________________________________
Cinelerra mailing list
Cinelerra@skolelinux.no
https://lists.skolelinux.org/listinfo/cinelerra

Reply via email to