[FFmpeg-trac] #5461(avformat:reopened): concatdec with "-auto_convert 0" fails on mp4

FFmpeg trac at avcodec.org
Sun Apr 24 17:02:30 CEST 2016


#5461: concatdec with "-auto_convert 0" fails on mp4
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  andrey.utkin                       |                   Status:  reopened
                 Type:  defect       |                Component:  avformat
             Priority:  important    |               Resolution:
              Version:  git-master   |               Blocked By:
             Keywords:  concat       |  Reproduced by developer:  0
  codecpar regression                |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by andrey.utkin):

 Replying to [comment:20 Cigaes]:
 > Profile, don't speculate.

 Performance comparsion.
 Negligible indeed, however noticeable.

 {{{
  $ cat profile.sh
 #!/bin/bash

 ffmpeg -f lavfi -i testsrc -t 10000 -x264opts stitchable=1 -c:v libx264
 -loglevel error -y /tmp/testsrc.mp4
 echo -e "ffconcat version 1.0
 file /tmp/testsrc.mp4
 " > /tmp/test.concat

 for FFMPEG in ./ffmpeg_master ./ffmpeg_n2.8.6
 do
     for auto_convert in 0 1
     do
         echo -e "\n\n\t$FFMPEG -auto_convert $auto_convert"
         time $FFMPEG -safe 0 -auto_convert $auto_convert -i
 /tmp/test.concat -c copy -f rawvideo -y /dev/null -loglevel error
     done
 done
  $ ./profile.sh


         ./ffmpeg_master -auto_convert 0

 real    0m1.584s
 user    0m1.492s
 sys     0m0.088s


         ./ffmpeg_master -auto_convert 1

 real    0m1.876s
 user    0m1.772s
 sys     0m0.100s


         ./ffmpeg_n2.8.6 -auto_convert 0

 real    0m1.622s
 user    0m1.528s
 sys     0m0.092s


         ./ffmpeg_n2.8.6 -auto_convert 1

 real    0m1.693s
 user    0m1.580s
 sys     0m0.112s
  $ ./ffmpeg_master
 ffmpeg version N-79629-gf9883b8 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5)
   configuration: --enable-libx264 --enable-gpl
   libavutil      55. 22.101 / 55. 22.101
   libavcodec     57. 38.100 / 57. 38.100
   libavformat    57. 34.103 / 57. 34.103
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 44.100 /  6. 44.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Hyper fast Audio and Video encoder
 usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
 outfile}...

 Use -h to get full help or, even better, run 'man ffmpeg'
  $ ./ffmpeg_n2.8.6
 ffmpeg version n2.8.6 Copyright (c) 2000-2016 the FFmpeg developers
   built with gcc 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5)
   configuration: --enable-libx264 --enable-gpl
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 60.100 / 56. 60.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 40.101 /  5. 40.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 Hyper fast Audio and Video encoder
 usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
 outfile}...

 Use -h to get full help or, even better, run 'man ffmpeg'

 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5461#comment:23>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list