Soyeb Aswat wrote:
Mehdi,
In france, I could receive and decode the h.264 HD signal using VLC
0.8.5 compiled with a recent version of ffmpeg from subversion
repository which support h.264 MBAFF.
for marseille it is something like :
vlc -vvv dvb-t:adapter=0:frequency=482000000:bandwidth=8
--program=3585
with a athlon64 3400+, 512MB ram, the image is nearly fluid and beautiful.
Thanks for that, I've got it working to the extent that it tunes and
decodes the first picture, but then it freezes :-( I'll post to the vlc
lists for help on that point.
btw, vlc could find the video/audio pid and reported 120/130. but even
using those values for mplayer/xine, I couldn't see the video (but I
got audio). looks like they are expecting mpeg2 even if I force the
codec to h264...
That's a shame because I use mplayer extensively.
Regards,
Soyeb
when dealing with other video codecs than mpeg1/2 in mpeg-ts, tables
(PAT/PMT) are
necessary, because otherwise all video streams will be misrecognized as
mpeg2.
The attached patch permits to specify the format of the video stream,
but don't ask
me to commit it to cvs/cvn (too nasty).
I have dvbsnoop installed, but could you give me more precise
instructions, like which switches to use?
As for decode_pat and decode_pmt, I have libdvbpsi installed but they
don't seem to be a part of it.
decode_p[am]t are in examples/
decode_pat file.ts
decode_pmt file.ts program pid
dvbsnoop is a bit harder to use:
something like
$ dvbsnoop -s ts -pd 7 -tssubdecode -nph -if file.ts > log.txt
where you need to search Stream_type
Nico
Index: cfg-common.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-common.h,v
retrieving revision 1.155
diff -u -r1.155 cfg-common.h
--- cfg-common.h 20 Feb 2006 09:36:09 -0000 1.155
+++ cfg-common.h 6 Mar 2006 22:19:45 -0000
@@ -216,6 +216,7 @@
{"tsprog", &ts_prog, CONF_TYPE_INT, CONF_RANGE, 0, 65534, NULL},
#define TS_MAX_PROBE_SIZE 2000000 /* don't forget to change this in libmpdemux/demux_ts.c too */
{"tsprobe", &ts_probe, CONF_TYPE_POSITION, 0, 0, TS_MAX_PROBE_SIZE, NULL},
+ {"tsvformat", &ts_vformat, CONF_TYPE_INT, 0, 0, 0, NULL},
{"tskeepbroken", &ts_keep_broken, CONF_TYPE_FLAG, 0, 0, 1, NULL},
// draw by slices or whole frame (useful with libmpeg2/libavcodec)
@@ -345,6 +346,7 @@
extern int ts_prog;
extern int ts_keep_broken;
extern off_t ts_probe;
+extern int ts_vformat;
#include "libmpdemux/tv.h"
Index: libmpdemux/demux_ts.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ts.c,v
retrieving revision 1.46
diff -u -r1.46 demux_ts.c
--- libmpdemux/demux_ts.c 4 Mar 2006 11:00:20 -0000 1.46
+++ libmpdemux/demux_ts.c 6 Mar 2006 22:19:45 -0000
@@ -53,6 +53,7 @@
int ts_prog;
+int ts_vformat = 0;
int ts_keep_broken=0;
off_t ts_probe = TS_MAX_PROBE_SIZE;
extern char *dvdsub_lang, *audio_lang; //for -alang
@@ -943,7 +947,7 @@
}
}
sh_video->ds = demuxer->video;
- sh_video->format = params.vtype;
+ sh_video->format = ts_vformat ? ts_vformat : params.vtype;
demuxer->video->sh = sh_video;
}
_______________________________________________
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb