Re: [Redbutton-devel] Small changes to rb for Fedora 9
Brought to you by:
skilvington
|
From: Simon K. <s.k...@er...> - 2008-06-13 09:33:20
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrea wrote: > Simon Kilvington wrote: > >> not sure why the audio does not play in News Multiscreen - it works for >> me - the error you get seems to suggest it is trying to open an audio >> stream that does not exist - if you run rb-browser with the -v flag and >> send me a log of the output, I'll see if I can work out what is going >> wrong > > I have run it with -v and I have uploaded the file here > > http://xoomer.alice.it/enodetti/log/rb-br.log > > Interesting to note is the following: > > MHEGStreamPlayer_setAudioStream: tag=53 > MHEGStreamPlayer_play: service_id=16768 audio_tag=53 video_tag=0 > Unable to open MPEG stream (16768, 53, 0) > ElementaryAction_set_variable > OctetStringVariableClass: ~//s/newsloops.mhg 93; SetVariable > SetVariable: OctetString '~/c/vidloop4' > Processing next asynchronous event > Generated event: ~//s/newsloops.mhg 87; content_available > Processing next asynchronous event > Generated event: ~//a 134; stream_stopped > Processing next asynchronous event > Generated event: ~//a 136; stream_playing > MPEG TS demux: ignoring unexpected PID 404 > MPEG TS demux: ignoring unexpected PID 403 > MPEG TS demux: ignoring unexpected PID 406 > MPEG TS demux: ignoring unexpected PID 405 > > The News Multiscreen channel broadcasts with the following PIDs: > > Video: 202 > Audios: 403, 404, 405, 406 > > Could it be that rb is expecting 53 instead of one of the audios? > > Andrea > MHEG uses "association tags" which are mapped onto PIDs - can you do: rb-download 16768 then in another terminal use netcat to connect to port 10101 (this is the port rb-download listens on) and type "assoc", ie: nc 127.0.0.1 10101 assoc this should tell us what tags map to what PIDS - here's what I got: srk@earwig ~ $ nc 127.0.0.1 10101 assoc 200 OK Tag PID Type === === ==== (audio) 0 0 (video) 0 0 1 202 6 101 301 11 102 302 11 103 303 11 104 304 11 105 305 11 110 312 11 115 313 13 2 403 3 51 404 6 52 405 6 53 406 6 . it's also a bit odd that you get those message saying "ignoring unexpected PID 404" etc - that seems to imply that it has opened the MPEG stream, but it contains PIDs that we are not expecting - the PIDs we want are supposed to be filtered out by the hardware to help debug where the open stream is failing, you could look at the open_stream function in MHEGBackend.c - everywhere you see a return NULL you could put a printf so we can see what is causing the failure - -- Simon Kilvington -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIUj7Smt9ZifioJSwRAlzdAKCAQuBIwjj6/Ukvcvqq1Na0/VSxNwCfUWbq hvtWFEn0Qe6VZmSYIsbIRtU= =m0b6 -----END PGP SIGNATURE----- |