MPEG-TS support (to play recordings from vdr)

Feature requests for VLC.
eweri
Blank Cone
Blank Cone
Posts: 14
Joined: 17 Sep 2004 10:52

MPEG-TS support (to play recordings from vdr)

Postby eweri » 17 Sep 2004 11:17

Hello!

I am running a Linux-box with a DVB-S card and vdr - works really great!
I can record TV-shows and can share it via SMB to my MacOS X boxes.
BUT when I want to play those recordings I can see the video but I can not hear the audio.
AFAIK this is because VLC does not support MPEG-TS (transport stream?)
mplayer can play it, but mplayer for MacOS X is very cpu hungry and has no GUI.
Beside that VLC uses half the cpu resources and has a nice GUI.

So I am really keen on running VLC with my vdr

Bye,
Christoph
You can use QuickTime Player or .... wait ... use VLC - it works better :-)

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 18 Sep 2004 12:24

Hello,

AFAIK, the first format VLC ever supported was MPEG-TS.

So I guess there must be a problem with your stream :)

Could you open the "Messages" window before clicking play and look for warning and/or errors.

You could also post the log here so we can check if we see something wrong.
Zorglub
Clément Stenac

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 19 Sep 2004 12:01

Don't use SMB. There is a problem with apple's smb client that might cause this.
Don't use PMs for support questions.

eweri
Blank Cone
Blank Cone
Posts: 14
Joined: 17 Sep 2004 10:52

Postby eweri » 04 Oct 2004 00:39

Don't use SMB. There is a problem with apple's smb client that might cause this.

Okay tried it with nfs-mount and vlc-0.8.0-test2 and still no luck with sound. Video plays beautifuly but no sound from the vdr-recordings.

I just looked thought the messages-window and found this

ts warning: TS module discarded
main debug: using demux2 module "ps"

Now I wonder how can I tell vlc to use ts module?
AFAIK vdr recordings are MPEG-TS streams,right?

I append messages here:
main debug: CPU has capabilities AltiVec FPU
main debug: looking for memcpy module
main debug: probing 2 candidates
main debug: using memcpy module "memcpyaltivec"
main debug: creating group Normal with id 1 at position 0
main debug: waiting for thread completion
main debug: thread 42094592 (playlist) created at priority -47 (src/playlist/playlist.c:107)
main debug: looking for interface module
main debug: probing 1 candidate
main debug: using interface module "hotkeys"
main debug: interface initialized
main debug: thread 42571776 (interface) created at priority -47 (src/interface/interface.c:176)
main debug: looking for interface module
main debug: probing 2 candidates
main debug: using interface module "macosx"
main debug: interface initialized
main debug: thread 42582528 (manager) created at priority -47 (src/interface/interface.c:152)
main debug: adding playlist item `001.vdr' ( file:///Volumes/192.168.1.3-1/%%Der_Schuh_des_Manitu_-_Extra_Large/2004-03-07.20.13.50.50.rec/001.vdr )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 43322880 (input) created at priority 37 (src/input/input.c:228)
main debug: `file:///Volumes/192.168.1.3-1/%%Der_Schuh_des_Manitu_-_Extra_Large/2004-03-07.20.13.50.50.rec/001.vdr' gives access `file' demux `' path `/Volumes/192.168.1.3-1/%%Der_Schuh_des_Manitu_-_Extra_Large/2004-03-07.20.13.50.50.rec/001.vdr'
main debug: demux2_New: access='file' demux='' path='/Volumes/192.168.1.3-1/%%Der_Schuh_des_Manitu_-_Extra_Large/2004-03-07.20.13.50.50.rec/001.vdr'
main debug: looking for access_demux module
main debug: probing 0 candidates
main warning: no access_demux module matched "file"
main debug: access2_New: access='file' path='/Volumes/192.168.1.3-1/%%Der_Schuh_des_Manitu_-_Extra_Large/2004-03-07.20.13.50.50.rec/001.vdr'
main debug: looking for access2 module
main debug: probing 4 candidates
access_file debug: opening file `/Volumes/192.168.1.3-1/%%Der_Schuh_des_Manitu_-_Extra_Large/2004-03-07.20.13.50.50.rec/001.vdr'
main debug: using access2 module "access_file"
main debug: pre buffering
macosx debug: input has changed, refreshing interface
main debug: received first data for our buffer
main debug: prebuffering done 229369 bytes in 0s - 1258 kbytes/s
main debug: demux2_New: access='file' demux='' path='/Volumes/192.168.1.3-1/%%Der_Schuh_des_Manitu_-_Extra_Large/2004-03-07.20.13.50.50.rec/001.vdr'
main debug: looking for demux2 module
main debug: probing 31 candidates
mp4 warning: MP4 plugin discarded (not a valid file)
avi warning: avi module discarded (invalid header)
asf warning: ASF plugin discarded (not a valid file)
flac warning: flac module discarded (no startcode)
aac warning: AAC module discarded
main debug: looking for id3 module
main debug: probing 2 candidates
id3tag debug: checking for ID3 tag
main debug: using id3 module "id3tag"
main debug: unlocking module "id3tag"
mpga warning: mpga module discarded
mpgv warning: ES module discarded (system startcode)
livedotcom warning: SDP module discarded
mkv warning: matroska module discarded (invalid header 0x000001e0)
ogg warning: ogg module discarded (invalid header)
aiff warning: AIFF module discarded
au warning: AU module discarded
mod warning: MOD module discarded (extention '168.1.3-1/%%Der_Schuh_des_Manitu_-_Extra_Large/2004-03-07.20.13.50.50.rec/001.vdr' unknown)
nsv warning: NSV module discarded
playlist warning: old import module discarded: invalid file
playlist warning: pls import module discarded
pva warning: PVA module discarded
ts warning: TS module discarded
main debug: using demux2 module "ps"
main debug: `file:///Volumes/192.168.1.3-1/%%Der_Schuh_des_Manitu_-_Extra_Large/2004-03-07.20.13.50.50.rec/001.vdr' sucessfully opened
main debug: Selecting program id=0
main debug: looking for decoder module
main debug: probing 22 candidates
main debug: using decoder module "libmpeg2"
main debug: thread 43521536 (decoder) created at priority -47 (src/input/decoder.c:157)
libmpeg2 debug: 720x576, aspect 576000, 25.000 fps
main debug: no usable vout present, spawning one
main debug: looking for video output module
main debug: probing 4 candidates
main debug: control type=1
main debug: looking for decoder module
main debug: probing 22 candidates
opengl debug: Texture size: 720x576
main debug: looking for opengl provider module
main debug: probing 1 candidate
macosx debug: display is Quartz Extreme accelerated
main debug: Registering subpicture channel, ID: 2
main debug: Registering subpicture channel, ID: 3
main debug: Registering subpicture channel, ID: 4
main debug: Registering subpicture channel, ID: 5
main debug: using decoder module "lpcm"
main debug: thread 43572224 (decoder) created at priority 37 (src/input/decoder.c:157)
main debug: using opengl provider module "macosx"
main debug: using video output module "opengl"
main debug: waiting for thread completion
main debug: got 1 direct buffer(s)
main debug: picture in 720x576, chroma 0x49343230 (I420), aspect ratio 4:3
main debug: picture out 720x576, chroma 0x59555932 (YUY2), aspect ratio 4:3
main debug: looking for chroma module
main debug: probing 6 candidates
main debug: using chroma module "i420_yuy2_altivec"
main debug: indirect render, mapping render pictures 0-7 to system pictures 1-8
main debug: thread 43823616 (video output) created at priority 37 (src/video_output/video_output.c:448)
main debug: stream periodicity changed from B[1] to B[2]
main debug: stream periodicity changed from P[5] to P[1]
main debug: stream periodicity changed from P[1] to P[3]
main debug: thread 43572224: secret message triggered at src/misc/block.c:227 (Operation timed out)
main debug: stream periodicity changed from P[3] to P[1]
You can use QuickTime Player or .... wait ... use VLC - it works better :-)

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 04 Oct 2004 01:04

I didn't say that WAS the cause, but it is a common problem.

Looking at your debug log, i see not even the faintest hint that there even is audio in this file. If there was audio, then there should be something in this log to indicate multiple streams or something and there is not. So this is not a normal ps file. it might be that the audio is in another programstream, however, that would be really weird.

You can upload a sample (couple MBs) to ftp://streams.videolan.org/incoming and report here, if you want us to take a look.
Don't use PMs for support questions.

eweri
Blank Cone
Blank Cone
Posts: 14
Joined: 17 Sep 2004 10:52

Postby eweri » 04 Oct 2004 10:43

I didn't say that WAS the cause, but it is a common problem.

Looking at your debug log, i see not even the faintest hint that there even is audio in this file. If there was audio, then there should be something in this log to indicate multiple streams or something and there is not. So this is not a normal ps file. it might be that the audio is in another programstream, however, that would be really weird.

You can upload a sample (couple MBs) to ftp://streams.videolan.org/incoming and report here, if you want us to take a look.
Sorry, but this is an MPEG-TS file that plays beautifully with mplayer -- but VLC does not detect it as a TS format - vlc mistakingly detects it as a PS format. When I open the Information window it tells me that there are two streams. Is there a possibility to force VLC to use tc-decoding?

I am trying to put a sample on your server.
Thanks, bye,
eweri
You can use QuickTime Player or .... wait ... use VLC - it works better :-)

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 04 Oct 2004 15:09

I don't think that's possible. I've seen a lot of mpeg samples, and if you try to force the other format that NEVER works. TS and PS are completely different. (That's why TS usually doesn't work in a lot of applications).

You can force by adding a file like this: file/ts:///path/file.vcd
instead of /path/file.vcd or file:///path/file.vcd
Use the "Open File" Dialog.
Don't use PMs for support questions.

eweri
Blank Cone
Blank Cone
Posts: 14
Joined: 17 Sep 2004 10:52

Postby eweri » 13 Oct 2004 10:46

I don't think that's possible. I've seen a lot of mpeg samples, and if you try to force the other format that NEVER works. TS and PS are completely different. (That's why TS usually doesn't work in a lot of applications).

You can force by adding a file like this: file/ts:///path/file.vcd
instead of /path/file.vcd or file:///path/file.vcd
Use the "Open File" Dialog.
I am sorry. I just played around with mplayer. Mplayer tells me that this is an MPEG-PES formated file. :-(
Sorry for making a lot of noise with worng statements.

I will search the forums for MPEG-PES.

Bye,
Christoph
You can use QuickTime Player or .... wait ... use VLC - it works better :-)


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 3 guests