dan06 | 1 Sep 01:52
Picon
Favicon

[Ffmpeg-user] Building ffmpeg with shared libraries


When running 'configure' (see below) for the ffmpeg source code I repeatedly
get: '../configure line 2581 pr: command not found.' Anyone know what I did
wrong? I've detailed my goal and steps taken thus far below. Thanks. 

I'm trying to build ffmpeg with libmp3lame, libogg, libtheora, and
pthreadGC2 on a windows xp machine using mingw & msys; I've compiled the
aforementioned libraries and stored them in '/shared' directory. 

I've checked-out ffmpeg source files to the root directory and created a
'build' sub-directory. Within the 'build' directory I run:

../configure --enable-shared --disable-static --enable-memalign-hack
--enable-libmp3lame --enable-libtheora --enable-pthreads
--extra-ldflags=-L/shared/lib --extra-cflags=-I/shared/include
--prefix=/shared

--

-- 
View this message in context: http://www.nabble.com/Building-ffmpeg-with-shared-libraries-tp25232265p25232265.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
Sylvia Schmitt | 1 Sep 09:08
Picon

Re: [Ffmpeg-user] Building ffmpeg with shared libraries

dan06 schrieb:
> When running 'configure' (see below) for the ffmpeg source code I repeatedly
> get: '../configure line 2581 pr: command not found.' Anyone know what I did
> wrong? I've detailed my goal and steps taken thus far below. Thanks. 
>
> I'm trying to build ffmpeg with libmp3lame, libogg, libtheora, and
> pthreadGC2 on a windows xp machine using mingw & msys; I've compiled the
> aforementioned libraries and stored them in '/shared' directory. 
>
> I've checked-out ffmpeg source files to the root directory and created a
> 'build' sub-directory. Within the 'build' directory I run:
>
> ../configure --enable-shared --disable-static --enable-memalign-hack
> --enable-libmp3lame --enable-libtheora --enable-pthreads
> --extra-ldflags=-L/shared/lib --extra-cflags=-I/shared/include
> --prefix=/shared
>
>   
Hi,

you just have to install some additional stuff of msys.
There is an additional archive you have to download and to unzip to the 
MSYS installation directory.

Just follow the instructions of this site:
http://ffmpeg.arrozcru.org/wiki/index.php?title=Main_Page

Then the configure script should run without failures.

Regards.
(Continue reading)

Benjamin Larsson | 1 Sep 09:48
Picon

Re: Need Help

Muthumari wrote:
> Hi,
>
>  
>
> I've used the ffmpeg for video conversion in vb.net with c#.
>
> For some video files it is working fine. For some files it is converting.
>
> Please guide me to convert.
>
>  
>
> Regards,
>
> Muthumari
>   

Dear mr Muthumari you are not making any sense.

MvH
Benjamin Larsson
Muthumari | 1 Sep 12:22

Re: Need Help

Hi,

Sorry for the inconvenience.

I am using FFMPEG in windows service with C#, to convert any type of video
files into flv.

-y -i input -ab 56 -ar 22050 -b 500 -qscale 16 -r 15 -s 320x240 output

This is the command I've used for conversion.

For wmv, mov format video files its working fine. 

I am having two sample files in 3gp format.

For one file conversion is working fine and I've got converted flv.

For the other I am getting the error "Unsupported codec (id=73728) for input
stream #0.1"

Can you guide me now?

Regards,

Muthumari

-----Original Message-----
From: ffmpeg-user-bounces <at> mplayerhq.hu
[mailto:ffmpeg-user-bounces <at> mplayerhq.hu] On Behalf Of Benjamin Larsson
Sent: Tuesday, September 01, 2009 1:19 PM
(Continue reading)

yuanqing.ye8 | 1 Sep 12:48
Picon

Is there anyway to erase the logo in video via ffmpeg or mencoder?

Hi, all:

         I am new to ffmpeg and mencoder, and I am curious about is there
anyway ffmpeg or mencoder can erase the logo in video?

         If they can, what switchs I should use ?

         If they can't, is there any other software can do this ?

         Thanks in advance.
Benjamin Larsson | 1 Sep 13:39
Picon

Re: Need Help

Muthumari wrote:
> Hi,
>
>  
>
> Sorry for the inconvenience.
>
>  
>
> I am using FFMPEG in windows service with C#, to convert any type of video
> files into flv.
>
>  
>
> -y -i input -ab 56 -ar 22050 -b 500 -qscale 16 -r 15 -s 320x240 output
>
> This is the command I've used for conversion.
>
>  
>
> For wmv, mov format video files its working fine. 
>
> I am having two sample files in 3gp format.
>
> For one file conversion is working fine and I've got converted flv.
>
> For the other I am getting the error "Unsupported codec (id=73728) for input
> stream #0.1"
>
> Can you guide me now?
(Continue reading)

Andre Paz Leal | 1 Sep 13:34
Picon

Solution to Alpha

Hello Eric, i see that you was looking back in 2007 for the solution in 
mantain the alpha in mov, did u find could you help me out...?

--

-- 

Atenciosamente,

Andre Paz Leal
Webdesigner
Domínio Sistemas Ltda.
Fone: (48) 3461-1000
Site: www.dominiosistemas.com.br/treinamento 
Phil Crothers | 1 Sep 13:57
Picon

MP3 converted to SWF fails after limited number of plays

Hi,

I'm working on the Flash/Flex part of a project that uses mp3 files
converted to swf with ffmpeg. We load and play them with a SwfLoader. This
works fine for about 10 or 12 times but then no audio is heard when clicking
the play button after that (have tested FP9 and FP10). I haven't been
involved with the ffmpeg side of things but now need to try and help the
team that have worked on this. So I'm wondering if this could be a settings
issue with the conversion that we can easily overcome or if it's something
more fundamental in converted file that FlashPlayer doesn't like. SWF files
made using Flash 8 with embedded MP3 work without any problem at all. It
would be great if someone can point me in the right direction. 

Thanks.
Matthew Berry | 1 Sep 14:29

qmax clarification

I have had a problem come up that has triggered a question around -qmax.  I
have noticed that the largest value that you can set is 51 and that most
everyone seems to preset it at 51 including the presets that come included
with ffmpeg.  What is the default value that is used if you do not set it
with -qmax.  Im guessing if not defined that it is derived from the existing
video that you are transcoding from?

On another note, I have noticed on about one percent of my videos I get
strange q parameters that are effecting the overal bitrate in a negative
way.  If I include the -qmax 51 or use a preset such as 'hq' whether on a
single pass or two pass the system slams the q to 51 for the whole video
which causes a poor video ( I didnt see this in happen in older releases of
ffmpeg...0.4.9-pre1).  If I exclude the -qmax then it runs as normal and
floats around 31 which is what I typically see in most of our videos.  I see
this behavior whether I am using the latest svn build or the v0.5 release. I
would include the video on a link, but it is nearly 2gig...sorry for that.
Here is an example of what I am seeing:

wopr-2:TEST mgberry$ ffmpeg -i friends_457315.mpg -acodec libfaac -ab 96k
-vcodec libx264 -b 700k -vpre hq OUTPUT.mp4 -t 60
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-libfaad --enable-libfaac --enable-libx264
--enable-libmp3lame --enable-shared --enable-pthreads --enable-gpl
--enable-nonfree
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Aug 10 2009 13:58:21, gcc: 4.0.1 (Apple Inc. build 5493)

(Continue reading)

Andrea Assorgia | 1 Sep 16:25
Picon

Muxing an audio track to obtain a costant dump in case of signal losses

Hello to all,

I'm trying to record a stream from a dvb card, already tuned by tzap.
Usually I would simply copy from /dev/dvb/adapter0/dvr0 and live happy.

The problem is that when there is no signal from the antenna no data is 
dumped on the file. This produces mpeg files shorter than the total 
record time. To explain better: if I schedule a record for 30 minutes 
and during that time some signal loss happen for a total of 10 seconds, 
I'll have a file of 29':50" and no clue of when the missing 10 secs 
would have been.

So I thought of using ffmpeg, live-encoding the stream from 
/dev/dvb/adapter0/dvr0 and adding a silent audio track taken from a 
local file (which doesn't suffer of out-of-signal issues). My idea was 
that if there was a constant source the dumping would continue even if I 
unplugged the antenna from the dvb-card, leaving some seconds of black 
screen, but until now it has proven wrong.

the command line look like this.

ffmpeg -y -i /dev/dvb/adapter0/dvr0 -vcodec copy -acodec copy -map 
0.0:1.0 -map 0.1:1.0 -i silence.mp2 -map 1.0:1.0 -acodec copy 
syncdump.mpg -newaudio

And I've tried also inverting the source file order, declaring the 
silent track as first.

Result is always the same: if video signal is missing the encoded stream 
stops flowing even if there is an audio track available.
(Continue reading)


Gmane