[FFmpeg-trac] #582(undetermined:new): error on transcoding from h264 to MP4 with 0.8.5

FFmpeg trac at avcodec.org
Sun Oct 23 15:43:48 CEST 2011


#582: error on transcoding from h264 to MP4 with 0.8.5
-------------------------------------+-------------------------------------
             Reporter:  graylion     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I was trying to transcode a movie from h264 to mp4.

 command line:

 ffmpeg -i
 Crouching.Tiger.Hidden.Dragon.\(Wo.hu.cang.long\).2000.1080p.Bluray.DTS.x264-SHiTSoNy.mkv
 -vcodec mpeg4 -pass 2 -threads 2 -acodec ac3 -ab 384000 -b 10000000 -f mp4
 Tiger.mp4

 error:

 ffmpeg: libavcodec/ratecontrol.c:693: ff_rate_estimate_qscale: Assertion
 `picture_number<rcc->num_entries' failed.
 Aborted

 output as requested:

 $ffmpeg -v 9 -loglevel 99 -i
 Crouching.Tiger.Hidden.Dragon.\(Wo.hu.cang.long\).2000.1080p.Bluray.DTS.x264-SHiTSoNy.mkv
 ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers
   built on Oct 11 2011 23:20:55 with gcc 4.5.2
   configuration:
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    2.  0. 0 /  2.  0. 0
 [matroska,webm @ 0x17e6400] Format matroska,webm probed with size=2048 and
 score=100
 st:0 removing common factor 1000000 from timebase
 st:1 removing common factor 1000000 from timebase
 st:2 removing common factor 1000000 from timebase
 st:3 removing common factor 1000000 from timebase
 [h264 @ 0x1800320] Unsupported bit depth: 0
 [h264 @ 0x1800320] no picture
 [dca @ 0x1802220] Stream with high frequencies VQ coding
 [h264 @ 0x1800320] no picture
 [matroska,webm @ 0x17e6400] max_analyze_duration 5000000 reached at
 5002000
 [matroska,webm @ 0x17e6400] Estimating duration from bitrate, this may be
 inaccurate

 Seems stream 0 codec frame rate differs from container frame rate: 47.95
 (5994/125) -> 23.98 (24000/1001)
 Input #0, matroska,webm, from
 'Crouching.Tiger.Hidden.Dragon.(Wo.hu.cang.long).2000.1080p.Bluray.DTS.x264-SHiTSoNy.mkv':
   Duration: 02:00:14.20, start: 0.000000, bitrate: 1536 kb/s
     Chapter #0.0: start 0.000000, end 500.500000
     Metadata:
       title           : 00:00:00.000
     Chapter #0.1: start 500.500000, end 922.171000
     Metadata:
       title           : 00:08:20.500
     Chapter #0.2: start 922.171000, end 1431.179000
     Metadata:
       title           : 00:15:22.171
     Chapter #0.3: start 1431.179000, end 1986.943000
     Metadata:
       title           : 00:23:51.179
     Chapter #0.4: start 1986.943000, end 2231.395000
     Metadata:
       title           : 00:33:06.943
     Chapter #0.5: start 2231.395000, end 2587.209000
     Metadata:
       title           : 00:37:11.395
     Chapter #0.6: start 2587.209000, end 2949.571000
     Metadata:
       title           : 00:43:07.209
     Chapter #0.7: start 2949.571000, end 3223.762000
     Metadata:
       title           : 00:49:09.571
     Chapter #0.8: start 3223.762000, end 4404.900000
     Metadata:
       title           : 00:53:43.762
     Chapter #0.9: start 4404.900000, end 4814.976000
     Metadata:
       title           : 01:13:24.900
     Chapter #0.10: start 4814.976000, end 5398.935000
     Metadata:
       title           : 01:20:14.976
     Chapter #0.11: start 5398.935000, end 5722.717000
     Metadata:
       title           : 01:29:58.935
     Chapter #0.12: start 5722.717000, end 6239.691000
     Metadata:
       title           : 01:35:22.717
     Chapter #0.13: start 6239.691000, end 6463.165000
     Metadata:
       title           : 01:43:59.691
     Chapter #0.14: start 6463.165000, end 6737.230000
     Metadata:
       title           : 01:47:43.165
     Chapter #0.15: start 6737.230000, end 7214.207000
     Metadata:
       title           : 01:52:17.230
     Stream #0.0, 124, 1/1000: Video: h264 (High), yuv420p, 1920x800,
 125/5994, PAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
 (default)
     Stream #0.1(chi), 496, 1/1000: Audio: dca (DTS), 48000 Hz, 5.1, s16,
 1536 kb/s (default)
     Stream #0.2(dut), 0, 1/1000: Subtitle: [0][0][0][0] / 0x0000 (default)
     Stream #0.3(eng), 0, 1/1000: Subtitle: [0][0][0][0] / 0x0000
 At least one output file must be specified

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/582>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list