php - ffmpeg mp4 file is not valid -


i looking answer on internet but, didn't find any...

got 3 movies, made ffmpeg separate frames in png files command:

ffmpeg -r 100 -qscale 2 -i input/%06d.png output/movie.mp4

two of them work perfectly... windows media player , others see correct format..., 1 of them not. vlc can play it, other players unknown format. has size of images. know criteria... size should have... why 1 working , other not...

sizes are:

  1. 1600x1570 - works fine
  2. 1880x616 - works fine
  3. 1891x725 - doesn't work...

this weird, because fullhd has width of 1920, above lower...

all images made php gdlib, saved same method... not problem of count, because no matter if first 100 frames, or whole movie, still doesn't work... last one. ideas possibly wrong?

complete ffmpeg output (for 200 frames):

ffmpeg version svn-r0.5.10-4:0.5.10-1, copyright (c) 2000-2009 fabrice bellard, et al.   configuration: --extra-version=4:0.5.10-1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static   libavutil     49.15. 0 / 49.15. 0   libavcodec    52.20. 1 / 52.20. 1   libavformat   52.31. 0 / 52.31. 0   libavdevice   52. 1. 0 / 52. 1. 0   libavfilter    0. 4. 0 /  0. 4. 0   libswscale     0. 7. 1 /  0. 7. 1   libpostproc   51. 2. 0 / 51. 2. 0   built on feb 16 2013 09:22:58, gcc: 4.4.5 input #0, image2, 'input/%06d.png':   duration: 00:00:02.01, start: 0.000000, bitrate: n/a     stream #0.0: video: png, rgb24, 1891x725, 100 tbr, 100 tbn, 100 tbc output #0, mp4, 'output/movie.mp4':     stream #0.0: video: mpeg4, yuv420p, 1891x725, q=2-31, 200 kb/s, 90k tbn, 100 tbc stream mapping:   stream #0.0 -> #0.0 press [q] stop encoding frame=  201 fps= 14 q=2.0 lsize=   10032kb time=2.01 bitrate=40886.7kbits/s video:10030kb audio:0kb global headers:0kb muxing overhead 0.023690% 

ps. after converting in different application fullhd (added black bars), still doesn't work.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -