summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2008-08-17 10:01:48 +0000
committerAndreas Brachold <vdr07@deltab.de>2008-08-17 10:01:48 +0000
commit1970db6a30ced92c78ff10b3bd2ab21b41fba994 (patch)
tree92266690158a4f2b671abf4d40723b7db808b2a4
parentf6046e66c5ce76fd47b113af760cb5b7757477c1 (diff)
downloadxxv-1970db6a30ced92c78ff10b3bd2ab21b41fba994.tar.gz
xxv-1970db6a30ced92c78ff10b3bd2ab21b41fba994.tar.bz2
* update to build with ffmpeg-svn (r14788)
-rw-r--r--contrib/vdr2jpeg/Makefile4
-rw-r--r--contrib/vdr2jpeg/README6
-rw-r--r--contrib/vdr2jpeg/ffm.cpp8
3 files changed, 9 insertions, 9 deletions
diff --git a/contrib/vdr2jpeg/Makefile b/contrib/vdr2jpeg/Makefile
index f39af73..172dcaf 100644
--- a/contrib/vdr2jpeg/Makefile
+++ b/contrib/vdr2jpeg/Makefile
@@ -65,8 +65,8 @@ ifdef FFMDIR
INCLUDES += -I$(FFMDIR)/libavformat -I$(FFMDIR)/libavcodec -I$(FFMDIR)/libavutil -I$(FFMDIR)/libswscale
LIBS += -L$(FFMDIR)/libavformat -L$(FFMDIR)/libavcodec -L$(FFMDIR)/libavutil -L$(FFMDIR)/libswscale
else
-INCLUDES += $(shell $(PKG-CONFIG) --cflags libavformat libavcodec libswscale)
-LIBS += $(shell $(PKG-CONFIG) --libs libavformat libavcodec libswscale)
+INCLUDES += $(shell $(PKG-CONFIG) --cflags libavformat libavcodec libavutil libswscale)
+LIBS += $(shell $(PKG-CONFIG) --libs libavformat libavcodec libavutil libswscale)
endif
ifdef STATIC
diff --git a/contrib/vdr2jpeg/README b/contrib/vdr2jpeg/README
index 47a2572..161c5b3 100644
--- a/contrib/vdr2jpeg/README
+++ b/contrib/vdr2jpeg/README
@@ -5,14 +5,14 @@ vdr2jpeg are used from xxv to generated preview images of recordings.
Requirements
-------------
-ffmpeg-svn (tested with r12129)
+ffmpeg-svn (tested with r14788)
Recommended
------------
ffmpeg as shared libary and with software scaler
$ cd ffmpeg && \
- ./configure --enable-shared --enable-swscaler && \
+ ./configure --enable-shared --enable-swscale && \
make && \
make install
@@ -52,8 +52,8 @@ e.g. to extract frames 5000,10000,15000 (at 3,6,9 Minutes)
$ vdr2jpeg -r /video/Auf_der_Flucht/2004-12-28.22:10.50.99.rec \
-f 5000 -f 10000 -f 15000
+
same using with selected span of frames
$ vdr2jpeg -r /video/Auf_der_Flucht/2004-12-28.22:10.50.99.rec \
-f 5000 -s 10000 -i 5000
-
diff --git a/contrib/vdr2jpeg/ffm.cpp b/contrib/vdr2jpeg/ffm.cpp
index fb4be80..658a8dc 100644
--- a/contrib/vdr2jpeg/ffm.cpp
+++ b/contrib/vdr2jpeg/ffm.cpp
@@ -20,10 +20,10 @@
#include "ffm.h"
extern "C" {
-#include <avutil.h>
-#include <avcodec.h>
-#include <avformat.h>
-#include <swscale.h>
+#include <libavutil/avutil.h>
+#include <libavcodec/avcodec.h>
+#include <libavformat/avformat.h>
+#include <libswscale/swscale.h>
}
static int frame_width = 0;