encode flv to mpeg2 video

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

encode flv to mpeg2 video

Muhammad Irfan
Hi i am encoding flv video to avi format using mpeg2 codec using command
shown below

D:\ffmpeg3>ffmpeg -i video2.flv -vcodec mpeg2 -b 9800k -ar 48000 -ab 1536 -y
videotest.avi
FFmpeg version SVN-r10461, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-memalign-hack --enable-libamr-nb
--enable-libamr-wb --
enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libogg
--enable-libt
heora --enable-libvorbis --enable-shared --disable-static --enable-liba52
--enab
le-libx264 --enable-libxvid --enable-libfaad --enable-swscaler --enable-gpl
--en
able-avisynth --cpu=i686 --enable-pthreads
  libavutil version: 49.5.0
  libavcodec version: 51.43.0
  libavformat version: 51.12.2
  built on Sep 11 2007 01:30:32, gcc: 4.2.1-sjlj (mingw32-2)

Seems stream 0 codec frame rate differs from container frame rate: 1000.00(1000
/1) -> 23.98 (24000/1001)
Input #0, flv, from 'video2.flv':
  Duration: 00:02:24.2, start: 0.000000, bitrate: 32 kb/s
  Stream #0.0: Video: vp6f, yuv420p, 320x256, 23.98 fps(r)
  Stream #0.1: Audio: mp3, 22050 Hz, stereo, 32 kb/s
Unknown encoder 'mpeg2'

But Unknow encoder 'mpeg2' arises, please can anyone tell me how i use
command to encode flv video to avi using mpeg2 codec.

Best Regards.
--
Muhammad Irfan
Solution Architect, Senior Web Developer
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: encode flv to mpeg2 video

Yohann Martineau-2
Le mardi 08 janvier 2008 à 01:31 +0500, Muhammad Irfan a écrit :

> Hi i am encoding flv video to avi format using mpeg2 codec using command
> shown below
>
> D:\ffmpeg3>ffmpeg -i video2.flv -vcodec mpeg2 -b 9800k -ar 48000 -ab 1536 -y
> videotest.avi
> FFmpeg version SVN-r10461, Copyright (c) 2000-2007 Fabrice Bellard, et al.
>   configuration: --enable-memalign-hack --enable-libamr-nb
> --enable-libamr-wb --
> enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libogg
> --enable-libt
> heora --enable-libvorbis --enable-shared --disable-static --enable-liba52
> --enab
> le-libx264 --enable-libxvid --enable-libfaad --enable-swscaler --enable-gpl
> --en
> able-avisynth --cpu=i686 --enable-pthreads
>   libavutil version: 49.5.0
>   libavcodec version: 51.43.0
>   libavformat version: 51.12.2
>   built on Sep 11 2007 01:30:32, gcc: 4.2.1-sjlj (mingw32-2)
>
> Seems stream 0 codec frame rate differs from container frame rate: 1000.00(1000
> /1) -> 23.98 (24000/1001)
> Input #0, flv, from 'video2.flv':
>   Duration: 00:02:24.2, start: 0.000000, bitrate: 32 kb/s
>   Stream #0.0: Video: vp6f, yuv420p, 320x256, 23.98 fps(r)
>   Stream #0.1: Audio: mp3, 22050 Hz, stereo, 32 kb/s
> Unknown encoder 'mpeg2'
>
> But Unknow encoder 'mpeg2' arises, please can anyone tell me how i use
> command to encode flv video to avi using mpeg2 codec.

use mpeg2video, not mpeg2. To know the available codecs and formats type
ffmpeg -formats


>
> Best Regards.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user