btesser / boblight

Automatically exported from code.google.com/p/boblight
GNU General Public License v3.0
0 stars 0 forks source link

Build Error "boblight-v4l/videograpper.cpp" #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
grab souce by svn

run ./configure
run make

I get this build error:
clients/boblight-v4l/videograbber.cpp:122:59: error: ‘CODEC_TYPE_VIDEO’ was 
not declared in this scope
clients/boblight-v4l/videograbber.cpp: In member function ‘void 
CVideoGrabber::Run(volatile bool&, void*)’:
clients/boblight-v4l/videograbber.cpp:240:92: error: ‘avcodec_decode_video’ 
was not declared in this scope

Original issue reported on code.google.com by mik...@i-dyllen.dk on 22 Jun 2011 at 9:54

GoogleCodeExporter commented 8 years ago
Seems ffmpeg changed their api for no good reason other than to annoy 
downstream.

Original comment by bob.loo...@gmail.com on 2 Jul 2011 at 2:14

GoogleCodeExporter commented 8 years ago
Yes, I actually fixed this one, but then there were like hundreds of other 
bugs...

I am quite a noob in this area so i gave up.

The case is I am using ubuntu, and the latest FFMPEG, as this guide describes 
how to install http://ubuntuforums.org/showthread.php?t=786095.

I needed it for some video edit.

But yes, it seems they did a lot of API changes.

Original comment by mik...@i-dyllen.dk on 2 Jul 2011 at 2:29

GoogleCodeExporter commented 8 years ago
Btw. everything works fine if I just use the ffmpeg from the ubuntu repository

Original comment by mik...@i-dyllen.dk on 2 Jul 2011 at 2:30

GoogleCodeExporter commented 8 years ago
Changing CODEC_TYPE_VIDEO into AVMEDIA_TYPE_VIDEO wasn't enough?
Anyway you can compile without ffmpeg by passing --without-ffmpeg to configure.

Original comment by bob.loo...@gmail.com on 2 Jul 2011 at 7:42

GoogleCodeExporter commented 8 years ago
Yes, for this file, but then there were plenty of new errow in other parts, 
think it was the X11 part. But again something related to ffmpeg.

Original comment by mik...@i-dyllen.dk on 2 Jul 2011 at 10:12

GoogleCodeExporter commented 8 years ago
Could you post the errors?

Original comment by bob.loo...@gmail.com on 4 Jul 2011 at 6:13

GoogleCodeExporter commented 8 years ago

Original comment by bob.loo...@gmail.com on 4 Jul 2011 at 6:13

GoogleCodeExporter commented 8 years ago
No Sorry, The computer just crashed, and I will take off to Australia for a 
month, but I will be glad to help when I return.

- Mikael

Original comment by mik...@i-dyllen.dk on 4 Jul 2011 at 9:39

GoogleCodeExporter commented 8 years ago
Have fun.

Original comment by bob.loo...@gmail.com on 5 Jul 2011 at 3:05

GoogleCodeExporter commented 8 years ago
No reponse, closing.

Original comment by bob.loo...@gmail.com on 31 Dec 2011 at 12:24

GoogleCodeExporter commented 8 years ago
hm I changed CODEC_TYPE_VIDEO into AVMEDIA_TYPE_VIDEO & I am using without 
FFMPEG to configure, which works fine...

Sadly on "make" i get:

clients/boblight-v4l/videograbber.cpp: In Elementfunktion »void 
CVideoGrabber::Run(volatile bool&, void*)«:
clients/boblight-v4l/videograbber.cpp:240:92: Fehler: 
»avcodec_decode_video« wurde in diesem Gültigkeitsbereich nicht 
definiert
make[2]: *** [videograbber.o] Fehler 1
make[2]: Verlasse Verzeichnis '/usr/src/boblight-read-only/src'

Original comment by krautmas...@gmail.com on 13 Jan 2012 at 11:24