Video to flv conversion

1 view
Skip to first unread message

Crirus

unread,
Nov 4, 2006, 10:17:10 AM11/4/06
to smartAV
Hello

I am trying to use ffmpeg to convert any video format to flv format.
I use standard command line
ffmpeg -i $source -acodec mp3 -f flv -s 320x240 -aspect 4:3 -y $dest

However the swf flash player I have cant play that right.
It keeps restarting the play after a while, going further and further
trough end, though.

I also use flvtool2 -Uc $dest to write meta data, still no luck.

Can anybody suggest me what to do I really need your help as I am
struggling with this for days.

Thank you
Crirus

fastreaming.com

unread,
Nov 4, 2006, 9:15:57 PM11/4/06
to sma...@googlegroups.com
Dear:

 
On 11/4/06, Crirus <cri...@gmail.com> wrote:

Hello

I am trying to use ffmpeg to convert any video format to flv format.
I use standard command line
ffmpeg -i $source -acodec mp3 -f flv -s 320x240 -aspect 4:3 -y $dest
 
Please show me the full output of the command line
 
What is the sample rate of your source file? it should be 22050 or 44100
And what is the FFmpeg version?

However the swf flash player I have cant play that right.
It keeps restarting the play after a while, going further and further
trough end, though.

I also use flvtool2 -Uc $dest to write meta data, still no luck.

Can anybody suggest me what to do I really need your help as I am
struggling with this for days.

Thank you
Crirus



--
Skype: fastreaming
GTalk:  d...@fastreaming.com
MSN:   d...@fastreaming.com
Mail:     co...@fastreaming.com
Name:  Smart Song
Tel:      025-52999297
[Forum]:http://groups-beta.google.com/group/smartAV/
******We are here just for you******

Cristian Rusu

unread,
Nov 5, 2006, 3:44:58 AM11/5/06
to sma...@googlegroups.com
On 11/5/06, fastreaming. com <d...@fastreaming.com> wrote:
 
Please show me the full output of the command line

FFmpeg version SVN-r6606, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --prefix=/usr/local --enable-shared --enable-gpl --enable-mp3lame --enable-xvid --enable-pp --enable-libogg --enable-vorbis --enable-amr_nb --enable-amr_wb

  libavutil version: 49.0.1
  libavcodec version: 51.16.0
  libavformat version: 50.5.0
  built on Oct  9 2006 15:21:37, gcc: 3.4.6 20060404 (Red Hat 3.4.6-3)

Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 30.00 (30/1)
Input #0, flv, from '/var/www/html/test_media/err.flv':
  Duration: 00:00:11.4, start: 0.000000, bitrate: N/A
  Stream #0.0: Audio: mp3, 22050 Hz, stereo
  Stream #0.1: Video: vp6f, yuv420p, 448x336, 30.00 fps(r)
Output #0, flv, to '/var/www/html/test_media/err2.flv':
  Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, 200 kb/s, 30.00 fps(c)
  Stream #0.1: Audio: mp3, 22050 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
Press [q] to stop encoding
frame=  343 q=2.0 Lsize=     571kB time=11.4 bitrate= 409.0kbits/s
video:469kB audio:90kB global headers:0kB muxing overhead 2.224414%
 

What is the sample rate of your source file? it should be 22050 or 44100
And what is the FFmpeg version?

The above should tell you .





--
Sincerely
Cristian Rusu
Programmer & Electronic publisher
www.linktracers.com - Link exchange management
Reply all
Reply to author
Forward
0 new messages