[FFmpeg-user] ffplay and mpeg1video files

Robert A. Schmied ras at acm.org
Sun Dec 23 20:02:50 CET 2012


aloha ffmpeg users and gurus

we're a bit perplexed, maybe just unable to see a tree for the forest ...
we have an old old old ffmpeg that plays mpeg1video files mentioned
below just fine.
  %     ffmpeg -version
    ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
    built on Oct 27 2005 18:34:55, gcc: 3.4.4
  ffmpeg      0.4.9-pre1
  libavcodec  4718
  libavformat 4616



because of it's age (the old ffmpeg) we decided maybe a newer model might
be nice so proceeded to downloaded and build 'angel' on solaris 10 sparc
with ancient sunpro c 5.8 (from sunpro 11). with only some minor tweaks
to configure and config.mak it built ok; seems (mostly) functional ...
  %    file ffplay
  ffplay: ELF 32-bit MSB executable, SPARC32PLUS, V8+ Required, \
  version 1 (SYSV), dynamically linked (uses shared libs), not stripped


when trying to view (play) a very short video stream (anim.mpg 121704 bytes)
there are stats on the tty but no video window is opened.
my 'file' claims: anim.mpg: MPEG video stream data

ffprobe reports:
ffprobe version 1.0.1 Copyright (c) 2007-2012 the FFmpeg developers
  built on Dec 22 2012 17:11:48 with Sun C 5.8 2005/10/13
  configuration: --prefix=/usr/local --enable-pic --disable-static \
   --enable-shared --disable-doc --cc=/opt/SUNWspro/bin/cc --enable-gpl \
   --enable-version3 --enable-nonfree --disable-mmx --disable-debug \
   --disable-stripping --disable-w32threads --disable-os2threads \
   --extra-cflags=' -errtags=yes -features=extinl ' \
   --extra-libs=/usr/lib/values-xpg6.o --enable-x11grab \
   --enable-avresample --enable-outdev=sdl
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpegvideo @ 40600] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegvideo, from '..../anim.mpg':
  Duration: 00:00:00.14, bitrate: 6553 kb/s
    Stream #0:0: Video: mpeg1video, yuv420p, 256x256 [SAR 1:1 DAR 1:1], \
    6553 kb/s, 30 fps, 30 tbr, 1200k tbn, 30 tbc


but ffplay will not display it. it (ffplay) reports stats on tty but does
not open a video window.

we've come across a number of other similar .mpg files (all mpeg1video)
and they all refuse to 'display', if the file has an audio track (channel)
it does play the audio. ffplay 'plays' (displays) other video files, not
mpeg1video (e.g. msmpeg4v2 and indeo3) just fine, so we are presuming there
is something 'special' about mpeg1video encoded files?!


what, if anything, are we doing wrong?
are we missing some important library for mpeg1video?
did our build fail?

our few hours of searching the docs and ffmpeg.org and the users archive
turned up nothing since 2007
(http://lscube.org/pipermail/ffmpeg-issues/2007-September/000478.html)
on this sort of problem, but i may have missed it in the forest ...



help if at all possible.

thanks and merry christmas to all

ras

ps -- not planning on subscribing, so please direct any assistance or
followup queries directly to me, and include the list if appropriate;
thanks -- ras




More information about the ffmpeg-user mailing list