[MEncoder-users] Warning streams need a type

John Brown johnbrown105 at hotmail.com
Tue Dec 4 10:33:51 CET 2007



Hello all,

What does this message mean?


1) I captured video using Hauppauge WinTV PVR-150MCE. I
used a custom DVD quality profile. Perhaps this was my
undoing.

2) I used mencoder -oac copy -ovc copy to -endpos xxx to
trim a few unwanted seconds from the file.

3) I noticed the following messages when I tried to skip ahead
using the arrow keys:

UP-arrow:
A:   4.9 V:   5.6 A-V: -0.713 ct: -0.397 120/120  4%  1%  0.1% 0 0
Cannot seek backward in linear streams!
Seek failed

The "Cannot seek" message also appears several times before
the video starts playing.

RIGHT-arrow
A:  91.9 V:  91.9 A-V:  0.009 ct:  0.208 182/182  5%  3%  0.4% 0 0
Cannot seek backward in linear streams!
Seek failed
A: 108.1 V:  91.9 A-V: 16.141 ct:  0.100 183/183 ??% ??% ??,?% 0 0


I can skip ahead, even though MPlayer tells me that the seek
failed.

4) I tried to fix this by re-encoding with my usual script. I do
not get the "Cannot seek" message with the new file, but
it skips the same distance whether I use the UP or RIGHT
arrow (about 5 seconds).

5) I made a DVD from the original video. I can seek in the
DVD on the computer, but not on the standalone player.
It does not seek. Instead, it displays an icon in the top
right corner of the screen. It displays the same icon when
I press the menu button, so I assume that the icon means
"Can't do it". The standalone player hangs when I try to
fast-forward.

02/12/2007  04:09 PM     4,396,830,720 original.mpg
04/12/2007  02:44 AM     3,694,874,624 wedding.mpg

I reduced the bitrate when I made the copy.

The movie is 2 hours 6 minutes long.

Is there a way to fix this file, even using something besides
MEncoder?

I am using MEncoder dev-SVN-r25096-3.4.5 on Windows XP.
I made the DVDs with dvdauthor 0.6.14-GfD-1.

Below is the output of 'mplayer -v original.mpg -frames 10'
========================================
MPlayer dev-SVN-r25096-3.4.5 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> 'c:/msys/local4/bin/mplayer/codecs.conf'
Reading c:/msys/local4/bin/mplayer/codecs.conf: Can't open 'c:/msys/local4/bin/mplayer/codecs.conf': No such file or directory
Reading /usr/local4/etc/mplayer/codecs.conf: Can't open '/usr/local4/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --enable-gui --enable-debug=3 --prefix=/usr/local4 --with-extraincdir=/usr/local/include --with-extralibdir=/usr/local/lib --enable-static --codecsdir=codecs --disable-sdl --disable-pthreads
CommandLine: '-v' 'original.mpg' '-frames' '30'
init_freetype
get_path('font/font.desc') -> 'c:/msys/local4/bin/mplayer/font/font.desc'
font: can't open file: c:/msys/local4/bin/mplayer/font/font.desc
font: can't open file: /usr/local4/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 'c:/msys/local4/bin/mplayer/fonts'
Using Windows native timing
get_path('input.conf') -> 'c:/msys/local4/bin/mplayer/input.conf'
Can't open input config file c:/msys/local4/bin/mplayer/input.conf: No such file or directory
Can't open input config file /usr/local4/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('original.mpg.conf') -> 'c:/msys/local4/bin/mplayer/original.mpg.conf'

Playing original.mpg.
get_path('sub/') -> 'c:/msys/local4/bin/mplayer/sub/'
WINSOCK2 init: 0
[file] File size is -1 bytes
STREAM: [file] original.mpg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: MPEG PS format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Cannot seek backward in linear streams!
Seek failed
Searching demuxer type for filename original.mpg ext: .mpg
Cannot seek backward in linear streams!
Seek failed
Checking for Nullsoft Streaming Video
Cannot seek backward in linear streams!
Seek failed
Checking for MOV
Cannot seek backward in linear streams!
Seek failed
Checking for VIVO
header block 1 size: 0
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
AVS: avs_check_file - attempting to open file original.mpg
AVS: failed to load avisynth.dll
AVS: Init failed
Cannot seek backward in linear streams!
Seek failed
Checking for PVA
Cannot seek backward in linear streams!
Seek failed
Checking for MPEG-TS...
TRIED UP TO POSITION 344320, FOUND 47, packet_size= 0, SEEMS A TS? 0
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140853770
LMLM4 Stream Format not found
Cannot seek backward in linear streams!
Seek failed
system stream synced at 0x5680D (354317)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG2  352x480  (aspect 2)  29.970 fps  6448.4 kbps (806.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:352x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> 'c:/msys/local4/bin/mplayer/sub/'
WINSOCK2 init: 0
[file] File size is 3729 bytes
STREAM: [file] ./original.txt
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
SUB: Could not determine file format
Cannot load subtitles: ./original.txt
checking primary surface
14 BGR32 supported
testing supported overlay pixelformats
0 YV12  supported
1 I420  not supported
2 IYUV  not supported
3 YVU9  supported
4 YUY2  supported
5 UYVY  supported
6 BGR8  not supported
7 RGB15 supported
8 BGR15 supported
9 RGB16 supported
10 BGR16 supported
11 RGB24 not supported
12 BGR24 not supported
13 RGB32 supported
14 BGR32 supported
Your card supports 10 of 15 overlayformats
hardware supports overlay
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 480 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using SSE optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 1.0, Layer II, 48000 Hz 256 kbit Stereo, BPF: 768
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
ao_dsound: Output Devices:
0 Primary Sound Driver <--
1 Realtek AC97 Audio 
2 Modem #0 Line Playback (emulated) 
ao_dsound: DirectSound initialized
ao_dsound: Samplerate:48000Hz Channels:2 Format:s16le
ao_dsound: Buffersize:192000 bytes (1000 msec)
ao_dsound: primary buffer created
ao_dsound: secondary (stream)buffer created
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: Windows DirectSound audio output
AO: Author: Gabor Szecsi 
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
VDec: vo config request - 352 x 480 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (352x480->640x480,flags=0,'MPlayer',0x32315659)
VO: [directx] 352x480 => 640x480 Planar YV12 
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer 
overlay with format YV12  created
*** [vo] Allocating mp_image_t, 352x480x12bpp YUV planar, 253440 bytes
A:   0.5 V:   0.0 A-V:  0.497 ct:  0.000   1/  1 ??% ??% ??,?% 0 0             
*** [vo] Allocating mp_image_t, 352x480x12bpp YUV planar, 253440 bytes
A:   0.5 V:   1.3 A-V: -0.719 ct: -0.003   2/  2 ??% ??% ??,?% 0 0             
get_path('subfont.ttf') -> 'c:/msys/local4/bin/mplayer/subfont.ttf'
Unicode font: 1418 glyphs.
A:   0.6 V:   1.3 A-V: -0.703 ct: -0.007   3/  3 ??% ??% ??,?% 0 0             
A:   0.6 V:   1.3 A-V: -0.707 ct: -0.010   4/  4 ??% ??% ??,?% 0 0             
*** [vo] Allocating mp_image_t, 352x480x12bpp YUV planar, 253440 bytes
A:   0.7 V:   1.4 A-V: -0.724 ct: -0.013   5/  5 ??% ??% ??,?% 0 0             
A:   0.7 V:   1.4 A-V: -0.722 ct: -0.017   6/  6 ??% ??% ??,?% 0 0             
A:   0.7 V:   1.5 A-V: -0.730 ct: -0.020   7/  7 ??% ??% ??,?% 0 0             
A:   0.8 V:   1.5 A-V: -0.729 ct: -0.023   8/  8 ??% ??% ??,?% 0 0             
A:   0.8 V:   1.5 A-V: -0.718 ct: -0.027   9/  9 ??% ??% ??,?% 0 0             
A:   0.9 V:   1.6 A-V: -0.712 ct: -0.030  10/ 10 ??% ??% ??,?% 0 0             
A:   0.9 V:   1.6 A-V: -0.701 ct: -0.033  11/ 11 ??% ??% ??,?% 0 0             
A:   0.9 V:   1.6 A-V: -0.715 ct: -0.037  12/ 12 ??% ??% ??,?% 0 0             
A:   1.0 V:   1.7 A-V: -0.713 ct: -0.040  13/ 13 ??% ??% ??,?% 0 0             
A:   1.0 V:   1.7 A-V: -0.731 ct: -0.043  14/ 14 ??% ??% ??,?% 0 0             
A:   1.0 V:   1.8 A-V: -0.725 ct: -0.047  15/ 15 ??% ??% ??,?% 0 0             
A:   1.1 V:   1.8 A-V: -0.680 ct: -0.050  16/ 16  5%  1%  0.8% 0 0             
A:   1.1 V:   1.8 A-V: -0.727 ct: -0.053  17/ 17  5%  1%  0.7% 0 0             
A:   1.1 V:   1.9 A-V: -0.726 ct: -0.057  18/ 18  5%  1%  0.7% 0 0             
A:   1.2 V:   1.9 A-V: -0.710 ct: -0.060  19/ 19  4%  1%  0.7% 0 0             
A:   1.2 V:   1.9 A-V: -0.724 ct: -0.063  20/ 20  4%  1%  0.6% 0 0             
A:   1.2 V:   2.0 A-V: -0.722 ct: -0.067  21/ 21  4%  1%  0.6% 0 0             
A:   1.3 V:   2.0 A-V: -0.708 ct: -0.070  22/ 22  4%  1%  0.6% 0 0             
A:   1.3 V:   2.0 A-V: -0.705 ct: -0.073  23/ 23  4%  1%  0.5% 0 0             
A:   1.4 V:   2.1 A-V: -0.723 ct: -0.077  24/ 24  4%  1%  0.5% 0 0             
A:   1.4 V:   2.1 A-V: -0.688 ct: -0.080  25/ 25  4%  1%  0.5% 0 0             
A:   1.4 V:   2.2 A-V: -0.735 ct: -0.083  26/ 26  4%  1%  0.5% 0 0             
A:   1.5 V:   2.2 A-V: -0.734 ct: -0.087  27/ 27  4%  1%  0.5% 0 0             
A:   1.5 V:   2.2 A-V: -0.717 ct: -0.090  28/ 28  4%  1%  0.4% 0 0             
A:   1.6 V:   2.3 A-V: -0.716 ct: -0.093  29/ 29  4%  1%  0.4% 0 0             
A:   1.6 V:   2.3 A-V: -0.705 ct: -0.097  30/ 30  4%  1%  0.4% 0 0             
A:   1.6 V:   2.3 A-V: -0.715 ct: -0.100  31/ 31  4%  1%  0.4% 0 0             
A:   1.7 V:   2.4 A-V: -0.708 ct: -0.103  32/ 32  4%  1%  0.4% 0 0             
EOF code: 1  

Uninit audio filters...
[libaf] Removing filter dummy 
Uninit audio: mp3lib
Uninit video: libmpeg2
WINSOCK2 uninit
ao_dsound: DirectSound uninitialized

Exiting... (End of file)




_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007


More information about the MEncoder-users mailing list