[FFmpeg-user] ffplay displaying only black
Kyle
kshawkeye at gmail.com
Mon Apr 11 07:37:17 CEST 2011
I compiled FFmpeg with:
--enable-runtime-cpudetect --enable-memalign-hack --enable-avis
ynth --cross-prefix=i686-w64-mingw32- --target-os=mingw32 --arch=i686
--extra-cf
lags=-I/home/kyle/software/ffmpeg/external-libraries/win32/include
--extra-ldfla
gs=-L/home/kyle/software/ffmpeg/external-libraries/win32/lib
--pkg-config=pkg-co
nfig
My FFmpeg version is git-N-29032-gab8cfd4 and It was compiled with gcc
4.7.0 20110409 and mingw-w64
I'm getting an error while trying to play back something with ffplay, I
used a simple play command:
ffplay "infile.mp4"
All I see is black, except for (probably 8 pixels total) color in the
very top left corner. My SDL configured fine and had no errors, same
goes for FFmpeg.
I compiled a similar version for 64-bit, same FFmpeg source version,
same toolchain (gcc, binutils, mingw-w64 versions as the 32-bit), just
changed the --cross-prefix and the --arch and the 64-bit version works
perfect.
Does anyone have any clues as to what might be happening? If I had to
take a guess I would say that it's resizing it to those 8 pixels, since
I see them changing colors and stop changing if I pause it.
Also, the ffplay output looks good as far as I can tell:
FFplay version git-N-29032-gab8cfd4, Copyright (c) 2003-2011 the FFmpeg
develope
rs
built on Apr 11 2011 01:12:08 with gcc 4.7.0 20110409 (experimental)
configuration: --enable-runtime-cpudetect --enable-memalign-hack
--enable-avis
ynth --cross-prefix=i686-w64-mingw32- --target-os=mingw32 --arch=i686
--extra-cf
lags=-I/home/kyle/software/ffmpeg/external-libraries/win32/include
--extra-ldfla
gs=-L/home/kyle/software/ffmpeg/external-libraries/win32/lib
--pkg-config=pkg-co
nfig
libavutil 50. 40. 1 / 50. 40. 1
libavcodec 52.117. 1 / 52.117. 1
libavformat 52.106. 0 / 52.106. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 78. 0 / 1. 78. 0
libswscale 0. 13. 0 / 0. 13. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'infile.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2011-03-03 01:26:03
Duration: 00:01:55.93, start: 0.000000, bitrate: 2980 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 1280x720 [PAR 1:1
DAR 16:9],
2846 kb/s, 29.97 fps, 29.92 tbr, 1k tbn, 59.83 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
Metadata:
creation_time : 2011-03-03 01:26:05
Seek to 40% ( 0:00:46) of total duration ( 0:01:55) f=0/0 f=0/0
Seek to 40% ( 0:00:46) of total duration ( 0:01:55) f=0/0
47.04 A-V: -0.072 s:0.0 aq= 320KB vq= 6224KB sq= 0B f=1/1
Finally, my sdl-config is the same for both 32-bit and 64-bit, as goes
for my sdl.pc
Any ideas would be greatly appreciated, thanks.
More information about the ffmpeg-user
mailing list