[FFmpeg-user] How to convert mov to avi or mp4 without loss of quality

Guido Van Hoecke guivho at gmail.com
Wed Dec 25 19:24:28 CET 2013


Hi Gabri,

Let me start by wishing you a Merry Christmas!

> has you try: -i input.mov -c copy output.mp4?

Tried it, but it does fail:

> please provide us your usage command line n uncut console output.

$ ffmpeg -i 131003094512.mov -c copy 131003094512.mp4
ffmpeg version 1.1.3-tessus Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 23 2013 06:45:07 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
  configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --enable-runtime-cpudetect
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '131003094512.mov':
$
  Metadata:
    major_brand     : qt
    minor_version   : 537331968
$
    compatible_brands: qt  CAEP
    creation_time   : 2013-10-03 07:45:12
  Duration: 00:00:47.92, start: 0.000000, bitrate: 34232 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p, 1920x1080, 33447 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 48k tbc
    Metadata:
      creation_time   : 2013-10-03 07:45:12
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2013-10-03 07:45:12
[mp4 @ 0x103008600] track 1: could not find tag, codec not currently supported in container
Output #0, mp4, to '131003094512.mp4':
  Metadata:
    major_brand     : qt
    minor_version   : 537331968
    compatible_brands: qt  CAEP
    encoder         : Lavf54.59.106
    Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuvj420p, 1920x1080, q=2-31, 33447 kb/s, 23.98 fps, 24k tbn, 24k tbc
    Metadata:
      creation_time   : 2013-10-03 07:45:12
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, 768 kb/s
    Metadata:
      creation_time   : 2013-10-03 07:45:12
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted

$

Please advise


Guido

--
When my brain begins to reel from my
literary labors, I make an occasional cheese dip.
		-- Ignatius Reilly


More information about the ffmpeg-user mailing list