Ryan Capers | 1 Dec 04:41
Picon

Re: Quicktime (.mov) Conversion to .FLV Issues

On 11/30/06, Godwin Stewart <godwin.stewart <at> gmail.com> wrote:
>
> On Thu, 30 Nov 2006 12:52:41 -0500, "Ryan Capers" <rcapers <at> gmail.com>
> wrote:
>
> > Is this as simple as finding these libraries and including them
> > somewhere in the appropriate source directory prior to compiling?
> >
> > ERROR: libfaad not found
> >
> > ERROR: libfaac not found
>
> You'll have to install these libraries and, depending on which distro
> you're using, the "-devel" packages too. Once that's done, rebuild
> ffmpeg.
>
> --
> G. Stewart - godwin.stewart <at> gmail.com
>
> A grammarian's life is always intense.
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user <at> mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
>
> I finally have ffmpeg all built correctly and working WONDERFUL from the
> command line, however I cannot for the life of me get it to work from within
> PHP
(Continue reading)

Godwin Stewart | 1 Dec 07:51
Picon

Re: Quicktime (.mov) Conversion to .FLV Issues

On Thu, 30 Nov 2006 22:41:00 -0500, "Ryan Capers" <rcapers <at> gmail.com>
wrote:

> I am using the following command
>
> <?
> $action = "/usr/local/bin/ffmpeg -i
> /var/www/vhosts/thebizbox.com/httpdocs/videos/bizvideo_31_283322178.mpg
> -acodec mp3 -ar 44100 -ab 32 -ac 1 -f flv -b 600
> /var/www/vhosts/thebizbox.com/httpdocs/videos/bizvideo_31_203704377846.flv";
> exec($action);
> ?>
>
> Can anyone tell me why this is not executing?

Not without seeing the output of the command, no - although most likely
is the video codec in the original .mpg file being incompatible with
the .flv output. Have you tried adding an appropriate -vcodec option?

BTW, do you really want a movie at 600 bits/s video bitrate?

--
G. Stewart - godwin.stewart <at> gmail.com

If you don't pay your exorcist, do you get repossessed?
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user <at> mplayerhq.hu
(Continue reading)

Ryan Capers | 1 Dec 07:55
Picon

Re: Quicktime (.mov) Conversion to .FLV Issues

On 12/1/06, Godwin Stewart <godwin.stewart <at> gmail.com> wrote:
>
> On Thu, 30 Nov 2006 22:41:00 -0500, "Ryan Capers" <rcapers <at> gmail.com>
> wrote:
>
> > I am using the following command
> >
> > <?
> > $action = "/usr/local/bin/ffmpeg -i
> > /var/www/vhosts/thebizbox.com/httpdocs/videos/bizvideo_31_283322178.mpg
> > -acodec mp3 -ar 44100 -ab 32 -ac 1 -f flv -b 600
> >
> /var/www/vhosts/thebizbox.com/httpdocs/videos/bizvideo_31_203704377846.flv";
> > exec($action);
> > ?>
> >
> > Can anyone tell me why this is not executing?
>
> Not without seeing the output of the command, no - although most likely
> is the video codec in the original .mpg file being incompatible with
> the .flv output. Have you tried adding an appropriate -vcodec option?
>
> BTW, do you really want a movie at 600 bits/s video bitrate?
>
> --
> G. Stewart - godwin.stewart <at> gmail.com
>
> If you don't pay your exorcist, do you get repossessed?
>
>
(Continue reading)

Godwin Stewart | 1 Dec 08:19
Picon

Re: Quicktime (.mov) Conversion to .FLV Issues

On Fri, 1 Dec 2006 01:55:12 -0500, "Ryan Capers" <rcapers <at> gmail.com>
wrote:

> > BTW, do you really want a movie at 600 bits/s video bitrate?
>
> What is a better bitrate to use for conversion to flv?  Thanks by the
> way :)

Something a lot higher than under 1 kilobit per second!

My point was, the argument to the "-b" option is expressed in bits/s,
not in kbit/s as it used to be in much older versions of ffmpeg.

Also, thanks for no longer top-posting, but please learn to trim out
unneccessary material (including everything under the signature
delimiter if your mailer can't do it automatically) as well.

--
G. Stewart - godwin.stewart <at> gmail.com

All parts should go together without forcing.  You must remember that
the parts you are reassembling were disassembled by you.  Therefore, if
you can't get them together again, there must be a reason.  By all
means, do not use a hammer.
                -- IBM maintenance manual, 1925
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user <at> mplayerhq.hu
(Continue reading)

Gabriele Greco | 1 Dec 10:01
Picon

Apply a 25fps audio to a 23.976 fps video

It's possible to do this in one pass with ffmpeg?

I've googled around and I've seen a patch that added the option -spc
23976:25000 in one mailing list but it seems it didn't reach the official
ffmpeg and I'm not able to find the patch anywhere (the ml archives remove
the file attachments).

Anyway there is another way to do so without using external program to do
it?

It will be ok also to change the fps of the video without recoding it. I've
tried the following command line to do so but it doesn't work, still produce
a not synchronized movie with 23.976fps video and 25fps audio:

ffmpeg -i video.avi -i new_audio.mp3 -vcodec copy -r 25 dest.avi  -map 0.0:
0.0 -map 1.0:0.1

--

-- 
Bye,
Gabry
Godwin Stewart | 1 Dec 10:19
Picon

Re: Apply a 25fps audio to a 23.976 fps video

On Fri, 1 Dec 2006 10:01:44 +0100, "Gabriele Greco"
<gabrielegreco <at> gmail.com> wrote:

> ffmpeg -i video.avi -i new_audio.mp3 -vcodec copy -r 25 dest.avi
> -map 0.0: 0.0 -map 1.0:0.1

Try putting the "-map" options *before* the output clause.

$ ffmpeg -i video.avi -i new_audio.mp3 -vcodec copy -r 25 \
  -map 0.0 -map 1.0 -f avi dest.avi

--
G. Stewart - godwin.stewart <at> gmail.com

God prefers spiritual fruit, not religious nuts...
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user <at> mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Mike | 1 Dec 10:24
Picon
Gravatar

Re: Poor quality (flashing images etc) from /dev/video

On Thu, 2006-11-30 at 10:31 +0100, Godwin Stewart wrote:
> On Thu, 30 Nov 2006 00:24:44 +0000, Mike <mike <at> redtux.org.uk> wrote:
> 
> > When I try to record from vcr I am getting very bad flashbacks banding
> > etc.
> 
> Are you trying to capture tapes you've recorded yourself or tapes
> bought prerecorded? The latter have a copy protection system on them
> that can give, among other things, this kind of problem.
> 
At present self-recorded tapes only.

For info streamer does record acceptably on the same tapes

Up to a few weeks ago ffmpeg did record the video

> --
> G. Stewart - godwin.stewart <at> gmail.com
> 
> Give a man a fish and he will eat for a day. Teach him how to fish, and
> he will sit in a boat and drink beer all day.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user <at> mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Gabriele Greco | 1 Dec 12:57
Picon

Re: Apply a 25fps audio to a 23.976 fps video

> > ffmpeg -i video.avi -i new_audio.mp3 -vcodec copy -r 25 dest.avi
> > -map 0.0: 0.0 -map 1.0:0.1
>
> Try putting the "-map" options *before* the output clause.
>
> $ ffmpeg -i video.avi -i new_audio.mp3 -vcodec copy -r 25 \
>   -map 0.0 -map 1.0 -f avi dest.avi

Thanks for the answer, but this command line give the exact result of mine,
here is a dump of what ffmpeg writes:

Seems that stream 0 comes from film source: 23.98 (65535/2733) ->
23.98(24000/1001)
Input #0, avi, from 'H-1x01.avi':
  Duration: 00:43:17.1, start: 0.000000, bitrate: 1127 kb/s
  Stream #0.0: Video: mpeg4, yuv420p, 640x352, 23.98 fps(r)
  Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
Input #1, mp3, from 'H-1x01-ITA-25fps.mp3':
  Duration: 00:41:30.7, start: 0.000000, bitrate: 128 kb/s
  Stream #1.0: Audio: mp3, 48000 Hz, stereo, 128 kb/s
Output #0, avi, to 'Test.avi':
  Stream #0.0: Video: mpeg4, yuv420p, 640x352, q=2-31, 23.98 fps(c)
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1

--

-- 
Bye,
Gabry
(Continue reading)

deadhead | 1 Dec 15:39
Picon

Watermark problem

Hi, I'm trying to watermark a video, but using latest SVN version I
got this error:

./bin/ffmpeg -i 25.flv -vhook './lib/vhook/watermark.so -f logo.gif -m
0 -t ffffff' -b 8000k 25_watermark.flv
FFmpeg version SVN-r7189, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --enable-mp3lame --enable-faac --enable-faad
--enable-gpl --prefix=/tmp/xyz --extra-cflags=-Os -pipe --cpu=pentium4
  libavutil version: 49.1.0
  libavcodec version: 51.25.0
  libavformat version: 51.6.0
  built on Dec  1 2006 10:34:35, gcc: 4.1.1 (Gentoo 4.1.1-r1)

Seems that stream 0 comes from film source: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from '25.flv':
  Duration: 00:01:30.2, start: 0.000000, bitrate: 96 kb/s
  Stream #0.0: Video: flv, yuv420p, 384x288, 25.00 fps(r)
  Stream #0.1: Audio: mp3, 44100 Hz, mono, 96 kb/s
[mp3 @ 0x8425114]Could not find codec parameters (Audio: mp1, 160 kb/s)
get_watermark_picture() Failed to find stream info
Failed to Configure ./lib/vhook/watermark.so
Failed to add video hook function: ./lib/vhook/watermark.so -f
logo.gif -m 0 -t ffffff

Is there anything I can do about it?

Thank you for any help you could give me!

cheers

(Continue reading)

Michael Ransburg | 1 Dec 15:43
Picon

Encode MJPG with raw audio to DIVX / MP3?

Hi all,

I've just started with ffmpeg and I'm quite overwhelmed by its
possibilities. I would like to use it to encode the video from my camera
(MJPG <at> VGA <at> 30FP with stereo "araw" audio codec at 44khz with 16 bits/sample)
to very high quality MPEG-4 (DIVX, XVID, ...).

Can anyone give me a jumpstart with regards to the necessary command line
options?

Many thanks,
Michael

Gmane