mbbiii / crusher264

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

updated patch for ffmpeg #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download git
2. Patch
3. Build

What is the expected output? What do you see instead?

Patch fails, build fails.

What version of the product are you using? On what operating system?

crusher264 1.1.1 on Linux amd64

Please provide any additional information below.

Enclosed patch is a hack from the released patch, adjusted to fit configure. 
Some variable names have changed to work with the recent ffmpeg.

Original issue reported on code.google.com by david.li...@gmail.com on 4 Mar 2011 at 5:09

Attachments:

GoogleCodeExporter commented 8 years ago
thank you! :)

Original comment by degnetg...@gmail.com on 7 Mar 2011 at 12:41

GoogleCodeExporter commented 8 years ago
Hi David,

the patch compiles without any problems using a current git copy of FFmpeg :)

... unfortunately it does not seem to close the libcrusher264 module correctly; 
running FFmpeg with libcrusher264 a second time results in an encoder 
initialisation failure on my Debian Linux amd64 (squeeze) with my crusher264 
r71.

Do you have similar effects on your installation?

Original comment by degnetg...@gmail.com on 7 Mar 2011 at 12:50

GoogleCodeExporter commented 8 years ago
I haven't had a lot of time to test, but you may be right. I did a pretty
mechanical variable replacement, so that's a potential source of error.

Original comment by david.li...@gmail.com on 13 Mar 2011 at 12:24

GoogleCodeExporter commented 8 years ago
Hi David,

let me know if you are going to provide an update of your patch. :)

Thank you and regards,
-Florian

Original comment by degnetg...@gmail.com on 13 Mar 2011 at 1:41

GoogleCodeExporter commented 8 years ago
Hi, i become follow Error for make ( I use Debian Lenny, actually GIT FFMPEG, 
with manually patch):

test:~/ffmpeg# make
CC      libavdevice/alldevices.o
CC      libavdevice/alsa-audio-common.o
CC      libavdevice/alsa-audio-dec.o
libavdevice/alsa-audio-dec.c: In function 'audio_read_header':
libavdevice/alsa-audio-dec.c:66: warning: 'sample_rate' is deprecated (declared 
at ./libavformat/avformat.h:246)
libavdevice/alsa-audio-dec.c:67: warning: 'sample_rate' is deprecated (declared 
at ./libavformat/avformat.h:246)
libavdevice/alsa-audio-dec.c:69: warning: 'channels' is deprecated (declared at 
./libavformat/avformat.h:247)
libavdevice/alsa-audio-dec.c:70: warning: 'channels' is deprecated (declared at 
./libavformat/avformat.h:247)
libavdevice/alsa-audio-dec.c:62: warning: unused variable 'sw_params'
libavdevice/alsa-audio-dec.c: In function 'audio_read_packet':
libavdevice/alsa-audio-dec.c:109: warning: unused variable 'st'
CC      libavdevice/alsa-audio-enc.o
CC      libavdevice/avdevice.o
CC      libavdevice/crushercap.o
libavdevice/crushercap.c: In function 'crushercap_read_header':
libavdevice/crushercap.c:90: warning: 'channels' is deprecated (declared at 
./libavformat/avformat.h:247)
libavdevice/crushercap.c:91: warning: 'channels' is deprecated (declared at 
./libavformat/avformat.h:247)
libavdevice/crushercap.c:95: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:96: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:101: warning: 'standard' is deprecated (declared at 
./libavformat/avformat.h:252)
libavdevice/crushercap.c:101: warning: 'standard' is deprecated (declared at 
./libavformat/avformat.h:252)
libavdevice/crushercap.c:107: warning: 'channel' is deprecated (declared at 
./libavformat/avformat.h:251)
libavdevice/crushercap.c:107: warning: 'channel' is deprecated (declared at 
./libavformat/avformat.h:251)
libavdevice/crushercap.c:108: warning: 'channel' is deprecated (declared at 
./libavformat/avformat.h:251)
libavdevice/crushercap.c:113: warning: 'width' is deprecated (declared at 
./libavformat/avformat.h:248)
libavdevice/crushercap.c:113: warning: 'height' is deprecated (declared at 
./libavformat/avformat.h:249)
libavdevice/crushercap.c:114: warning: 'width' is deprecated (declared at 
./libavformat/avformat.h:248)
libavdevice/crushercap.c:115: warning: 'height' is deprecated (declared at 
./libavformat/avformat.h:249)
libavdevice/crushercap.c:118: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:119: warning: 'channels' is deprecated (declared at 
./libavformat/avformat.h:247)
libavdevice/crushercap.c:210: error: 'CODEC_TYPE_AUDIO' undeclared (first use 
in this function)
libavdevice/crushercap.c:210: error: (Each undeclared identifier is reported 
only once
libavdevice/crushercap.c:210: error: for each function it appears in.)
libavdevice/crushercap.c:219: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:234: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:247: warning: 'sample_rate' is deprecated (declared at 
./libavformat/avformat.h:246)
libavdevice/crushercap.c:255: error: 'CODEC_TYPE_VIDEO' undeclared (first use 
in this function)
libavdevice/crushercap.c: In function 'crushercap_read_packet':
libavdevice/crushercap.c:351: error: 'PKT_FLAG_KEY' undeclared (first use in 
this function)
make: *** [libavdevice/crushercap.o] Fehler 1

Original comment by cpaul...@xeatre.tv on 4 Jul 2011 at 1:32

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
updated patch for FFmpeg 0.7.7 peace ...

Original comment by degnetg...@gmail.com on 18 Nov 2011 at 2:01

Attachments: