Results 1 to 6 of 6

Thread: Conversion makes things bigger. Loads bigger

  1. #1
    Join Date
    Jan 2010
    Beans
    108
    Distro
    Ubuntu 10.04 Lucid Lynx

    Conversion makes things bigger. Loads bigger

    I've tried using the following command on an .avi file of around 300MB.

    Code:
    ffmpeg -i S01E01.avi -target film-dvd output.mov
    The file output.mov reached a size of nearly 600MB before I pulled the plug on it.
    Is there a way to keep quality, without making each file huge?

    Thanks in advance,
    Jake

  2. #2
    Join Date
    Dec 2006
    Beans
    7,312

    Re: Conversion makes things bigger. Loads bigger

    Hi Jake,

    Can I ask what sort of conversion you are trying to do, and the results of the following command:
    Code:
    ffmpeg -i S01E01.avi
    Andrew
    You think that's air you're breathing now?

  3. #3
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Conversion makes things bigger. Loads bigger

    "-target film-dvd" would give you MPEG2 compression, as used on DVD's. That will result in pretty large file. Your original file most likely uses some more modern compression.

    Actually depending on what compression your original file uses, you probably don't want to recompress it at all but simply demux it from .avi container into .mov container. Much quicker, and doesn't change the video quality.

  4. #4
    Join Date
    Jan 2010
    Beans
    108
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conversion makes things bigger. Loads bigger

    output of ffmpeg -i as requested

    Code:
    ffmpeg -i S01E01.avi > output.txt
    FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
      configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
      libavutil     49.15. 0 / 49.15. 0
      libavcodec    52.20. 1 / 52.20. 1
      libavformat   52.31. 0 / 52.31. 0
      libavdevice   52. 1. 0 / 52. 1. 0
      libavfilter    0. 4. 0 /  0. 4. 0
      libswscale     0. 7. 1 /  0. 7. 1
      libpostproc   51. 2. 0 / 51. 2. 0
      built on Mar  4 2010 12:35:30, gcc: 4.4.3
    Input #0, avi, from 'S01E01.avi':
      Duration: 00:28:35.69, start: 0.000000, bitrate: 1338 kb/s
        Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 29.97 tbr, 29.97 tbn, 29.97 tbc
        Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
    At least one output file must be specified

  5. #5
    Join Date
    Dec 2006
    Beans
    7,312

    Re: Conversion makes things bigger. Loads bigger

    Hi Jake,

    If you want a mov container then it should be easy as the following codecs:

    Code:
    Stream #0.0: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
    live quite happily in .mov. As mcduck has suggested a simple demux / remux should do the job:

    Code:
    ffmpeg -i S01E01.avi -acodec copy -vcodec copy S01E01.mov
    Andrew
    You think that's air you're breathing now?

  6. #6
    Join Date
    Jan 2010
    Beans
    108
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conversion makes things bigger. Loads bigger

    Code:
    Stream mapping:
      Stream #0.0 -> #0.0
      Stream #0.1 -> #0.1
    [mov @ 0x98c7ed0]track 1: codec frame size is not set
    Could not write header for output file #0 (incorrect codec parameters ?)
    Is what happens now.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •