Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: ts2ps works only sometimes




Samstag, 26. Januar 2002 at 11:44 Wolfgang Wershofen wrote:

> Wolfgang Wershofen writes:
>  > Then I tried to convert this file with ts2ps to a PS-Stream, using
>  > "ts2ps stream.ts 0 0 | cat > stream.ps" and this isn't working in most
>  > cases. Only twice (out of at least 30 times) this command filled the
>  > output-file with an mpeg2-stream, which I could view with mplayer.

> This can only mean that ts2ps can't guess the PIDs, which I hoped I
> had fixed in the latest version. So instead of 0 0 you have to give
> the video and audio PIDs as arguments.

> Marcus

Thanx for your answers, but I'm afraid, there's more to it than simply
putting the real pid-values into ts2ps.
I've tried that several times using the vpid and apid values, tuxzap
shows in the channel list if you drill down the channel properties. It
simply doesn't change a thing...

Perhaps it even makes it worse! Today I found out by chance, that a stream is
coming through ts2ps using pid auto-detection. But it takes about 2 - 5
minutes time, till mplayer recognizes a mpeg-stream and displays the
picture.
Before I began writing this mail, I started
       "ts2ps /dev/ost/dvr 101 102 | buffer | mplayer -"
but up to right now (approx. 10 minutes later), no stream is available
to mplayer so I guess it won't come anymore. So I think, using pid 0 0
works even better then specifying the real ones.

Apart from that start delay the result in mplayer is far from being
satisfactory. For further information I quoted the xterm-output from
stvmp (script from PSIplus) below.
Picture quality is good, but mplayer can't detect any
sound in the stream. Maybe this is a result of the fact, that vPID and
aPID are identical. Also the video-stream suddenly ends after a few
minutes and mplayer stops, saying "(End of file)". In most cases, the
startup-delay is longer than the picture is shown. If you're lucky you
can view a commercial spot in a whole but nothing much longer.

Any ideas?

xterm-log:
-----------------------
athlon:~ # stvmp
ts2ps
Reading /dev/ost/dvr


MPlayer 0.60-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 4)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf':
No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 26 audio & 70 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux's hardware RTC timing (1024Hz)
Playing -
Reading from stdin...
video PID: 101 (0x65)
audio PID: 101 (0x65)
Videostream: ASPECT: 4:3  Size = 720x576  FRate: 25 fps  BRate: 15.00 Mbit/s
header block 1 size: 0
Detected MPEG-PS file format!

DEMUXER: Too many (4096 in 8015956 bytes) video packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)
MPEG: No Audio stream found...  ->nosound
VIDEO:  MPEG2  720x576  (aspect 2)  25.00 fps  18750.0 kbps (2343.8 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 768x576 Planar YV12 
vo: X11 running at 1152x864 with depth 16 and 16 bits/pixel (":0.0" => local
display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 50 for hw scaling
[xv] dcx: 1 dcy: 23 dx: 0 dy: 0 dw: 768 dh: 576
Disabling DPMS
stat: 1
Audio: no sound!!!
Start playing...
[xv] dcx: 1 dcy: 23 dx: 0 dy: 0 dw: 768 dh: 576
Successfully enabled DPMS0.0% 0 0 0%
*** free_stream() called ***

Exiting... (End of file)
-------------
End of xterm-log


-- 
Best regards
Wolfgang Wershofen                            mailto:wolfgang@wershofen.com



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index