[FFmpeg-user] converting to non HD avi with ffmpeg

Kevin Wilson wkevils at gmail.com
Thu Sep 13 04:18:20 CEST 2012


Hi, Lou.

Thanks!

I have tried:
 ffmpeg -i ubunutuArm.webm  -filter:v scale=640:-1 -q:v 3 ubunutuArmNonHD.avi

And when loading the avi in a DVD I still get the HD error.

I tried to fetch the avi properties, and this is what I got:


ffmpeg -i ubunutuArmNonHD.avi

ffmpeg version 0.10.4 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 20 2012 22:00:57 with gcc 4.7.0 20120507 (Red Hat 4.7.0-5)
  configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls
--enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394
--disable-indev=jack --enable-libfreetype --enable-libgsm
--enable-libmp3lame --enable-openal --enable-libopenjpeg
--enable-libpulse --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid
--enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads
--disable-static --enable-shared --enable-gpl --disable-debug
--disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, avi, from 'ubunutuArmNonHD.avi':
  Metadata:
    encoder         : Lavf53.32.100
  Duration: 00:52:24.77, start: 0.000000, bitrate: 747 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46),
yuv420p, 640x360 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo,
s16, 128 kb/s
At least one output file must be specified


So any idea:
1) Is this avi is HD or not ? could it be something in the header ?

2)  what should I do to create non HD avi ?

regards,
Kevin

On Tue, Sep 11, 2012 at 9:35 PM, Lou <lou at lrcd.com> wrote:
> On Tue, 11 Sep 2012 13:25:21 +0300
> Kevin Wilson <wkevils at gmail.com> wrote:
>
>> Hi,
>> I have downloaded from the web a video file with webm extension:
>> ubunutuArm.webm (some lecture in video)
>>
>> Now, I converted it to avi thus:
>> ffmpeg -i ubunutuArm.webm ubunutuArm.avi
>>
>> and put the ubunutuArm.avi on disk On Key.
>> When trying to view it on TV with a DVD I see this
>> messsage:
>> "HD is not supported".
>> Indeed, HD is not supported in my DVD and TV.
>> Is there a way I can convert this video file with ffmpeg
>> to an AVI so the result will be non HD ?
>
> ffmpeg -i input -filter:v scale=640:-1 -q:v 3 output
>
> I added the scale filter which will create an output that is 640 pixels
> wide and the height will be automatically calculated to preserve the
> aspect ratio. Of course you can change 640 to whatever desired width
> you want. You can also switch the position of the -1 and provide a
> desired height.
>
> The other addition controls the output quality to something probably
> better than the default of "-b:v 200k".
>
>> (Second question: given some avi file, is there a way
>> I can know whether it is in HD or not ?)
>
> You can see the size of a video stream with the output of:
> ffmpeg -i input
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list