[FFmpeg-trac] #571(avformat:new): Convert to mp4 from AVI error message

FFmpeg trac at avcodec.org
Thu Oct 20 21:06:52 CEST 2011


#571: Convert to mp4 from AVI error message
------------------------------------+------------------------------------
             Reporter:  bf4648      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by bf4648):

 Alright, this is the command that I am using on the sample find included
 in the attachment:

 ubuntu:~/Desktop$ ffmpeg -i sample -vf "scale=0:0,setdar=4:3" -vcodec
 libx264 -vb 750k -coder 1 -flags +loop -cmp +chroma -partitions
 +parti8x8+parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16
 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1
 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -directpred 1 -flags2 +fastpskip
 -acodec libmp3lame -ab 128k -ar 44100 -ac 2 -y output.mp4


 If I use the above command I get the following error messages over and
 over again:

 missing picture in access unit with size 56
 [h264 @ 0x1571be0] no frame!
 Error while decoding stream #0.0
 [h264 @ 0x1571be0] missing picture in access unit with size 56
 [h264 @ 0x1571be0] no frame!
 Error while decoding stream #0.0

 It does output a mp4 file though but on files that are larger sizes
 (because the sample file is just a sample), it is taking a long time (like
 5 minutes for a 5 minute video) and the result file is a lot larger than
 the other files I've converted.  I think it has something to do with the
 Q264 codec that was used to encode the videos originally.  I can encode
 other videos using the QIVG codec with the above command and I get no
 error messages and a 5 minute video is encoded in under a minute.  I'd
 like the videos encoded in the Q264 codec to be re-encoded in under 1
 minute just like the videos encoded in the QIVG codec if that is possible.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/571#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list