[MPlayer-users] probs with files > 2GB

wil wsa3 at xs4all.nl
Tue Oct 28 23:08:04 CET 2003


Hi,

I can't seem to get this working ok.
I was running from the latest official source and files larger than 2GB
gave me a missing or damaged index block.
(did ./configure --enable-largefiles when bulding it)
So this afternoon i switched to the latest CVS tarball and again ran
./configure --enable-largefiles and made/installed it...
Everything seems to work, but again...files larger than 2GB
go corrupt with a missing or damaged index.
I'm only using mencoder on the console, never get into X.

Here's the verbose output:

PCWILLEM:/share/vcr# mencoder tv:// -tv 
driver=v4l:width=768:height=576:brightness=15:contrast=-10:saturation=-30:hue=-10 
-vop pp=0x20000,scale=512:384,crop=756:566:6:8 -endpos 01:40:00 -ovc lavc 
-lavcopts vcodec=mpeg4:vbitrate=2000 -oac pcm -v -o test.avi
MEncoder dev-CVS-031028-06:00-3.3.2 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron 2/Pentium III Tualatin 1346 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading /root/.mplayer/codecs.conf: Can't open 
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
STREAM: [null] tv://
STREAM: Description: Null stream
STREAM: Author: Albeu
STREAM: Comment:
success: format: 9  data: 0x0 - 0x0
TV detected! ;-)
Selected driver: v4l
  name: Video 4 Linux input
  author: Alex Beregszaszi
  comment: under development
Selected device: BT878(Pinnacle PCTV Studio/Ra)
  Capabilites: capture tuner overlay clipping frameram scales
  Device type: 235
  Supported sizes: 48x32 => 924x576
  Inputs: 3
   0: Television: tuner audio tv camera  (tuner:1, norm:pal)
   1: Composite1: audio camera  (tuner:0, norm:pal)
   2: S-Video: audio camera  (tuner:0, norm:pal)
mbuf: size=8519680, frames=4
  Audio devices: 1
Video capture card reports the audio setup as follows:
   0: TV: muted=no vol=0 bass=0 treble=0 balance=0 mode=mono chan=1
ioctl dsp getfmt: 0
Supported formats: 10
ioctl dsp setfmt: 0
ioctl dsp stereo: 0 (req: 0)
ioctl dsp speed: 0
ioctl dsp trigger: 0
trigger: 1
ioctl dsp trigger: 0
ioctl dsp getblocksize: 0
blocksize: 16384
Audio capture - buffer 256 blocks of 16384 bytes, skew average from 16 meas.
Using input 'Television'
Selected norm: pal
Tuner (Television) range: 0 -> 4294967295
Requested width: 768
Requested height: 576
Selected channel list: europe-east (including 133 channels)
Current frequency: 13687 (855.438)
==> Found video stream: 0
Output format: Planar YV12
Audio capture - buffer 256 blocks of 16384 bytes, skew average from 16 meas.
==> Found audio stream: 0
   TV audio: 1 channels, 16 bits, 44100 Hz
Picture values:
  Depth: 12, Palette: yuv420p (Format: Planar YV12)
  Brightness: 37682, Hue: 29490, Colour: 22937, Contrast: 21381
Audio capture - buffer 256 blocks of 16384 bytes, skew average from 16 meas.
Using a ring buffer for maximum 298 frames, 188 MB total size.
Enabling tv audio. Requested setup is:
id=0 vol=60000 bass=0 treble=0 balance=0 mode=mono chan=1
[V] filefmt:9  fourcc:0x32315659  size:768x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 88200->88200 (705.6 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [pp=0x20000]
[expand] query(Planar YV12) -> 1
[expand] query(Planar I420) -> 1
[expand] query(Planar IYUV) -> 1
[expand] query(Planar 444P) -> 0
[expand] query(Planar 422P) -> 0
[expand] query(Planar 411P) -> 0
Opening video filter: [scale w=512 h=384]
SwScale params: 512 x 384 (-1=no scaling)
Opening video filter: [crop w=756 h=566 x=6 y=8]
Crop: 756 x 566, 6 ; 8
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 x 576 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: crop scale pp expand lavc
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (768x576->768x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0xC01  req=0x400
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 6
SwScaler: reducing / aligning filtersize 7 -> 6

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
SwScaler: using 8-tap MMX scaler for horizontal luminance scaling
SwScaler: using 8-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 756x566 -> 512x384
REQ: flags=0xC01  req=0x0
REQ: flags=0x401  req=0x0
REQ: flags=0x401  req=0x0
videocodec: libavcodec (512x384 fourcc=58564944 [DIVX])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
CBR PCM audio selected
Building audio filter chain for 44100Hz/1ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 1, format = 0x00000001 and 
bps = 2
[libaf] Adding filter channels
[channels] Changing number of channels to 2
[dummy] Was reinitialized, rate=44100Hz, nch = 1, format = 0x00000001 and 
bps = 2
Writing AVI header...
Forcing audio preload to 0, max pts correction to 0
*** [crop] Exporting mp_image_t, 768x576x12bpp YUV planar, 663552 bytes
*** [scale] Exporting mp_image_t, 756x566x12bpp YUV planar, 641844 bytes
*** [pp] Allocating mp_image_t, 512x384x12bpp YUV planar, 294912 bytes
*** [lavc] Allocating mp_image_t, 512x384x12bpp YUV planar, 294912 bytes
*** [expand] Direct Rendering mp_image_t, 512x384x12bpp YUV planar, 294912 
bytes
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms 
0/12 D/B/S 0/0/0
video capture thread: frame delta ~ 9.9 fps
[libaf] Reallocating memory in module channels, old len = 0, new len = 65538
Pos:5187.2s 129679f ( 0%)  25fps Trem:   0min   0mb  A-V:0.000 [2000:1411] 
A/Vms 154/22 D/B/S 2/1/1
video capture thread: frame delta ~ 12.8 fps
Pos:5782.5s 144560f ( 0%)  25fps Trem:   0min   0mb  A-V:0.000 [1999:1411] 
A/Vms 154/23 D/B/S 4/1/1
video capture thread: frame delta ~ 12.7 fps
Pos:6000.0s 149997f ( 0%)  25fps Trem:   0min   0mb  A-V:0.000 [2000:1411] 
A/Vms 154/23 D/B/S 5/1/1
Writing AVI index...
Fixing AVI header...

Video stream: 2000.013 kbit/s  (250001 bps)  size: 1500019599 
bytes  6000.040 secs  149997 frames

Audio stream: 1411.200 kbit/s  (176400 bps)  size: 1058400000 
bytes  6000.000 secs
uninit video: raw
DEMUXER: freeing demuxer at 0x84a0950
Waiting for threads to finish...   MJP: returning!
done
DEMUXER: freeing sh_audio at 0x84a17c0
DEMUXER: freeing sh_video at 0x84a1728



More information about the MPlayer-users mailing list