logo       

Re: keeping bitrate during conversion: msg#00224

video.ffmpeg.user

Subject: Re: keeping bitrate during conversion

astrograph GMX wrote:
Michel Bardiaux wrote:

astrograph GMX wrote:

hi,

I am trying to convert .mp4 videos to .3gp, it works, but there is a big difference in bitrate between the original and the converted copy:

ffmpeg -i media/470222.mp4 test3.3gp
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
built on Feb 28 2005 14:45:40, gcc: 3.2.3 20030502 (Red Hat Linux 3.2.3-49)


This is very old. Please upgrade to CVS.


thank you for your quick response!! yes, I am aware of that, I ran into the problem that I wasn´t able to compile the current version of ffmpeg:

]$ make
make -C libavutil all
make[1]: Entering directory `/opt/qpass/mediaconverter/tools/ffmpeg/libavutil'
gcc -O3 -g -Wall -Wno-switch -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mathematics.o mathematics.c
In file included from mathematics.c:24:
common.h:608: warning: static declaration of 'lrintf' follows non-static declaration
mathematics.c:132:7: warning: no newline at end of file
gcc -O3 -g -Wall -Wno-switch -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o rational.o rational.c
In file included from rational.c:30:
common.h:608: warning: static declaration of 'lrintf' follows non-static declaration
gcc -O3 -g -Wall -Wno-switch -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o intfloat_readwrite.o intfloat_readwrite.c
In file included from intfloat_readwrite.c:26:
common.h:608: warning: static declaration of 'lrintf' follows non-static declaration
gcc -O3 -g -Wall -Wno-switch -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o crc.o crc.c
In file included from crc.c:1:
common.h:608: warning: static declaration of 'lrintf' follows non-static declaration
rm -f libavutil.a
ar rc libavutil.a mathematics.o rational.o intfloat_readwrite.o crc.o
ranlib libavutil.a
make[1]: Leaving directory `/opt/qpass/mediaconverter/tools/ffmpeg/libavutil'
make -C libavcodec all
make[1]: Entering directory `/opt/qpass/mediaconverter/tools/ffmpeg/libavcodec'
gcc -O3 -g -Wall -Wno-switch -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -I.. -I/opt/qpass/mediaconverter/tools/ffmpeg/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o bitstream.o bitstream.c
In file included from /opt/qpass/mediaconverter/tools/ffmpeg/libavutil/avutil.h:24,
from avcodec.h:14,
from bitstream.c:28:
/opt/qpass/mediaconverter/tools/ffmpeg/libavutil/common.h:608: warning: static declaration of 'lrintf' follows non-static declaration
gcc -O3 -g -Wall -Wno-switch -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -I.. -I/opt/qpass/mediaconverter/tools/ffmpeg/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o utils.o utils.c
In file included from /opt/qpass/mediaconverter/tools/ffmpeg/libavutil/avutil.h:24,
from avcodec.h:14,
from utils.c:27:
/opt/qpass/mediaconverter/tools/ffmpeg/libavutil/common.h:608: warning: static declaration of 'lrintf' follows non-static declaration
utils.c: In function `avcodec_string':
utils.c:1093: warning: implicit declaration of function `_snprintf'
utils.c: In function `av_tempfile':
utils.c:1375: error: `_O_RDWR' undeclared (first use in this function)
utils.c:1375: error: (Each undeclared identifier is reported only once
utils.c:1375: error: for each function it appears in.)
utils.c:1375: error: `_O_BINARY' undeclared (first use in this function)
utils.c:1375: error: `_O_CREAT' undeclared (first use in this function)
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/opt/qpass/mediaconverter/tools/ffmpeg/libavcodec'
make: *** [lib] Error 2

any idea what could be causing this?

I have done a full update and rebuild and I dont have any of these problems. What's your platform? Mine is debian woody with gcc 2-95.


thx

Phil



--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux@xxxxxxxxxxx

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise