Page 1 of 1
VLC /dev/input mpg1394grab
Posted: 08 Sep 2005 11:11
by mb4ever
Hello,
i will use vlc to display the stream output from mpg1394grab.
mpg1394 convert an firewire stream from a Sony HDV cam to /dev/stdout. It's possible to write the stream to any file. For examble:
mpg1394 | vlc -vvv - --scout file/ps:test_movie.mpg
how must be modificate the line to display the stream???
i test:
mpg1394 | vlc -vvv /dev/stdin
thanks for help
mb4ever
Re: VLC /dev/input mpg1394grab
Posted: 09 Sep 2005 14:44
by xtophe
mpg1394 | vlc -vvv /dev/stdin
That should work or
Posted: 14 Sep 2005 09:04
by mb4ever
Thanks for help!!!
when i start ist:
mpg1394 | vlc -vvv -
it give errors
[00000146] main module debug: using demux2 module "ts"
[00000238] ts demuxer debug: DEMUX_SET_GROUP 0 (nil)
[00000228] main input debug: `-' sucessfully opened
[00000238] ts demuxer debug: pid[2064] unknown
[00000238] ts demuxer debug: pid[2068] unknown
[00000238] ts demuxer debug: pid[129] unknown
[00000238] ts demuxer debug: pid[308] unknown
[00000238] ts demuxer debug: pid[31] unknown
[00000238] ts demuxer debug: pid[2065] unknown
[00000238] ts demuxer debug: pid[2069] unknown
libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 0)
[00000238] ts demuxer debug: PATCallBack called
[00000238] ts demuxer debug: new PAT ts_id=255 version=0 current_next=1
[00000238] ts demuxer debug: * number=0 pid=31
[00000238] ts demuxer debug: * number=100 pid=129
libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 0)
what is the libdvdpsi error??? I use vlc-0.8.1 with redhat el3 is this to old???
Thanks for help
mb4ever
Posted: 14 Sep 2005 14:28
by The DJ
TS discontinuity means the MPEG-TS packets arrived out of order (glitch in your stream). Usually not really something to be worried about.
However in your debug i only see a PAT, not a PMT.
MPEG-TS requires both a PAT and a PMT, otherwise it's not a valid MPEG-TS stream. please inform the creators of mpeg1234 of this.
Posted: 14 Oct 2005 09:19
by mb4ever
Thanks for help!!!
i test: "mpg1394grab > test.avi" and play the test.avi with vlc. it's going.
why???
Thanks
mb4ever