@ -1,44 +0,0 @@ |
|||
|
|||
[TIMESTAMP] 1134218803 Sat Dec 10 13:46:43 2005 |
|||
[BUILDTIME] 10 (9) ERROR |
|||
[SIZE] 0.02 MB, 7 files |
|||
|
|||
[DEP] alsa-lib |
|||
[DEP] bash |
|||
[DEP] binutils |
|||
[DEP] bzip2 |
|||
[DEP] xorg-cf-files |
|||
[DEP] coreutils |
|||
[DEP] diffutils |
|||
[DEP] ffmpeg |
|||
[DEP] findutils |
|||
[DEP] gcc |
|||
[DEP] glibc |
|||
[DEP] grep |
|||
[DEP] imake |
|||
[DEP] lame |
|||
[DEP] libice |
|||
[DEP] libogg |
|||
[DEP] libpng |
|||
[DEP] libvorbis |
|||
[DEP] libx11 |
|||
[DEP] libxau |
|||
[DEP] libxdmcp |
|||
[DEP] libxext |
|||
[DEP] libxinerama |
|||
[DEP] libxv |
|||
[DEP] libzvbi |
|||
[DEP] linux-header |
|||
[DEP] lirc |
|||
[DEP] make |
|||
[DEP] net-tools |
|||
[DEP] patch |
|||
[DEP] sed |
|||
[DEP] sysfiles |
|||
[DEP] tar |
|||
[DEP] tcl |
|||
[DEP] tk |
|||
[DEP] util-linux |
|||
[DEP] xineramaproto |
|||
[DEP] xproto |
|||
[DEP] zlib |
@ -1,14 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../avview/avview.conf |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; version 2 of the License. A copy of the |
|||
# GNU General Public License can be found in the file COPYING. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
var_append confopt " " "--with-ffmpeg=/usr" |
@ -1,36 +0,0 @@ |
|||
|
|||
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] |
|||
[COPY] Filename: package/.../avview/avview.desc |
|||
[COPY] Copyright (C) 2006 The OpenSDE Project |
|||
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] More information can be found in the files COPYING and README. |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; version 2 of the License. A copy of the |
|||
[COPY] GNU General Public License can be found in the file COPYING. |
|||
[COPY] --- SDE-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] An audio/video viewer program |
|||
|
|||
[T] AVview is a Tcl/Tk extension which provides interface to Audio/Video devices |
|||
[T] on Linux. The goal is to have an efficient Audio/Video processing engine |
|||
[T] which is controlled by Tcl/Tk interface. |
|||
|
|||
[U] http://gatos.sourceforge.net/avview.php |
|||
|
|||
[A] GATOS project developers { see http://gatos.sourceforge.net/hall_of_fame.php } |
|||
[M] The OpenSDE Community <list@opensde.org> |
|||
|
|||
[C] extra/multimedia |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 0.80.7 |
|||
[P] X -----5---9 180.500 |
|||
|
|||
[D] 2887874136 avview-0.80.7.tar.gz http://dl.sourceforge.net/sourceforge/gatos/ |
@ -1,81 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../avview/ffmpeg-compat.patch |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
--- avview-0.80.6/ffmpeg.c 2004-12-17 13:48:41.000000000 +0100
|
|||
+++ avview-0.80.6.work/ffmpeg.c 2005-03-16 13:46:04.000000000 +0100
|
|||
@@ -144,6 +144,7 @@
|
|||
PACKET *f; |
|||
V4L_DATA *data; |
|||
AVFrame picture; |
|||
+AVPacket packet;
|
|||
char *output_buf; |
|||
long ob_size, ob_free, ob_written; |
|||
long frames=0; |
|||
@@ -193,8 +194,12 @@
|
|||
while(ob_written<ob_free){ |
|||
pthread_mutex_lock(&(sdata->format_context_mutex)); |
|||
if(sdata->format_context.oformat!=NULL){ |
|||
- sdata->format_context.oformat->write_packet(&(sdata->format_context),sdata->video_stream_num, output_buf+ob_written, ob_free-ob_written, make_pts(start_ts, f->timestamp));
|
|||
i=ob_free-ob_written; |
|||
+ packet.stream_index = sdata->video_stream_num;
|
|||
+ packet.data = output_buf + ob_written;
|
|||
+ packet.size = i;
|
|||
+ packet.pts = make_pts(start_ts, f->timestamp);
|
|||
+ packet.duration = 0;
|
|||
} else { |
|||
i=write(sdata->fd_out, output_buf+ob_written, ob_free-ob_written); |
|||
} |
|||
@@ -301,6 +306,7 @@
|
|||
int64 start_ts; |
|||
long ob_size, ob_free; |
|||
PACKET *f; |
|||
+AVPacket packet;
|
|||
ob_size=sdata->audio_codec_context.frame_size*sdata->audio_codec_context.channels*sizeof(short); |
|||
out_buf=do_alloc(ob_size, 1); |
|||
fprintf(stderr,"audio_encoding pid %d\n", getpid()); |
|||
@@ -324,7 +330,12 @@
|
|||
/* write output buffer */ |
|||
if(sdata->format_context.oformat!=NULL){ |
|||
/* write using libavcodec format output */ |
|||
- sdata->format_context.oformat->write_packet(&(sdata->format_context),sdata->audio_stream_num, out_buf, ob_free, make_pts(start_ts, f->timestamp));
|
|||
+ packet.stream_index = sdata->video_stream_num;
|
|||
+ packet.data = out_buf;
|
|||
+ packet.size = ob_free;
|
|||
+ packet.pts = make_pts(start_ts, f->timestamp);
|
|||
+ packet.duration = 0;
|
|||
+ sdata->format_context.oformat->write_packet(&(sdata->format_context), &packet);
|
|||
} else { |
|||
/* write using os function */ |
|||
os_write_packet(sdata->fd_out, out_buf, ob_free); |
|||
@@ -578,7 +589,9 @@
|
|||
|
|||
enc->frame_rate_base=FFMPEG_FRAME_RATE_BASE; |
|||
enc->max_qdiff=3; |
|||
-enc->aspect_ratio=0.0; /* guess assuming square pixels */
|
|||
+//enc->aspect_ratio=0.0; /* guess assuming square pixels */
|
|||
+enc->sample_aspect_ratio.num=0;
|
|||
+enc->sample_aspect_ratio.den=0;
|
|||
enc->me_method=ME_FULL; |
|||
enc->qblur=0.5; |
|||
enc->qcompress=0.5; |
|||
@@ -826,7 +839,7 @@
|
|||
sdata->format_context.pb.write_flag=1; |
|||
sdata->format_context.pb.max_packet_size=0; |
|||
sdata->format_context.oformat->flags=AVFMT_NOFILE; |
|||
- sdata->format_context.flags=AVFMT_NOFILE;
|
|||
+ sdata->format_context.ctx_flags=0; //AVFMTCTX_NOHEADER;
|
|||
strcpy(sdata->format_context.title, arg_filename); |
|||
/* no way to extract these from TV signal */ |
|||
sdata->format_context.title[0]=0; |
@ -1,26 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../avview/ffmpeg-version.patch |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
--- avview-0.80.6/configure.orig 2004-12-17 13:49:02.000000000 +0100
|
|||
+++ avview-0.80.6/configure 2005-03-16 12:16:23.000000000 +0100
|
|||
@@ -8314,7 +8314,7 @@
|
|||
#error "FFMPEG libraries mismatch" |
|||
#endif |
|||
|
|||
- #if LIBAVCODEC_VERSION_INT != 0x000408
|
|||
+ #if LIBAVCODEC_VERSION_INT < 0x000408
|
|||
#error "AVview now requires ffmpeg 0.4.8" |
|||
#endif |
|||
|
@ -1,28 +0,0 @@ |
|||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# |
|||
# Filename: package/.../avview/use-shared-ffmpeg.patch |
|||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|||
# |
|||
# More information can be found in the files COPYING and README. |
|||
# |
|||
# This patch file is dual-licensed. It is available under the license the |
|||
# patched project is licensed under, as long as it is an OpenSource license |
|||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|||
# of the GNU General Public License as published by the Free Software |
|||
# Foundation; either version 2 of the License, or (at your option) any later |
|||
# version. |
|||
# --- SDE-COPYRIGHT-NOTE-END --- |
|||
--- avview-0.80.3/configure.orig 2004-11-22 01:59:15.900006000 +0100
|
|||
+++ avview-0.80.3/configure 2004-11-22 02:06:43.829910304 +0100
|
|||
@@ -7582,8 +7582,8 @@
|
|||
#define USE_FFMPEG 1 |
|||
_ACEOF |
|||
|
|||
-FFMPEG_LIBS="$with_ffmpeg/libavformat/libavformat.a $with_ffmpeg/libavcodec/libavcodec.a"
|
|||
-FFMPEG_CFLAGS="-I$with_ffmpeg/libavformat -I$with_ffmpeg/libavcodec"
|
|||
+FFMPEG_LIBS="-L$with_ffmpeg/lib -lavformat -lavcodec"
|
|||
+FFMPEG_CFLAGS="-I$with_ffmpeg/include/ffmpeg"
|
|||
echo -n "checking ffmpeg version..." |
|||
CFLAGS="$CFLAGS $FFMPEG_CFLAGS" |
|||
#LDFLAGS="$LDFLAGS $FFMPEG_LIBS" |