[FFmpeg-user] Quicktime IMX encode failing on v2.1

Steve Kelly steve at aatw.com
Mon Jan 13 20:49:24 CET 2014


> 
> Did you try -video_track_timescale 25 ?
> This helped in ticket #3251
> 

This did not help I’m afraid.

Smaller files on this link: http://we.tl/nAsyxy4Pt9 (6MB for 1 input and 2 output files - one correct output file from ffmpeg1 and the incorrect output from ffmpeg2)


Encode command for ffmpeg2: 

ffmpeg -i "Input_3.mov" -map 0:v -map 0:a -vf "scale=720:576:1,pad=720:608:0:32:black" -c:v mpeg2video -r 25 -pix_fmt yuv422p -minrate 50000k -maxrate 50000k -b:v 50000k -video_track_timescale 25 -intra -flags +ildct+ilme+low_delay -intra_vlc 1 -non_linear_quant 1 -ps 1 -qmin 1 -qmax 3 -top 1 -dc 10 -bufsize 2000000 -rc_init_occupancy 2000000 -rc_buf_aggressivity 0.25 -tag:v mx5p -bsf:v imxdump -c:a pcm_s16le -ar 48000 -y "Output_IMX_ffmpeg2.mov”

Console Output:

ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 12 2014 03:43:26 with gcc 4.2.1 (GCC) 20070831 patched [FeeBSD]
  configuration: --enable-libaacplus --disable-indev=alsa --disable-outdev=alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libass --disable-libcdio --disable-libcelt --enable-libfaac --disable-libfdk-aac --enable-ffserver --enable-fontconfig --disable-libfreetype --enable-frei0r --enable-gnutls --disable-libgsm --enable-iconv --disable-indev=jack --enable-libmp3lame --disable-libbluray --enable-libv4l2 --disable-libmodplug --disable-openal --disable-indev=openal --enable-libopencv --enable-libopenjpeg --disable-libopus --disable-libpulse --disable-indev=pulse --disable-outdev=pulse --disable-librtmp --enable-libschroedinger --disable-libspeex --enable-libtheora --disable-vaapi --disable-vdpau --enable-libvorbis --disable-libvo-aacenc --disable-libvo-amrwbenc --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --enable-memalign-hack --disable-libstagefright-h264 --disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --disable-ffplay --disable-outdev=sdl --enable-nonfree
  libavutil      52. 48.101 / 52. 48.101
  libavcodec     55. 39.101 / 55. 39.101
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Input_3.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2014-01-13 19:29:00
  Duration: 00:00:00.40, start: 0.000000, bitrate: 30462 kb/s
    Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 28800 kb/s, SAR 118:81 DAR 295:162, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2014-01-13 19:29:00
      handler_name    : Apple Alias Data Handler
      timecode        : 01:00:00:00
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2014-01-13 19:29:00
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2014-01-13 19:29:00
      handler_name    : Apple Alias Data Handler
      timecode        : 01:00:00:00
Output #0, mov, to 'Output_IMX_ffmpeg2.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    encoder         : Lavf55.19.104
    Stream #0:0(eng): Video: mpeg2video (mx5p / 0x7035786D), yuv422p, 720x608 [SAR 118:81 DAR 295:171], q=1-3, 50000 kb/s, 25 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2014-01-13 19:29:00
      handler_name    : Apple Alias Data Handler
      timecode        : 01:00:00:00
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2014-01-13 19:29:00
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (dvvideo -> mpeg2video)
  Stream #0:1 -> #0:1 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help
frame=   10 fps=0.0 q=1.6 Lsize=    2519kB time=00:00:00.40 bitrate=51580.7kbits/s    
video:2441kB audio:75kB subtitle:0 global headers:0kB muxing overhead 0.086813%







More information about the ffmpeg-user mailing list