[FFmpeg-user] Converting to prores problem

Boštjan Strojan bostjan.strojan at gmail.com
Mon Nov 11 13:39:10 CET 2013


Having some problems while converting certain avi files to prores.mov;

ffmpeg started on 2013-11-11 at 13:11:51
Report written to "ffmpeg-20131111-131151.log"
Command line:
/Volumes/Raid/brontosaurusrex/ffdrop/ffdrop14dev/ffmpeg/ffmpeg -report
-i /Volumes/Raid/capturitis/file_copy.avi -c:v prores -profile:v 3
-pix_fmt yuv422p10le -acodec pcm_s16le
/Volumes/Raid/capturitis/file_copy_prores.mov
ffmpeg version N-57300-g2f9422d Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 21 2013 22:15:31 with Apple clang version 4.1
(tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
  configuration: --prefix=/Volumes/tempdisk/sw --enable-gpl
--enable-libx264 --cc=clang --enable-runtime-cpudetect
  libavutil      52. 47.101 / 52. 47.101
  libavcodec     55. 37.102 / 55. 37.102
  libavformat    55. 19.103 / 55. 19.103
  libavdevice    55.  4.100 / 55.  4.100
  libavfilter     3. 88.102 /  3. 88.102
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '-i' ... matched as input file with argument
'/Volumes/Raid/capturitis/file_copy.avi'.
Reading option '-c:v' ... matched as option 'c' (codec name) with
argument 'prores'.
Reading option '-profile:v' ... matched as option 'profile' (set
profile) with argument '3'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
format) with argument 'yuv422p10le'.
Reading option '-acodec' ... matched as option 'acodec' (force audio
codec ('copy' to copy stream)) with argument 'pcm_s16le'.
Reading option '/Volumes/Raid/capturitis/file_copy_prores.mov' ...
matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file /Volumes/Raid/capturitis/file_copy.avi.
Successfully parsed a group of options.
Opening an input file: /Volumes/Raid/capturitis/file_copy.avi.
[avi @ 0x7f91b281ec00] Format avi probed with size=2048 and score=100
[avi @ 0x7f91b2403e80] use odml:1
[avi @ 0x7f91b281ec00] File position before avformat_find_stream_info() is 10208
[avi @ 0x7f91b281ec00] parser not found for codec pcm_s16le, packets
or times may be invalid.
[mpeg2video @ 0x7f91b2827200] Invalid frame dimensions 0x0.
[avi @ 0x7f91b281ec00] parser not found for codec pcm_s16le, packets
or times may be invalid.
[avi @ 0x7f91b281ec00] Probe buffer size limit of 5000000 bytes reached
rfps: 24.583333 0.018125
rfps: 24.583333 0.018125
rfps: 24.666667 0.011600
rfps: 24.666667 0.011600
rfps: 24.750000 0.006525
rfps: 24.750000 0.006525
rfps: 24.833333 0.002900
rfps: 24.833333 0.002900
rfps: 24.916667 0.000725
rfps: 24.916667 0.000725
rfps: 25.000000 0.000000
rfps: 25.083333 0.000725
rfps: 25.083333 0.000725
rfps: 25.166667 0.002900
rfps: 25.166667 0.002900
rfps: 25.250000 0.006525
rfps: 25.250000 0.006525
rfps: 25.333333 0.011600
rfps: 25.333333 0.011600
rfps: 25.416667 0.018125
rfps: 25.416667 0.018125
rfps: 49.583333 0.018125
rfps: 49.583333 0.018125
rfps: 49.666667 0.011600
rfps: 49.666667 0.011600
rfps: 49.750000 0.006525
rfps: 49.750000 0.006525
rfps: 49.833333 0.002900
rfps: 49.833333 0.002900
rfps: 49.916667 0.000725
rfps: 49.916667 0.000725
rfps: 50.000000 0.000000
rfps: 50.083333 0.000725
rfps: 50.083333 0.000725
rfps: 50.166667 0.002900
rfps: 50.166667 0.002900
rfps: 50.250000 0.006525
rfps: 50.250000 0.006525
rfps: 50.333333 0.011600
rfps: 50.333333 0.011600
rfps: 50.416667 0.018125
rfps: 50.416667 0.018125
[avi @ 0x7f91b281ec00] File position after avformat_find_stream_info()
is 5025456
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from '/Volumes/Raid/capturitis/file_copy.avi':
  Metadata:
    encoder         : Lavf55.19.103
    timecode        : 10:00:00.04
  Duration: 00:01:03.44, start: 0.000000, bitrate: 71051 kb/s
    Stream #0:0, 29, 1/25: Video: mpeg2video (4:2:2) (M701 /
0x3130374D), yuv422p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], max.
150000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0:1, 56, 1/48000: Audio: pcm_s16le ([1][0][0][0] /
0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Successfully opened the file.
Parsing a group of options: output file
/Volumes/Raid/capturitis/file_copy_prores.mov.
Applying option c:v (codec name) with argument prores.
Applying option profile:v (set profile) with argument 3.
Applying option pix_fmt (set pixel format) with argument yuv422p10le.
Applying option acodec (force audio codec ('copy' to copy stream))
with argument pcm_s16le.
Successfully parsed a group of options.
Opening an output file: /Volumes/Raid/capturitis/file_copy_prores.mov.
Successfully opened the file.
detected 24 logical cores
[graph 0 input from stream 0:0 @ 0x7f91b25003a0] Setting 'video_size'
to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x7f91b25003a0] Setting 'pix_fmt' to value '4'
[graph 0 input from stream 0:0 @ 0x7f91b25003a0] Setting 'time_base'
to value '1/25'
[graph 0 input from stream 0:0 @ 0x7f91b25003a0] Setting
'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x7f91b25003a0] Setting 'sws_param'
to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x7f91b25003a0] Setting 'frame_rate'
to value '25/1'
[graph 0 input from stream 0:0 @ 0x7f91b25003a0] w:1920 h:1080
pixfmt:yuv422p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[format @ 0x7f91b25008c0] compat: called with args=[yuv422p10le]
[format @ 0x7f91b25008c0] Setting 'pix_fmts' to value 'yuv422p10le'
[auto-inserted scaler 0 @ 0x7f91b2500da0] Setting 'flags' to value '0x4'
[auto-inserted scaler 0 @ 0x7f91b2500da0] w:iw h:ih flags:'0x4' interl:0
[format @ 0x7f91b25008c0] auto-inserting filter 'auto-inserted scaler
0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0x7f91b240ae00] query_formats: 4 queried, 2 merged, 1
already done, 0 delayed
[auto-inserted scaler 0 @ 0x7f91b2500da0] w:1920 h:1080 fmt:yuv422p
sar:1/1 -> w:1920 h:1080 fmt:yuv422p10le sar:1/1 flags:0x4
[graph 1 input from stream 0:1 @ 0x7f91b2600820] Setting 'time_base'
to value '1/48000'
[graph 1 input from stream 0:1 @ 0x7f91b2600820] Setting 'sample_rate'
to value '48000'
[graph 1 input from stream 0:1 @ 0x7f91b2600820] Setting 'sample_fmt'
to value 's16'
[graph 1 input from stream 0:1 @ 0x7f91b2600820] Setting
'channel_layout' to value '0x3'
[graph 1 input from stream 0:1 @ 0x7f91b2600820] tb:1/48000
samplefmt:s16 samplerate:48000 chlayout:0x3
[audio format for output stream 0:1 @ 0x7f91b2600d40] Setting
'sample_fmts' to value 's16'
[AVFilterGraph @ 0x7f91b2600260] query_formats: 4 queried, 9 merged, 0
already done, 0 delayed
[mov @ 0x7f91b28bae00] Drop frame is only allowed with 30000/1001 or
60000/1001 FPS
Output #0, mov, to '/Volumes/Raid/capturitis/file_copy_prores.mov':
  Metadata:
    timecode        : 10:00:00.04
    encoder         : Lavf55.19.103
    Stream #0:0, 0, 1/12800: Video: prores (apch) (apch / 0x68637061),
yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 12800
tbn, 25 tbc
    Stream #0:1, 0, 1/48000: Audio: pcm_s16le (sowt / 0x74776F73),
48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> prores)
  Stream #0:1 -> #0:1 (pcm_s16le -> pcm_s16le)
Could not write header for output file #0 (incorrect codec parameters
?): Operation not permitted
[AVIOContext @ 0x7f91b24054e0] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x7f91b2403da0] Statistics: 5255184 bytes read, 6 seeks

-------------------

sample;

https://dl.dropboxusercontent.com/u/79532365/ffmpeg-problem/file_copy.avi

md5: 4dd4f95c0a432809f60fd44f9629d34f


-------------------

ffmpeg git from feb. 2012 is working fine however.

tia,

b.


More information about the ffmpeg-user mailing list