[FFmpeg-user] Input/output error

Ryu Tanaka ryutnk001 at gmail.com
Wed Sep 24 09:24:11 CEST 2014


Hello guys, I'm ffmpeg new and want your supports.

I changed the ffmpeg environment from my Macintosh to Linux server, and
make the below ffmpeg command run.
It used to be successful on Mac. but failed on Linux with the message
"Input/output
error".

Could you please suggest what I should do?





Mac and Linux spec is belows,
========================
Macintosh
- OSX 10.9.5
- FFMPEG version N-66399-g6b2caa3

Linux server
- Cent OS CentOS 6 x86_64
- FFMPEG version N-63931-gcf9050c
========================


The following is the ffmpeg command line .
I want to convert just one png image file to 3 seconds mp4.
========================
ffmpeg -y -loop 1 -i /home/xxx/work/xxx_000.png -c:v libx264 -t 3 -pix_fmt
yuv420p /home/xxx/work/ffmpeg_compile/data/logo/xxx_00x.mp4
========================



This is the results with error message from Linux server.
========================
ffmpeg version N-66399-g6b2caa3 Copyright (c) 2000-2014 the FFmpeg
developers
  built on Sep 24 2014 00:57:38 with gcc 4.4.7 (GCC) 20120313 (Red Hat
4.4.7-4)
  configuration: --enable-version3 --enable-libvpx --enable-libfaac
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264
--enable-libvo-aacenc --enable-libxvid --disable-ffplay --enable-shared
--enable-gpl --enable-postproc --enable-nonfree --enable-avfilter
--enable-pthreads --extra-cflags=-fPIC
  libavutil      54.  7.101 / 54.  7.101
  libavcodec     56.  1.101 / 56.  1.101
  libavformat    56.  4.103 / 56.  4.103
  libavdevice    56.  1.100 / 56.  1.100
  libavfilter     5.  1.102 /  5.  1.102
  libswscale      3.  1.100 /  3.  1.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
Input #0, png_pipe, from '/home/xxx/work/xxx_000.png':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: png, rgba, 1920x1080 [SAR 2835:2835 DAR 16:9], 25
tbr, 25 tbn, 25 tbc
[libx264 @ 0x156dbe0] using SAR=1/1
[libx264 @ 0x156dbe0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x156dbe0] profile High, level 4.0
[libx264 @ 0x156dbe0] 264 - core 142 r2479 dd79a61 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1
ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1
weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0
qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '/home/xxx/work/ffmpeg_compile/data/logo/xxx_00x.mp4':
  Metadata:
    encoder         : Lavf56.4.103
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.1.101 libx264
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
/home/xxx/work/xxx_000.png: Input/output error
    Last message repeated 1 times
frame=    1 fps=0.0 q=28.0 Lsize=       5kB time=00:00:00.04
bitrate=1078.0kbits/s
video:4kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 17.454782%
[libx264 @ 0x156dbe0] frame I:1     Avg QP:13.28  size:  3900
[libx264 @ 0x156dbe0] mb I  I16..4: 98.6%  0.1%  1.3%
[libx264 @ 0x156dbe0] 8x8 transform intra:0.1%
[libx264 @ 0x156dbe0] coded y,uvDC,uvAC intra: 0.8% 1.4% 1.3%
[libx264 @ 0x156dbe0] i16 v,h,dc,p: 98%  0%  2%  0%
[libx264 @ 0x156dbe0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 17% 12% 21% 12%
 0%  0%  0% 12%
[libx264 @ 0x156dbe0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 41%  9% 22% 10%  3%
 2%  2%  7%  3%
[libx264 @ 0x156dbe0] i8c dc,h,v,p: 99%  0%  1%  0%
[libx264 @ 0x156dbe0] kb/s:780.00
[xxxxx at www9406ui logo]$
========================

And this is the successful result (on Mac.)
========================
ffmpeg version N-63931-gcf9050c Copyright (c) 2000-2014 the FFmpeg
developers
  built on Jun 13 2014 12:06:49 with Apple LLVM version 5.1
(clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --prefix=/Volumes/ffmpeg_compile
--pkg-config-flags=--static --disable-shared --enable-static
--disable-ffplay --disable-ffserver --enable-gpl --enable-pthreads
--enable-postproc --enable-nonfree --enable-filters
--enable-runtime-cpudetect --enable-version3 --enable-bzlib --enable-zlib
--enable-libmp3lame --enable-libfaac --enable-libfdk-aac
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libvorbis --enable-libspeex
--enable-libopus --enable-libgsm --enable-libtwolame --enable-libsoxr
--enable-libwavpack --enable-libilbc --enable-libopenjpeg
--enable-libtheora --enable-libx264 --enable-libx265 --enable-libxvid
--enable-libvpx --enable-libxavs --enable-libfreetype --enable-fontconfig
--enable-libass --enable-libbluray --enable-libvidstab
  libavutil      52. 89.100 / 52. 89.100
  libavcodec     55. 66.100 / 55. 66.100
  libavformat    55. 43.100 / 55. 43.100
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  8.100 /  4.  8.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from '/Volumes/ffmpeg_compile/data/sozai/xxx_000.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgba, 1920x1080 [SAR 2835:2835 DAR 16:9], 25
fps, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x7fcb02829e00] using SAR=1/1
[libx264 @ 0x7fcb02829e00] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x7fcb02829e00] profile High, level 4.0
[libx264 @ 0x7fcb02829e00] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC
codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options:
cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '/Volumes/ffmpeg_compile/data/logo/xxx_00x.mp4':
  Metadata:
    encoder         : Lavf55.43.100
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc55.66.100 libx264
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame=   72 fps= 47 q=28.0 size=      10kB time=00:00:00.80 bitrate=
100.4kbits/frame=   75 fps= 38 q=-1.0 Lsize=      15kB time=00:00:02.92
bitrate=  42.5kbits/s
video:13kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 12.628060%
[libx264 @ 0x7fcb02829e00] frame I:1     Avg QP: 9.19  size:  7739
[libx264 @ 0x7fcb02829e00] frame P:19    Avg QP: 9.73  size:    80
[libx264 @ 0x7fcb02829e00] frame B:55    Avg QP:12.67  size:    69
[libx264 @ 0x7fcb02829e00] consecutive B-frames:  1.3%  2.7%  0.0% 96.0%
[libx264 @ 0x7fcb02829e00] mb I  I16..4: 98.6%  0.0%  1.3%
[libx264 @ 0x7fcb02829e00] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%
 0.0%  0.0%  0.0%  0.0%    skip:100.0%
[libx264 @ 0x7fcb02829e00] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%
 0.0%  0.0%  direct: 0.0%  skip:100.0%  L0: 7.7% L1:92.3% BI: 0.0%
[libx264 @ 0x7fcb02829e00] 8x8 transform intra:0.0% inter:0.0%
[libx264 @ 0x7fcb02829e00] coded y,uvDC,uvAC intra: 0.9% 1.5% 1.4% inter:
0.0% 0.0% 0.0%
[libx264 @ 0x7fcb02829e00] i16 v,h,dc,p: 98%  0%  2%  0%
[libx264 @ 0x7fcb02829e00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 56% 12% 31%  0%
 0%  0%  0%  0%  0%
[libx264 @ 0x7fcb02829e00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 10% 24%  8%
 3%  3%  2%  8%  3%
[libx264 @ 0x7fcb02829e00] i8c dc,h,v,p: 99%  0%  1%  0%
[libx264 @ 0x7fcb02829e00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7fcb02829e00] ref B L0: 50.0% 50.0%
[libx264 @ 0x7fcb02829e00] kb/s:34.86
xxxxxxxxxxxxno-MacBook-Air:~ xxxx$ ffmpeg -version
ffmpeg version N-63931-gcf9050c
built on Jun 13 2014 12:06:49 with Apple LLVM version 5.1 (clang-503.0.40)
(based on LLVM 3.4svn)
configuration: --prefix=/Volumes/ffmpeg_compile --pkg-config-flags=--static
--disable-shared --enable-static --disable-ffplay --disable-ffserver
--enable-gpl --enable-pthreads --enable-postproc --enable-nonfree
--enable-filters --enable-runtime-cpudetect --enable-version3
--enable-bzlib --enable-zlib --enable-libmp3lame --enable-libfaac
--enable-libfdk-aac --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis
--enable-libspeex --enable-libopus --enable-libgsm --enable-libtwolame
--enable-libsoxr --enable-libwavpack --enable-libilbc --enable-libopenjpeg
--enable-libtheora --enable-libx264 --enable-libx265 --enable-libxvid
--enable-libvpx --enable-libxavs --enable-libfreetype --enable-fontconfig
--enable-libass --enable-libbluray --enable-libvidstab
libavutil      52. 89.100 / 52. 89.100
libavcodec     55. 66.100 / 55. 66.100
libavformat    55. 43.100 / 55. 43.100
libavdevice    55. 13.101 / 55. 13.101
libavfilter     4.  8.100 /  4.  8.100
libswscale      2.  6.100 /  2.  6.100
libswresample   0. 19.100 /  0. 19.100
libpostproc    52.  3.100 / 52.  3.100
xxxxxxxxxxxx-no-MacBook-Air:~
========================


More information about the ffmpeg-user mailing list