Raymond Peck | 1 Oct 01:43

Re: Rate control with libx264 not working for me. Rats!

On Tue, Sep 30, 2008 at 3:40 PM, Raymond Peck <rpeck <at> rpeck.com> wrote:
> No matter
> whether I use -b/-bt or -crf or -cqp none of them change the bit rate very much.

I tried using -b/-bt in conjunction with Robert Swain's preset files
and they are working.
Yay!  So. . . which options need to be set to convince ffmpeg/libx264
to pay attention
to -b and -bt?  I don't see this documented anywhere.  Thanks!
Ulrich Lukas | 1 Oct 03:41
Picon

Re: ffmpeg SoC - Frame-based multithreading by Alexander Strange

Hi,

AFAIK, only the generic part of frame based multithreading is
implemented yet, and the codecs have to be ported separately.

I suppose they are working very hard on it right now.
(Don't know which development tree/repository/copy they use internally)

This is a very interesting feature and I'm really looking forward to
being able to compile the first fully-multithreaded MPlayer.
Ken | 1 Oct 09:10
Picon

Live http output/targets

I'm interested in sending the output from ffmpeg to generic web server, 
and having code on that server receive the stream (either piping it a 
file or relay to users via circ. buffer etc).

Just running a couple quick tests I see ffmpeg sends a POST with 'Range 
= bytes=0-', which implies it is a open-ended stream, like one would 
expect...

However even though my log show a 200 response was sent, something is 
aborting the stream; ffmpeg (a svn build from May this year) exits with:

av_interleaved_write_frame(): Error while parsing header

when I run something like:
ffmpeg -i test.wav -f mp3 -ac 2 -vn http://localhost/snoop.jsp

, even if I set up a URI on the server that accepts a open-ended 
input-stream and not expecting http-param or newline formatting. Ive 
tried various other output-stream formats including mpeg and mpegts.

Is there a doc that describes the protocol ffmpeg wants to use over a 
generic http server? Might there be a two-way setup/protocol on the 
socket before ffmpeg starts sending the data?

Thanks!!
ken
Stefano Sabatini | 1 Oct 10:50
Picon
Favicon

Problem compiling in windows: unimplemented lrintf?

Hi all,

trying for the first time to compile ffmpeg on MinGW in Windows Vista.

MinGW version is: 5.1.4, ffmpeg version used is 14160:

Error is:
$ gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X
_SOURCE -I. -I"/r/ffmpeg" -fomit-frame-pointer -g -Wdeclaration-after-stateme
nt -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decl
s -Wcast-qual -Wwrite-strings -O3 -fno-math-errno       -c -o libavformat/uti
ls.o libavformat/utils.c
In file included from ./libavutil/common.h:85,
                 from ./libavutil/avutil.h:52,
                 from ./libavcodec/avcodec.h:30,
                 from libavformat/avformat.h:40,
                 from libavformat/utils.c:21:
./libavutil/internal.h:274: warning: static declaration of 'llrint' follows non-static declaration
./libavutil/internal.h:281: warning: static declaration of 'lrint' follows non-static declaration
./libavutil/internal.h:288: warning: static declaration of 'lrintf' follows non-static declaration
libavformat/utils.c:36: warning: `AVFrac' is deprecated (declared at libavformat/avformat.h:135)
libavformat/utils.c:37: warning: `AVFrac' is deprecated (declared at libavformat/avformat.h:135)
libavformat/utils.c: In function `parse_date':
libavformat/utils.c:2882: warning: cast discards qualifiers from pointer target type
libavformat/utils.c: At top level:
libavformat/utils.c:3172: warning: `AVFrac' is deprecated (declared at libavformat/avformat.h:135)
libavformat/utils.c:3190: warning: `AVFrac' is deprecated (declared at libavformat/avformat.h:135)
libavformat/utils.c: In function `av_seek_frame_binary':
libavformat/utils.c:1178: warning: 'pos_min' might be used uninitialized in this function
libavformat/utils.c:1178: warning: 'pos_max' might be used uninitialized in this function
(Continue reading)

tommi.raita-aho | 1 Oct 14:59
Picon

Decode Panasonic HDC-SD100 AVDHCD (H.264) videos to PAL DVD, output video plays too slow


Hi, 

I have problems with converting videos from my new full HD camcorder
(Panasonic HDC-SD100) to other formats like PAL-DVD. The PAL-DVD
encoded video plays too slow. I read manuals FAQs, tried different
options but no help with pure ffmpeg command.

ffmpeg is very new from svn and x264 also new from git (both less than
one week old) (x264 from here: http://git.videolan.org/)

My basic command and output:

% ffmpeg -i 00004.mts -target pal-dvd 00004.mpg 
FFmpeg version SVN-r15461, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --extra-cflags=-O3 --enable-libfaac --enable-libmp3lame --enable-liba52
--enable-liba52bin --enable-libfaad --enable-gpl --enable-libxvi
d --enable-libx264 --enable-nonfree --enable-swscale
  libavutil     49.11. 0 / 49.11. 0
  libavcodec    52. 0. 0 / 52. 0. 0
  libavformat   52.22. 1 / 52.22. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  built on Sep 29 2008 15:52:37, gcc: 4.1.2 20070925 (Red Hat 4.1.2-33)
Input #0, mpegts, from '00004.mts':
  Duration: 00:00:49.92, start: 0.374944, bitrate: 16304 kb/s
  Program 1 
    Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25.00 tb(r)
    Stream #0.1[0x1100]: Audio: liba52, 48000 Hz, 5:1, s16, 384 kb/s
File '00004.mpg' already exists. Overwrite ? [y/N] y
(Continue reading)

Ramiro Polla | 1 Oct 15:06
Picon
Favicon

Re: Problem compiling in windows: unimplemented lrintf?

Hello Stefano,

Stefano Sabatini wrote:
> trying for the first time to compile ffmpeg on MinGW in Windows Vista.

Great =)

> MinGW version is: 5.1.4, ffmpeg version used is 14160:

Well, to start off, why are you using r14160?

And as for the MinGW version, I personally don't recommend using the 
bundles. They rarely work out of the box for FFmpeg. I suggest you 
always install the latest packages manually. Actually I don't know what 
comes in 5.1.4, but it probably isn't enough.

You can follow the wiki at http://ffmpeg.arrozcru.com/wiki , but it is 
long and boring and more suited for people that have no idea what 
they're doing. Since you don't fall in that category, I'll try to sum it 
up more concisely:

MSYS:
- Install the old 2004 package for MSYS (don't post-install anything);
- Update msys dll to the latest version;
- Update make to msys-make-3.81-2;
- Update bash to 3.1;
- Install pr from the coreutils package.

MinGW:
- Install latest binutils;
(Continue reading)

Ken | 1 Oct 16:10
Picon

Re: Decode Panasonic HDC-SD100 AVDHCD (H.264) videos to PAL DVD, output video plays too slow

tommi.raita-aho <at> elisanet.fi wrote:
> Hi, 
> 
> I have problems with converting videos from my new full HD camcorder
> (Panasonic HDC-SD100) to other formats like PAL-DVD. The PAL-DVD
> encoded video plays too slow. I read manuals FAQs, tried different
> options but no help with pure ffmpeg command.
> 
> ffmpeg is very new from svn and x264 also new from git (both less than
> one week old) (x264 from here: http://git.videolan.org/)
> 
> My basic command and output:
> 
> % ffmpeg -i 00004.mts -target pal-dvd 00004.mpg 
> FFmpeg version SVN-r15461, Copyright (c) 2000-2008 Fabrice Bellard, et al.
>   configuration: --extra-cflags=-O3 --enable-libfaac --enable-libmp3lame --enable-liba52
--enable-liba52bin --enable-libfaad --enable-gpl --enable-libxvi
> d --enable-libx264 --enable-nonfree --enable-swscale
>   libavutil     49.11. 0 / 49.11. 0
>   libavcodec    52. 0. 0 / 52. 0. 0
>   libavformat   52.22. 1 / 52.22. 1
>   libavdevice   52. 1. 0 / 52. 1. 0
>   libswscale     0. 6. 1 /  0. 6. 1
>   built on Sep 29 2008 15:52:37, gcc: 4.1.2 20070925 (Red Hat 4.1.2-33)
> Input #0, mpegts, from '00004.mts':
>   Duration: 00:00:49.92, start: 0.374944, bitrate: 16304 kb/s
>   Program 1 
>     Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25.00 tb(r)
>     Stream #0.1[0x1100]: Audio: liba52, 48000 Hz, 5:1, s16, 384 kb/s
> File '00004.mpg' already exists. Overwrite ? [y/N] y
(Continue reading)

Leonardo Boselli | 1 Oct 19:02
Picon

Re: FFserver live streaming

On Mon, 29 Sep 2008, Naz wrote:
> I would like to broadcast live video from a web cam to a web page, and I 
> would like to know if ffserver can do this.
Yes, it can ... there are examples in ffserver istructions.
(however i used mplayer for viewing)
G 3 | 1 Oct 19:30
Picon

Re: Compile problem Mac OS 10.3.9


On Oct 1, 2008, at 3:10 AM, ffmpeg-user-request <at> mplayerhq.hu wrote:

> Message: 4
> Date: Tue, 30 Sep 2008 14:27:30 -0500
> From: Eric Landmann <elandmann <at> landmanninteractive.com>
> Subject: [FFmpeg-user] Compile problem Mac OS 10.3.9
> To: ffmpeg-user <at> mplayerhq.hu
> Message-ID:
> 	<r02010500-1055-D322ED4C8F2511DDB36800224123306C@[66.170.10.195]>
> Content-Type: text/plain; charset=US-ASCII
>
> Environment
>     Mac OS 10.3.9, Dual 2GHz PPC G5, 5Gb RAM
>     gcc version 3.3 20030304 (Apple Computer, Inc. build 1666)
>
> Trying to compile ffmpeg to use the lame library to convert .mov and 
> .mp4 files to .flv. Using ffmpeg from SVN today (rev. 15488, 30 Sept. 
> 2008), I have a problem getting through make. Configure seems to work 
> with this command:
>
>     ./configure --disable-altivec --enable-libmp3lame --disable-vhook 
> --enable-static --enable-gpl
>
> ... but going to make this happens:
>
> make: *** No rule to make target `libavdevice/libavdevice.a', needed 
> by `all'.  Stop.
>
> Saw a message with a related error in the thread "Cross compile issue 
(Continue reading)

Eric Landmann | 1 Oct 20:35

Re: Compile problem Mac OS 10.3.9

G 3 <programmingkidx <at> gmail.com> wrote on Wednesday, October 1, 2008:

>On Oct 1, 2008, at 3:10 AM, ffmpeg-user-request <at> mplayerhq.hu wrote:
>
>> Message: 4
>> Date: Tue, 30 Sep 2008 14:27:30 -0500
>> From: Eric Landmann <elandmann <at> landmanninteractive.com>
>> Subject: [FFmpeg-user] Compile problem Mac OS 10.3.9
>> To: ffmpeg-user <at> mplayerhq.hu
>> Message-ID:
>>  <r02010500-1055-D322ED4C8F2511DDB36800224123306C@[66.170.10.195]>
>> Content-Type: text/plain; charset=US-ASCII
>>
>> Environment
>>     Mac OS 10.3.9, Dual 2GHz PPC G5, 5Gb RAM
>>     gcc version 3.3 20030304 (Apple Computer, Inc. build 1666)
>>
>> Trying to compile ffmpeg to use the lame library to convert .mov and 
>> .mp4 files to .flv. Using ffmpeg from SVN today (rev. 15488, 30 Sept. 
>> 2008), I have a problem getting through make. Configure seems to work 
>> with this command:
>>
>>     ./configure --disable-altivec --enable-libmp3lame --disable-vhook 
>> --enable-static --enable-gpl
>>
>> ... but going to make this happens:
>>
>> make: *** No rule to make target `libavdevice/libavdevice.a', needed 
>> by `all'.  Stop.
>>
(Continue reading)


Gmane