John Brown | 1 May 01:40
Picon

Re: How to compile ffmpeg with --enable-amr-nb

Meryl Silverburgh <silverburgh.meryl <at> gmail.com> writes:

> 
> Hi,
> 
>> 1. unzip the amr source code and put it in 'amr_float' under
> '/ffmpeg/libavcodec'.
> 2. $ ./configure --enable-amr-nb
> 
> $ ./configure --enable-amr-nb
> ERROR: libamrnb not found

You really should search the archives before posting. This question was asked
and answered a few days ago.
Sanjay Seth | 1 May 03:44
Picon

MOV to flv conversion -- Unsupported Codec Error

Hello:

I am trying to encode a MOV file to flv. But I am getting following error:

=========================================================
[test_media]$ ffmpeg -i grad.mov -s 480x360 -b 750k -ar 44100 -y grad.flv
FFmpeg version SVN-r8113, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-shared --enable-xvid --enable-libvorbis
--enable-libogg --enable-libmp3lame --enable-gpl --enable-libfaad
--enable-libfaac --enable-liba52 --enable-x264 --enable-amr_nb --enable-pp
  libavutil version: 49.3.0
  libavcodec version: 51.34.0
  libavformat version: 51.10.0
  built on Feb 26 2007 15:19:08, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'grad.mov':
  Duration: 00:01:41.5, start: 0.000000, bitrate: 14280 kb/s
  Stream #0.0(eng): Video: Motion JPEG OpenDML, 640x480, 30.00 fps(r)
  Stream #0.1(eng): Audio: pcm_u8, 11024 Hz, mono, 88 kb/s
PIX_FMT_YUV420P will be used as an intermediate format for rescaling
Output #0, flv, to 'grad.flv':
  Stream #0.0: Video: flv, yuv420p, 480x360, q=2-31, 750 kb/s, 30.00 fps(c)
  Stream #0.1: Audio: mp3, 44100 Hz, mono, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[flv @ 0x4631e8]removing common factors from framerate
Unsupported codec (id=0) for input stream #0.0
==============================================

Please help. Thanks.
(Continue reading)

Huss | 1 May 07:02
Picon
Favicon

-vol option

What is the maximum value for this option? I have set it to 500 and have no noticable increase. I have searched
quite a bit and cant seem to find any documentation on this option.

Thank you

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
Meryl Silverburgh | 1 May 07:14
Picon

Re: How to compile ffmpeg with --enable-amr-nb

On 4/30/07, John Brown <johnbrown105 <at> hotmail.com> wrote:
> Meryl Silverburgh <silverburgh.meryl <at> gmail.com> writes:
>
> >
> > Hi,
> >
> >> 1. unzip the amr source code and put it in 'amr_float' under
> > '/ffmpeg/libavcodec'.
> > 2. $ ./configure --enable-amr-nb
> >
> > $ ./configure --enable-amr-nb
> > ERROR: libamrnb not found
>
> You really should search the archives before posting. This question was asked
> and answered a few days ago.
>
>
>

Thanks. I tried your suggestion.

1. I get amrwb-7.0.0.0 and 'make' and 'make install'.
2. I checkout ffmpeg from svn again
3. I run './configure --enable-libfaac --enable-amr-wb'
4. I run 'make' again.

But i now get the following compile error:

In file included from amr.c:66:
avcodec.h:2482: warning: 'ImgReSampleContext' is deprecated
(Continue reading)

Benoit Fouet | 1 May 11:18

Re: FLV Options

Hi,

Chris Nagele wrote:
> Are there any recommended settings for converting to an FLV that will play
> in a Flash Video player? I am using the following commands to process my
> files. For some reason, on a WMV file the player stops playing at 40
> seconds. I tried playing the same file on a desktop player and it was fine.
>
> ffmpeg -y -i input.wmv -vcodec flv -r 25 -b 400k -s 320x240 -acodec mp3 -ab
> 96 output.flv
>
>   
when asking for help, you should always post the entire output (copying
and pasting it), so that we can help you on the ffmpeg part...
here, for instance, i would advise using -ab 96k

> flvtool2 -U output.flv
>
> I am guessing this has more to do with FLVTool2, but has anyone had more or
> less success with specific ffmpeg commands for FLV files?
>   
Ben
John Brown | 1 May 12:08
Picon

Re: How to compile ffmpeg with --enable-amr-nb

Meryl Silverburgh <silverburgh.meryl <at> gmail.com> writes:

> 
> 1. I get amrwb-7.0.0.0 and 'make' and 'make install'.
> 2. I checkout ffmpeg from svn again
> 3. I run './configure --enable-libfaac --enable-amr-wb'
> 4. I run 'make' again.
> 
> But i now get the following compile error:
> 
<cut>
> amr.c:80:30: error: amrnb/interf_dec.h: No such file or directory
> amr.c:81:30: error: amrnb/interf_enc.h: No such file or directory
<cut>

1) To be safe, run 'make distclean' before you configure again

1) Note that there are two AMR codecs; amrWB and amrNB. Decide which one you
want and set your --enable-amr-xx options accordingly. Of course, you can
install both.
Favicon

mjpeg audio and video stream

hi,

Problem:
I have some mjpeg files with broken header from my canon photocamera.
I'm now able to get the video stream throgh a nice suggestion from 
mplayer mailing list suggesting to force a specific demuxer for my file.
(Reimar Döffinger: mplayer -demuxer lavf -lavfdopts format=mjpeg 
MVI_3011.avi)
But no way to get audio stream.

Question: is there a way to get the audio via ffmpeg?

Ps. if usefull i may upload a sample file..

thank you
daniele
Matt Hempel | 1 May 15:25
Picon

converting audio from a dumped WMV stream

I've dumped an audio stream from a Windows Media server into an ASF file.

I'm trying to convert the wmav2 audio into mp3, but can't get it to
work.  The below command returns immediately, having produced a
zero-length file.

Note the reported duration, start and bitrate, as well as the second
stream with "invalid codec".

mhempel <at> mhempel-desktop:~/howard$ ffmpeg -i dumpfile.asf dumpfile.mp3
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-gpl --enable-pp --enable-pthreads
--enable-vorbis --enable-libogg --enable-a52 --enable-dts
--enable-libgsm --enable-dc1394 --disable-debug --enable-shared
--prefix=/usr
  libavutil version: 0d.49.0.0
  libavcodec version: 0d.51.11.0
  libavformat version: 0d.50.5.0
  built on Sep 20 2006 00:26:15, gcc: 4.1.2 20060906 (prerelease)
(Ubuntu 4.1.1-13ubuntu2)
Input #0, asf, from 'dumpfile.asf':
  Duration: 00:00:-3.0, start: 3.065000, bitrate: -4500 kb/s
  Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 48 kb/s
  Stream #0.1: Invalid Codec type -1
Output #0, mp2, to 'dumpfile.mp3':
  Stream #0.0: Audio: mp2, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
size=       0kB time=10000000000.0 bitrate=   0.0kbits/s
(Continue reading)

Godwin Stewart | 1 May 15:34
Picon

Re: converting audio from a dumped WMV stream

On Tue, 1 May 2007 06:25:35 -0700, "Matt Hempel"
<matthew.hempel <at> gmail.com> wrote:

> FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard

Far too old. Grab the latest source in a clean directory and rebuild.

http://ffmpeg.mplayerhq.hu/download.html

--
G. Stewart
gstewart <at> lamproie.eu
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user <at> mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Baptiste Coudurier | 1 May 15:45
Favicon

Re: MOV to flv conversion -- Unsupported Codec Error

Hi

Sanjay Seth wrote:
> Hello:
> 
> I am trying to encode a MOV file to flv. But I am getting following error:
> 
> =========================================================
> [test_media]$ ffmpeg -i grad.mov -s 480x360 -b 750k -ar 44100 -y grad.flv
> FFmpeg version SVN-r8113, Copyright (c) 2000-2007 Fabrice Bellard, et al.
>   configuration: --enable-shared --enable-xvid --enable-libvorbis
> --enable-libogg --enable-libmp3lame --enable-gpl --enable-libfaad
> --enable-libfaac --enable-liba52 --enable-x264 --enable-amr_nb --enable-pp
>   libavutil version: 49.3.0
>   libavcodec version: 51.34.0
>   libavformat version: 51.10.0
>   built on Feb 26 2007 15:19:08, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'grad.mov':
>   Duration: 00:01:41.5, start: 0.000000, bitrate: 14280 kb/s
>   Stream #0.0(eng): Video: Motion JPEG OpenDML, 640x480, 30.00 fps(r)
>   Stream #0.1(eng): Audio: pcm_u8, 11024 Hz, mono, 88 kb/s
> PIX_FMT_YUV420P will be used as an intermediate format for rescaling
> Output #0, flv, to 'grad.flv':
>   Stream #0.0: Video: flv, yuv420p, 480x360, q=2-31, 750 kb/s, 30.00 fps(c)
>   Stream #0.1: Audio: mp3, 44100 Hz, mono, 64 kb/s
> Stream mapping:
>   Stream #0.0 -> #0.0
>   Stream #0.1 -> #0.1
> [flv @ 0x4631e8]removing common factors from framerate
> Unsupported codec (id=0) for input stream #0.0
(Continue reading)


Gmane