[MPlayer-users] Trouble mencoding a large DVB (1080i) grab

MichaelM lordvader at swiftdsl.com.au
Sun Nov 20 14:10:05 CET 2005


Hey all.
I've been using mencoder to transcode DVB grabs to avis, and it's been
working just fine (will a little manual tweaking to get the -ss and
-endpos numbers just right).
Since seeking a TS is tricky, I convert the TS to a regular mpeg2 file
as follows:

mencoder dump.ts -oac copy -ovc copy -of mpeg -o dump.mpg

Then I run through the stream with mplayer to get my start and endpos
numbers (to cut out commercials), and then use mencoder again to chop up
the stream (with -ss and -endpos).

I recently got a new harddisk, so am playing with large HDTV streams. I
grabbed 9GB worth (a bit more than an hour), and started doing my thing.

Problem is (for both mplayer and mencoder), is that I cannot use -ss
past 749.9 seconds (though 749.8 works fine). If I run the file from the
start, I can seek fine with the arrow keys, but specifying a number
beyond 749.9, mencoder exits with the following:

************************************************************************

MEncoder dev-CVS-051120-23:08-3.2.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP Thoroughbred; Duron
Applebred (Family: 6, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

success: format: 0  data: 0x0 - 0xf6de9804
MPEG-PS file format detected.
VIDEO:  MPEG2  1440x1080  (aspect 3)  25.000 fps  90000.0 kbps (11250.0
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:1440x1080  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (dolby)  48000 Hz  384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
PACKET SIZE: 2048 bytes
videocodec: framecopy (1440x1080 24bpp fourcc=10000002)
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 B/s=48000
sample-1)
Writing AVI header...
Limiting audio preload to 0.4s
Increasing audio density to 4

Writing AVI index...

Overhead: inf% (2048 / 0)
Fixing AVI header...

Video stream:      nan kbit/s  (-2147483648 B/s)  size: 0 bytes  0.000
secs  0 frames

Audio stream:  384.000 kbit/s  (47999 B/s)  size: 1536 bytes  0.032 secs

***************************************************************************

All those nan's have me a bit worried...




More information about the MPlayer-users mailing list