pipelka / xbmc-addon-xvdr

DISCONTINUED - Standalone XVDR addon for XBMC
GNU General Public License v2.0
43 stars 17 forks source link

No AC3 Sound Stream #91

Closed DomenicTroilo closed 11 years ago

DomenicTroilo commented 11 years ago

AC3 Sound is never an option when selecting a sound channel watching Live TV. If a channel has both Stereo and AC3 only Stereo is a sound option. On channels that ONLY supply AC3 Stream I can not get any sound; when looking at the sound options I can only select None

Using latest git pull.

pipelka commented 11 years ago

Please record a couple of seconds of this channel for me to analyze (just do a recording with XBMC). I also need the corresponding VDR channels.conf entry.

Thanks, Alex

DomenicTroilo commented 11 years ago

I have saved the file to my google drive here: https://docs.google.com/file/d/0B0c1jpaziDZ-b3JUVzZZNTNSSE0/edit?usp=sharing Note that after I recorded the file, I was able to play it back with sound. The playback of the saved file showed AC3 stream, so it is recorded and plays back fine. Note this channel/recording only has AC3 Sound.

OASIS:12632:VC23M5:S82.0W:21500:5393=27:0;5396=@106:0:1815,1841:810:257:129:810

pipelka commented 11 years ago

I just tested this stream and everything works as expected. Which version of the VDR plugin are you using ?

Please rebuild the latest VDR plugin with:

make clean
make DEBUG=1

and post the log messages.

DomenicTroilo commented 11 years ago

Here is the log file:

Feb 13 06:40:59 debian-xbmc vdr: [5092] XVDR: -------------------------------------- Feb 13 06:40:59 debian-xbmc vdr: [5092] XVDR: Channel streaming request: 201 - CTV-H Feb 13 06:40:59 debian-xbmc vdr: [5092] XVDR: Found available device 1 Feb 13 06:40:59 debian-xbmc vdr: [5092] XVDR: cStreamdevPatFilter("CTV-H") Feb 13 06:40:59 debian-xbmc vdr: [5094] XVDR: LiveQueue started Feb 13 06:40:59 debian-xbmc vdr: [5092] XVDR: Creating demuxers Feb 13 06:40:59 debian-xbmc vdr: [5092] XVDR: Channel information found in cache Feb 13 06:40:59 debian-xbmc vdr: [5092] XVDR: Stream: MPEG2VIDEO PID: 4369 704x480 DAR: 1.33 (parsed: yes) Feb 13 06:40:59 debian-xbmc vdr: [5092] XVDR: Stream: MPEG2AUDIO PID: 4371 48000 Hz, 2 channels, Lang: eng (parsed: yes) Feb 13 06:40:59 debian-xbmc vdr: [5092] XVDR: Stream: MPEG2AUDIO PID: 4373 48000 Hz, 1 channels, Lang: san (parsed: yes) Feb 13 06:41:00 debian-xbmc vdr: [5092] XVDR: Starting PAT scanner Feb 13 06:41:00 debian-xbmc vdr: [5092] XVDR: Successfully switched to channel 201 - CTV-H Feb 13 06:41:00 debian-xbmc vdr: [5092] XVDR: Started streaming of channel CTV-H (timeout 3 seconds, priority 25) Feb 13 06:41:00 debian-xbmc vdr: [5092] XVDR: RequestSignalInfo Feb 13 06:41:00 debian-xbmc vdr: [4481] XVDR: PMT scanner adding PID 4369 (ISO/IEC 13818-2 Video) Feb 13 06:41:00 debian-xbmc vdr: [4481] XVDR: PMT scanner adding PID 4371 (ISO/IEC 13818-3 Audio) (eng) Feb 13 06:41:00 debian-xbmc vdr: [4481] XVDR: PMT scanner adding PID 4373 (ISO/IEC 13818-3 Audio) (san) Feb 13 06:41:01 debian-xbmc vdr: [5097] XVDR: streaming of channel started Feb 13 06:41:01 debian-xbmc vdr: [5097] XVDR: sendStreamChange Feb 13 06:41:01 debian-xbmc vdr: [5097] XVDR: Stored channel information in cache: Feb 13 06:41:01 debian-xbmc vdr: [5097] XVDR: Stream: MPEG2VIDEO PID: 4369 704x480 DAR: 1.33 (parsed: yes) Feb 13 06:41:01 debian-xbmc vdr: [5097] XVDR: Stream: MPEG2AUDIO PID: 4371 48000 Hz, 2 channels, Lang: eng (parsed: yes) Feb 13 06:41:01 debian-xbmc vdr: [5097] XVDR: Stream: MPEG2AUDIO PID: 4373 48000 Hz, 1 channels, Lang: san (parsed: yes) Feb 13 06:41:01 debian-xbmc vdr: [5097] XVDR: Stream : Type MPEG2VIDEO / Weight: 8000EEEE Feb 13 06:41:01 debian-xbmc vdr: [5097] XVDR: Stream : Type MPEG2AUDIO / eng Weight: 00A4EEEC Feb 13 06:41:01 debian-xbmc vdr: [5097] XVDR: Stream : Type MPEG2AUDIO / san Weight: 0084EEEA Feb 13 06:41:05 debian-xbmc vdr: [5092] XVDR: RequestSignalInfo Feb 13 06:41:10 debian-xbmc vdr: [5092] XVDR: RequestSignalInfo Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Started to delete live streamer Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Stopping streamer thread ... Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Done. Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Detaching Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Deleting stream demuxer for pid=4369 and type=6 Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Deleting stream demuxer for pid=4371 and type=1 Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Deleting stream demuxer for pid=4373 and type=1 Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Deleting LiveQueue Feb 13 06:41:12 debian-xbmc vdr: [5094] XVDR: LiveQueue stopped Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Finished to delete live streamer (took 28 ms) Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: -------------------------------------- Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Channel streaming request: 810 - OASIS Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Found available device 1 Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: cStreamdevPatFilter("OASIS") Feb 13 06:41:12 debian-xbmc vdr: [5116] XVDR: LiveQueue started Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Creating demuxers Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Channel information found in cache Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Stream: H264 PID: 5393 1280x720 DAR: 1.78 (parsed: yes) Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Starting PAT scanner Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Successfully switched to channel 810 - OASIS Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Started streaming of channel OASIS (timeout 3 seconds, priority 25) Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error Feb 13 06:41:20 debian-xbmc vdr: [5092] XVDR: RequestSignalInfo Feb 13 06:41:25 debian-xbmc vdr: [5092] XVDR: RequestSignalInfo Feb 13 06:41:30 debian-xbmc vdr: [5092] XVDR: RequestSignalInfo Feb 13 06:41:35 debian-xbmc vdr: [5092] XVDR: RequestSignalInfo Feb 13 06:41:40 debian-xbmc vdr: [5092] XVDR: RequestSignalInfo Feb 13 06:41:45 debian-xbmc vdr: [5092] XVDR: RequestSignalInfo Feb 13 06:41:50 debian-xbmc vdr: [5092] XVDR: RequestSignalInfo Feb 13 06:41:52 debian-xbmc vdr: [5092] XVDR: Started to delete live streamer Feb 13 06:41:52 debian-xbmc vdr: [5092] XVDR: Stopping streamer thread ... Feb 13 06:41:52 debian-xbmc vdr: [5092] XVDR: Done. Feb 13 06:41:52 debian-xbmc vdr: [5092] XVDR: Detaching Feb 13 06:41:52 debian-xbmc vdr: [5092] XVDR: Deleting stream demuxer for pid=5393 and type=7 Feb 13 06:41:52 debian-xbmc vdr: [5092] XVDR: Deleting LiveQueue Feb 13 06:41:52 debian-xbmc vdr: [5116] XVDR: LiveQueue stopped Feb 13 06:41:52 debian-xbmc vdr: [5092] XVDR: Finished to delete live streamer (took 40 ms) Feb 13 06:41:52 debian-xbmc vdr: [4485] XVDR: Client with ID 1 seems to be disconnected, removing from client list Feb 13 06:41:52 debian-xbmc vdr: [4485] XVDR: ~cXVDRClient Feb 13 06:41:52 debian-xbmc vdr: [4485] XVDR: done Feb 13 06:41:55 debian-xbmc vdr: [4473] stopping plugin: xvdr Feb 13 06:41:55 debian-xbmc vdr: [4473] XVDR: ~cXVDRClient Feb 13 06:41:55 debian-xbmc vdr: [4473] XVDR: done Feb 13 06:41:55 debian-xbmc vdr: [4473] XVDR: XVDR Server stopped

pipelka commented 11 years ago

There are a bunch of packets having the TEI (transport error indicator) set. That signals an uncorrectable error in the transport stream packet. Could be a reception problem.

But I don't understand why your recorded stream worked for me without any problems. Your recorded stream produces the following output:

Feb 13 16:13:27 shuttle vdr: [16013] XVDR: Welcome client 'XVDR Client' with protocol version '4'
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: Preferred language: eng,dos / type: 2
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: --------------------------------------
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: Channel streaming request: 13 - OASIS
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: Found available device 2
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: cStreamdevPatFilter("OASIS")
Feb 13 16:13:27 shuttle vdr: [16015] XVDR: LiveQueue started
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: Creating demuxers
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: Channel information found in cache
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: Stream: H264 PID: 5393 0x0 DAR: 0.00 (parsed: no)
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: Stream: AC3 PID: 5396 0 Hz, 0 channels, Lang:  (parsed: no)
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: Starting PAT scanner
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: Successfully switched to channel 13 - OASIS
Feb 13 16:13:27 shuttle vdr: [16016] receiver on device 9 thread started (pid=15893, tid=16016)
Feb 13 16:13:27 shuttle vdr: [16017] IPTV streamer thread started (pid=15893, tid=16017)
Feb 13 16:13:27 shuttle vdr: [16013] XVDR: Started streaming of channel OASIS (timeout 10 seconds, priority 50)
Feb 13 16:13:27 shuttle vdr: [16018] cLiveStreamer stream processor thread started (pid=15893, tid=16018)
Feb 13 16:13:28 shuttle vdr: [16013] XVDR: RequestSignalInfo
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: --------------------------------------
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: NEW PICTURE INFORMATION:
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Picture Width: 1280
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Picture Height: 720
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Display Aspect Ratio: 1.78
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: --------------------------------------
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Stream with PID 5396 not parsed
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: --------------------------------------
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: NEW AUDIO INFORMATION:
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Channels: 2
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Samplerate: 48000 Hz
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Bitrate: 192000 bps
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: --------------------------------------
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: streaming of channel started
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: sendStreamChange
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Stored channel information in cache:
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Stream: H264 PID: 5393 1280x720 DAR: 1.78 (parsed: yes)
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Stream: AC3 PID: 5396 48000 Hz, 2 channels, Lang:  (parsed: yes)
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Stream : Type H264 /  Weight: 8000EAEE
Feb 13 16:13:28 shuttle vdr: [16018] XVDR: Stream : Type AC3 /  Weight: 0094EAEB
Feb 13 16:13:33 shuttle vdr: [16013] XVDR: RequestSignalInfo
Feb 13 16:13:34 shuttle vdr: [16013] XVDR: Started to delete live streamer
Feb 13 16:13:34 shuttle vdr: [16013] XVDR: Stopping streamer thread ...

I'm stuck. You should first get rid of the transport errors. Maybe there is a signal quality problem.

Sorry, Alex

DomenicTroilo commented 11 years ago

Not a signal issue, VDR plays the channel with sound; and as you can see VDR records the channel fine as well. Note that the Video looks fine when played with VDR or XBMC, just XBMC does not send the AC3 Sound through. In the log before the transport error I would have expected to see the H264 Stream then the Audio Stream just like the playback but it looks like it never attempts to determine the Audio Stream. Why would that be?

Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Stream: H264 PID: 5393 1280x720 DAR: 1.78 (parsed: yes) Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Starting PAT scanner Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Successfully switched to channel 810 - OASIS Feb 13 06:41:12 debian-xbmc vdr: [5092] XVDR: Started streaming of channel OASIS (timeout 3 seconds, priority 25) Feb 13 06:41:12 debian-xbmc vdr: [5118] XVDR-Error: transport error

DomenicTroilo commented 11 years ago

I am in North America and we used to have to patch VDR to allow for the DVB AC3 Stream on PID 0x81. VDR was updated to check for this PID automatically (see pat.c for parsing information). Is it possible that you are not looking for this PID in the transport stream?

DomenicTroilo commented 11 years ago

There is code in livepatfilter.c to get PID 0x81 out of the stream I am not a great coder but it does look very different than how VDR parses 0x81; so here is the VDR code to parse 0x81 case 0x81: // STREAMTYPE_USER_PRIVATE if (Setup.StandardCompliance == STANDARD_ANSISCTE) { // ATSC A/53 AUDIO (ANSI/SCTE 57) char lang[MAXLANGCODE1] = { 0 }; SI::Descriptor d; for (SI::Loop::Iterator it; (d = stream.streamDescriptors.getNext(it)); ) { switch (d->getDescriptorTag()) { case SI::ISO639LanguageDescriptorTag: { SI::ISO639LanguageDescriptor ld = (SI::ISO639LanguageDescriptor *)d; strn0cpy(lang, I18nNormalizeLanguageCode(ld->languageCode), MAXLANGCODE1); } break; default: ; } delete d; } if (NumDpids < MAXDPIDS) { Dpids[NumDpids] = esPid; Dtypes[NumDpids] = SI::AC3DescriptorTag; strn0cpy(DLangs[NumDpids], lang, MAXLANGCODE1); NumDpids++; } ProcessCaDescriptors = true; break; }

pipelka commented 11 years ago

I took a second look and found that the PAT/PMT scanning doesn't work for this stream. It tries to use the VDR channel information in this case. Maybe the channelcache is corrupted (or outdated). Please try to remove the "channelcache.dat" file (in /etc/vdr/plugins/xvdr) before starting VDR (only once to regenerate the cache). It should work. I have to take a look at PAT/PMT scanning, ...

DomenicTroilo commented 11 years ago

The VDR code was updated to include North American Support with the inclusion of the variable StandardCompliance to allow for ATSC AC3 audio. If you can access this variable that would allow you to parse specifically for North America DVB just like the VDR code and parse 0x81 just like VDR does.... Thanks for looking into this!

pipelka commented 11 years ago

Ok. I found out that the SID/NID/TID values in your "channels.conf" are wrong. This is the reason why the PAT/PMT scanner doesn't scan the stream. Please pull the latest "master" of the VDR plugin. The issue should be fixed: pipelka/vdr-plugin-xvdr@ef791e3b6ae61f98c2d1d353dab7d81a590cea28

pipelka commented 11 years ago

I reverted the last commit because it messed up PAT/PMT scanning. Please check the NID/TID/SID values in your "channels.conf".

DomenicTroilo commented 11 years ago

This is my channels.conf entry from above

OASIS:12632:VC23M5:S82.0W:21500:5393=27:0;5396=@106:0:1815,1841:810:257:129:810

The values are from the latest sat scan and the same as those posted on http://www.lyngsat.com/hd/nimiq4.html

SID - 810 NID - 257 TID - 129

Not certain on how I could see if they are not correct. Also VDR has no issue when playing the channel. Can you add some debug code (just post a patch here if you like) to display what xvdr thinks the values are? Can you tell me what to grep out of the channelcache.data to validate it is correct?

pipelka commented 11 years ago

Here a patch to log the SID of the PAT. It's never equal to the SID of the channel, which means that the PMT doesn't get parsed:

diff --git a/src/live/livepatfilter.c b/src/live/livepatfilter.c
index a424911..aa67e2b 100644
--- a/src/live/livepatfilter.c
+++ b/src/live/livepatfilter.c
@@ -290,6 +290,9 @@ void cLivePatFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Le
        XVDRChannels.Lock(false);
         const cChannel *Channel =  XVDRChannels.Get()->GetByServiceID(Source(), Transponder(), assoc.getServiceId());

+        INFOLOG("SID: %i", assoc.getServiceId());
+        INFOLOG("Transponder: %i", Transponder());
+
         if (Channel && (Channel == m_Channel))
         {
           int prevPmtPid = m_pmtPid;

The transponder entry is specific to my testing environment and meaningless.

Generated log with patch:

Feb 14 19:59:52 shuttle vdr: [29210] XVDR: Welcome client 'XVDR Client' with protocol version '4'
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: Preferred language: eng,dos / type: 2
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: --------------------------------------
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: Channel streaming request: 13 - OASIS
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: Found available device 2
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: cStreamdevPatFilter("OASIS")
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: Creating demuxers
Feb 14 19:59:52 shuttle vdr: [29212] XVDR: LiveQueue started
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: Channel information found in cache
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: Stream: H264 PID: 5393 1280x720 DAR: 1.78 (parsed: yes)
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: Stream: AC3 PID: 5396 48000 Hz, 2 channels, Lang:  (parsed: yes)
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: Starting PAT scanner
Feb 14 19:59:52 shuttle vdr: [29213] receiver on device 9 thread started (pid=29161, tid=29213)
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: Successfully switched to channel 13 - OASIS
Feb 14 19:59:52 shuttle vdr: [29210] XVDR: Started streaming of channel OASIS (timeout 10 seconds, priority 50)
Feb 14 19:59:52 shuttle vdr: [29215] cLiveStreamer stream processor thread started (pid=29161, tid=29215)
Feb 14 19:59:52 shuttle vdr: [29214] IPTV streamer thread started (pid=29161, tid=29214)
Feb 14 19:59:53 shuttle vdr: [29210] XVDR: RequestSignalInfo
Feb 14 19:59:53 shuttle vdr: [29215] XVDR: streaming of channel started
Feb 14 19:59:53 shuttle vdr: [29215] XVDR: sendStreamChange
Feb 14 19:59:53 shuttle vdr: [29215] XVDR: Stored channel information in cache:
Feb 14 19:59:53 shuttle vdr: [29215] XVDR: Stream: H264 PID: 5393 1280x720 DAR: 1.78 (parsed: yes)
Feb 14 19:59:53 shuttle vdr: [29215] XVDR: Stream: AC3 PID: 5396 48000 Hz, 2 channels, Lang:  (parsed: yes)
Feb 14 19:59:53 shuttle vdr: [29215] XVDR: Stream : Type H264 /  Weight: 8000EAEE
Feb 14 19:59:53 shuttle vdr: [29215] XVDR: Stream : Type AC3 /  Weight: 0094EAEB
Feb 14 19:59:53 shuttle vdr: [29170] XVDR: SID: 132
Feb 14 19:59:53 shuttle vdr: [29170] XVDR: Transponder: 14
Feb 14 19:59:54 shuttle vdr: [29171] XVDR: Checking for channel updates ...
Feb 14 19:59:54 shuttle vdr: [29171] XVDR: Client 0: 18 channels, no change
Feb 14 19:59:54 shuttle vdr: [29171] XVDR: Done.
Feb 14 19:59:54 shuttle vdr: [29170] XVDR: SID: 132
Feb 14 19:59:54 shuttle vdr: [29170] XVDR: Transponder: 14
Feb 14 19:59:54 shuttle vdr: [29161] max. latency time 1 seconds
Feb 14 19:59:56 shuttle vdr: [29170] XVDR: SID: 132
Feb 14 19:59:56 shuttle vdr: [29170] XVDR: Transponder: 14
Feb 14 19:59:58 shuttle vdr: [29210] XVDR: RequestSignalInfo
Feb 14 19:59:58 shuttle vdr: [29210] XVDR: Started to delete live streamer
DomenicTroilo commented 11 years ago

Here is the log, it finds the sound from the cache with no channels then attempts to parse the stream and fails.

Feb 15 06:59:14 debian-xbmc vdr: [4462] XVDR: -------------------------------------- Feb 15 06:59:14 debian-xbmc vdr: [4462] XVDR: Channel streaming request: 810 - OASIS Feb 15 06:59:14 debian-xbmc vdr: [4462] XVDR: Found available device 1 Feb 15 06:59:14 debian-xbmc vdr: [4462] EEPG: setstatus 0 Feb 15 06:59:14 debian-xbmc vdr: [4541] TS buffer on device 1 thread ended (pid=2221, tid=4541) Feb 15 06:59:14 debian-xbmc vdr: [4540] buffer stats: 38728 (0%) used Feb 15 06:59:14 debian-xbmc vdr: [4540] receiver on device 1 thread ended (pid=2221, tid=4540) Feb 15 06:59:14 debian-xbmc vdr: [4462] XVDR: cStreamdevPatFilter("OASIS") Feb 15 06:59:14 debian-xbmc vdr: [4570] XVDR: LiveQueue started Feb 15 06:59:14 debian-xbmc vdr: [4462] XVDR: Channel information found in cache Feb 15 06:59:14 debian-xbmc vdr: [4462] XVDR: Stream: H264 PID: 5393 0x0 DAR: 0.00 (parsed: no) Feb 15 06:59:14 debian-xbmc vdr: [4462] XVDR: Stream: AC3 PID: 5396 0 Hz, 0 channels, Lang: (parsed: no) Feb 15 06:59:14 debian-xbmc vdr: [4462] XVDR: Successfully switched to channel 810 - OASIS Feb 15 06:59:14 debian-xbmc vdr: [4571] receiver on device 1 thread started (pid=2221, tid=4571, prio=high) Feb 15 06:59:14 debian-xbmc vdr: [4462] XVDR: Started streaming of channel OASIS (timeout 3 seconds, priority 25) Feb 15 06:59:14 debian-xbmc vdr: [4572] cLiveStreamer stream processor thread started (pid=2221, tid=4572, prio=high) Feb 15 06:59:14 debian-xbmc vdr: [4573] TS buffer on device 1 thread started (pid=2221, tid=4573, prio=high) Feb 15 06:59:14 debian-xbmc vdr: [4572] XVDR: -------------------------------------- Feb 15 06:59:14 debian-xbmc vdr: [4572] XVDR: NEW AUDIO INFORMATION: Feb 15 06:59:14 debian-xbmc vdr: [4572] XVDR: Channels: 2 Feb 15 06:59:14 debian-xbmc vdr: [4572] XVDR: Samplerate: 48000 Hz Feb 15 06:59:14 debian-xbmc vdr: [4572] XVDR: Bitrate: 192000 bps Feb 15 06:59:14 debian-xbmc vdr: [4572] XVDR: -------------------------------------- Feb 15 06:59:15 debian-xbmc vdr: [2228] EEPG: setstatus 0 Feb 15 06:59:15 debian-xbmc vdr: [2228] EEPG: setstatus 1 Feb 15 06:59:15 debian-xbmc vdr: [2228] EEPG: Filter Pid:0,Tid:0 added. Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: PMT scanner adding PID 5393 (ISO/IEC 14496-10 Video (MPEG-4 part 10/AVC, aka H.264)) Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: NOT adding PID 5396 (type 0x81) RegDesc not found -> UNKNOWN Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: PMT scanner: NOT adding PID 5396 (UNKNOWN) UNKNOWN Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Stream: H264 PID: 5393 0x0 DAR: 0.00 (parsed: no) Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Currently unknown new streams found, requesting stream change Feb 15 06:59:15 debian-xbmc vdr: [4573] TS buffer on device 1 thread ended (pid=2221, tid=4573) Feb 15 06:59:15 debian-xbmc vdr: [4571] buffer stats: 60160 (1%) used Feb 15 06:59:15 debian-xbmc vdr: [4571] receiver on device 1 thread ended (pid=2221, tid=4571) Feb 15 06:59:15 debian-xbmc vdr: [4575] receiver on device 1 thread started (pid=2221, tid=4575, prio=high) Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [4576] TS buffer on device 1 thread started (pid=2221, tid=4576, prio=high) Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [4572] XVDR: -------------------------------------- Feb 15 06:59:15 debian-xbmc vdr: [4572] XVDR: NEW PICTURE INFORMATION: Feb 15 06:59:15 debian-xbmc vdr: [4572] XVDR: Picture Width: 1280 Feb 15 06:59:15 debian-xbmc vdr: [4572] XVDR: Picture Height: 720 Feb 15 06:59:15 debian-xbmc vdr: [4572] XVDR: Display Aspect Ratio: 1.78 Feb 15 06:59:15 debian-xbmc vdr: [4572] XVDR: -------------------------------------- Feb 15 06:59:15 debian-xbmc vdr: [4572] XVDR: streaming of channel started Feb 15 06:59:15 debian-xbmc vdr: [4572] XVDR: Stored channel information in cache: Feb 15 06:59:15 debian-xbmc vdr: [4572] XVDR: Stream: H264 PID: 5393 1280x720 DAR: 1.78 (parsed: yes) Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 810 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: Transponder: 212632 Feb 15 06:59:15 debian-xbmc vdr: [2228] XVDR: SID: 322

pipelka commented 11 years ago

Wow, this really gets interresting. This means there must be a difference between the recording and the live stream. I really thought the AC3 case is handled. Thanks for the log. I'll try to fix this.

DomenicTroilo commented 11 years ago

I am sure this works in Europe, but in North America the AC3 uses PID type 0x81 differently... For many years we had to patch VDR to get AC3 Sound to work, this is similar I suppose. If you do not want to update GIT you can post patches here or if you want to create a different branch for testing this I am fine with that too. No rush on this I don't tend to use XBMC (yet) for live TV I have not convinced the wife that it is better than VDR with xineliboutput front end.

pipelka commented 11 years ago

Please checkout this commit: pipelka/vdr-plugin-xvdr@a2f2dd9 from the "ac3" branch.

PS: I can confirm that XBMC (with xvdr, of course) is "wife-proof" ;-)

pipelka commented 11 years ago

Sorry, the patch has a bug. Here is an updated version: pipelka/vdr-plugin-xvdr@4ec2c6b

DomenicTroilo commented 11 years ago

Thanks for the patch I can't test until I get home. :-)

My wife does not like change, if only the XBMC epg display looked more like yaepghd with the channel in the top right corner and full channel information to the left of it.... and the fact that you can't move to a specific channel (type in the channel number) in the epg display is a bit of a let down. But then it can only improve if I ask for this type of change (which I have not attempted to do yet) Do you know of a better skin to allow for this?

DomenicTroilo commented 11 years ago

That is perfect this issue is resolved. Do you want to see the log?

pipelka commented 11 years ago

Yes. Please. I would like to know if the language is detected correctly.

DomenicTroilo commented 11 years ago

Here it is (no lang found) Feb 15 21:28:08 debian-xbmc vdr: [31116] XVDR: -------------------------------------- Feb 15 21:28:08 debian-xbmc vdr: [31116] XVDR: Channel streaming request: 810 - OASIS Feb 15 21:28:08 debian-xbmc vdr: [31116] XVDR: Found available device 1 Feb 15 21:28:08 debian-xbmc vdr: [31116] EEPG: setstatus 0 Feb 15 21:28:08 debian-xbmc vdr: [31160] TS buffer on device 1 thread ended (pid=22455, tid=31160) Feb 15 21:28:08 debian-xbmc vdr: [31116] XVDR: cStreamdevPatFilter("OASIS") Feb 15 21:28:08 debian-xbmc vdr: [31171] XVDR: LiveQueue started Feb 15 21:28:08 debian-xbmc vdr: [31116] XVDR: Creating demuxers Feb 15 21:28:08 debian-xbmc vdr: [31116] XVDR: Channel information found in cache Feb 15 21:28:08 debian-xbmc vdr: [31116] XVDR: Stream: H264 PID: 5393 1280x720 DAR: 1.78 (parsed: yes) Feb 15 21:28:08 debian-xbmc vdr: [31159] buffer stats: 69184 (1%) used Feb 15 21:28:08 debian-xbmc vdr: [31159] receiver on device 1 thread ended (pid=22455, tid=31159) Feb 15 21:28:09 debian-xbmc vdr: [31116] XVDR: Starting PAT scanner Feb 15 21:28:09 debian-xbmc vdr: [31172] receiver on device 1 thread started (pid=22455, tid=31172, prio=high) Feb 15 21:28:09 debian-xbmc vdr: [31116] XVDR: Successfully switched to channel 810 - OASIS Feb 15 21:28:09 debian-xbmc vdr: [31116] XVDR: Started streaming of channel OASIS (timeout 3 seconds, priority 25) Feb 15 21:28:09 debian-xbmc vdr: [31173] cLiveStreamer stream processor thread started (pid=22455, tid=31173, prio=high) Feb 15 21:28:09 debian-xbmc vdr: [31175] TS buffer on device 1 thread started (pid=22455, tid=31175, prio=high) Feb 15 21:28:09 debian-xbmc vdr: [22463] EEPG: setstatus 0 Feb 15 21:28:09 debian-xbmc vdr: [22463] EEPG: setstatus 1 Feb 15 21:28:09 debian-xbmc vdr: [22463] EEPG: Filter Pid:0,Tid:0 added. Feb 15 21:28:10 debian-xbmc vdr: [22463] XVDR: PMT scanner adding PID 5393 (ISO/IEC 14496-10 Video (MPEG-4 part 10/AVC, aka H.264)) Feb 15 21:28:10 debian-xbmc vdr: [22463] XVDR: PMT scanner: adding PID 5396 AC3 () Feb 15 21:28:10 debian-xbmc vdr: [22463] XVDR: Stream: H264 PID: 5393 1280x720 DAR: 1.78 (parsed: yes) Feb 15 21:28:10 debian-xbmc vdr: [22463] XVDR: Stream: AC3 PID: 5396 0 Hz, 0 channels, Lang: (parsed: no) Feb 15 21:28:10 debian-xbmc vdr: [22463] XVDR: Currently unknown new streams found, requesting stream change Feb 15 21:28:10 debian-xbmc vdr: [31175] TS buffer on device 1 thread ended (pid=22455, tid=31175) Feb 15 21:28:10 debian-xbmc vdr: [31172] buffer stats: 45684 (1%) used Feb 15 21:28:10 debian-xbmc vdr: [31172] receiver on device 1 thread ended (pid=22455, tid=31172) Feb 15 21:28:10 debian-xbmc vdr: [31177] receiver on device 1 thread started (pid=22455, tid=31177, prio=high) Feb 15 21:28:10 debian-xbmc vdr: [31178] TS buffer on device 1 thread started (pid=22455, tid=31178, prio=high) Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: -------------------------------------- Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: NEW AUDIO INFORMATION: Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: Channels: 6 Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: Samplerate: 48000 Hz Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: Bitrate: 448000 bps Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: -------------------------------------- Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: streaming of channel started Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: sendStreamChange Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: Stored channel information in cache: Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: Stream: H264 PID: 5393 1280x720 DAR: 1.78 (parsed: yes) Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: Stream: AC3 PID: 5396 48000 Hz, 6 channels, Lang: (parsed: yes) Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: Stream : Type H264 / Weight: 8000EAEE Feb 15 21:28:10 debian-xbmc vdr: [31173] XVDR: Stream : Type AC3 / Weight: 0094EAEB Feb 15 21:28:11 debian-xbmc vdr: [22463] changing pids of channel 1454 from 0+0=0:0:0:0 to 5665+5665=27:0;5668=@106:0:0 Feb 15 21:28:11 debian-xbmc vdr: [22463] changing caids of channel 1454 from 0 to 1815,1841 Feb 15 21:28:11 debian-xbmc vdr: [22463] EEPG: PMT scan idle Feb 15 21:28:11 debian-xbmc vdr: [22463] EEPG: Ended all processing Feb 15 21:28:58 debian-xbmc vdr: [31116] XVDR: Started to delete live streamer Feb 15 21:28:58 debian-xbmc vdr: [31116] XVDR: Stopping streamer thread ... Feb 15 21:28:58 debian-xbmc vdr: [31173] cLiveStreamer stream processor thread ended (pid=22455, tid=31173) Feb 15 21:28:58 debian-xbmc vdr: [31116] XVDR: Done. Feb 15 21:28:58 debian-xbmc vdr: [31116] XVDR: Detaching

pipelka commented 11 years ago

Ok. No language in this stream. But I rechecked the code and all should be ok. I'll pull this commit into master. Thanks for your help.

pipelka commented 11 years ago

fixed by pipelka/vdr-plugin-xvdr@7cf37b6b61364851a000609c0623f0682b9430c9