Opened 8 years ago

Closed 8 years ago

#5744 closed defect (needs_more_info)

Error when converting mov to mp4 "ratecontrol_init: can't open stats file" , "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"

Reported by: Office Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: libx264
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: IM trying to convert MOV into MP4 and i get an error
How to reproduce:

'/usr/local/bin/ffmpeg' '-y' '-i' 'path/to/1469632358_capturedvideo.mov' '-vcodec' 'libx264' '-acodec' 'libfaac' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-pass' '1' '-passlogfile' '/tmp/ffmpeg-passes579a174a2b24flxji2/pass-579a174a2b342' 'path/to/1469632358_capturedvideo.mp4'

ffmpeg version N-43945-g65b2feb Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 51.100 / 57. 51.100
  libavformat    57. 44.100 / 57. 44.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 49.100 /  6. 49.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/path/to/1469632358_capturedvideo.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2016-07-27 15:11:59
    com.apple.quicktime.make: Apple
    com.apple.quicktime.software: 9.3.3
    com.apple.quicktime.model: iPhone 5s
    com.apple.quicktime.creationdate: 2016-07-27T11:11:58-0400
  Duration: 00:00:03.20, start: 0.000000, bitrate: 535 kb/s
    Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt709/bt709), 480x360, 459 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
    Metadata:
      rotate          : 90
      creation_time   : 2016-07-27 15:11:59
      handler_name    : Core Media Data Handler
      encoder         : H.264
    Side data:
      displaymatrix: rotation of -90.00 degrees
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 kb/s (default)
    Metadata:
      creation_time   : 2016-07-27 15:11:59
      handler_name    : Core Media Data Handler
[libx264 @ 0x3cc1b40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x3cc1b40] ratecontrol_init: can't open stats file
Output #0, mp4, to 'path/to/1469632358_capturedvideo.mp4':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    com.apple.quicktime.creationdate: 2016-07-27T11:11:58-0400
    com.apple.quicktime.make: Apple
    com.apple.quicktime.software: 9.3.3
    com.apple.quicktime.model: iPhone 5s
    Stream #0:0(und): Unknown: none (default)
    Metadata:
      handler_name    : Core Media Data Handler
      creation_time   : 2016-07-27 15:11:59
      encoder         : Lavc57.51.100 libx264
    Stream #0:1(und): Unknown: none (default)
    Metadata:
      creation_time   : 2016-07-27 15:11:59
      handler_name    : Core Media Data Handler
      encoder         : Lavc57.51.100 libfaac
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (libfaac))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (2)

comment:1 by Carl Eugen Hoyos, 8 years ago

Keywords: ratecontrol_init: removed
Priority: importantnormal

Can you reproduce with a binary linked from our download page?

comment:2 by Carl Eugen Hoyos, 8 years ago

Resolution: needs_more_info
Status: newclosed

Please reopen this ticket if you can provide more information.

Note: See TracTickets for help on using tickets.