PDA

View Full Version : [VU+ Duo2] Transcoding not working on some channels (missing audio)



zipo
17-10-13, 17:23
I have some problems transcoding some channels. I'm on the recent build 753.
On some specific channels i get no audio.

Debug log from not working channel (no audio):


recording service: <enigma.eServiceReference; proxy of <Swig Object of type 'eServiceReference *' at 0x1fe18a8> >
allocate channel.. 042e:fe00
available channel.. 08ca:fe00
opening frontend 1
(1)tune
tuning to 570000 khz, sr 6875000, fec 0, modulation 3, inversion 2
OURSTATE: tuning
allocate Channel: res 0
[eDVBCIInterfaces] addPMTHandler 1:0:19:BB8:42E:FE00:FFFF0000:0:0:0:
allocate demux
[SEC] startTuneTimeout 5000
[SEC] setFrontend 1
setting frontend 1
(1)fe event: status 0, inversion off, m_tuning 1
(1)fe event: status 1f, inversion off, m_tuning 2
OURSTATE: ok
[eDVBLocalTimerHandler] channel 0x2055908 running
[eEPGCache] channel 0x2055908 running
[EPGC] next update in 47 min
stop release channel timer
ok ... now we start!!
RECORD service event 5
[eDVBCAService] new service 1:0:19:BB8:42E:FE00:FFFF0000:0:0:0:
[eDVBCAService] add demux 1 to slot 0 service 1:0:19:BB8:42E:FE00:FFFF0000:0:0:0:
RECORD service event 6
tuned..
PATready
use pmtpid 0bc1 for service_id 0bb8
RECORD service event 5
start streaming...
[eDVBCIInterfaces] gotPMT
[eDVBCAService] don't build/send the same CA PMT twice
sdt update done!
[eDVBServiceRecord] now running: Special Victims Unit (274) (3300 seconds)


This is from working channel:


recording service: <enigma.eServiceReference; proxy of <Swig Object of type 'eServiceReference *' at 0x1f50a70> >
allocate channel.. 088e:fe00
available channel.. 08ca:fe00
opening frontend 1
(1)tune
tuning to 248000 khz, sr 6875000, fec 0, modulation 3, inversion 2
OURSTATE: tuning
allocate Channel: res 0
[eDVBCIInterfaces] addPMTHandler 1:0:19:65:88E:FE00:FFFF0000:0:0:0:
allocate demux
[SEC] startTuneTimeout 5000
[SEC] setFrontend 1
setting frontend 1
(1)fe event: status 0, inversion off, m_tuning 1
(1)fe event: status 1f, inversion off, m_tuning 2
OURSTATE: ok
[eDVBLocalTimerHandler] channel 0x2039600 running
[eEPGCache] channel 0x2039600 running
[EPGC] next update in 52 min
stop release channel timer
ok ... now we start!!
RECORD service event 5
[eDVBCAService] new service 1:0:19:65:88E:FE00:FFFF0000:0:0:0:
[eDVBCAService] add demux 1 to slot 0 service 1:0:19:65:88E:FE00:FFFF0000:0:0:0:
RECORD service event 6
tuned..
PATready
use pmtpid 045f for service_id 0065
RECORD service event 5
start streaming...
[eDVBCIInterfaces] gotPMT
[eDVBCAService] don't build/send the same CA PMT twice
AITready
RECORD service event 11
sdt update done!
[eDVBServiceRecord] now running: Landsbyhospitalet (39) (3000 seconds)


Usually it takes ~5 seconds to get stream running in VLC, but on those specific channels, it takes ~15 seconds before i get video running and missing audio.

I tried zapping to the same channel on the box (i know i can't transcode the same channel) and then starting the stream anyway in VLC. The picture freezes on the box, but now i DO get both video and audio? This trick works on some problematic channels, but not all..

Is there a way to debug transtreamproxy?

zipo
18-10-13, 11:30
If somebody want's to take a closer look at the streams, i can send a pm with the stream url

zipo
18-10-13, 12:46
Stream info from avprobe on working channel:


Input #0, mpegts, from 'test.mp4':
Duration: 00:00:20.53, start: 70522.993956, bitrate: 1649 kb/s
Program 1
Stream #0.0[0x11]: Video: h264 (Baseline), yuv420p, 640x480 [PAR 1:1 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x12]: Audio: aac, 48000 Hz, stereo, s16, 130 kb/s


And from channel with no audio:


Input #0, mpegts, from 'test.mp4':
Duration: 00:00:28.92, start: 70635.882967, bitrate: 1331 kb/s
Program 1
Stream #0.0[0x11]: Video: h264 (Baseline), yuv420p, 640x480 [PAR 1:1 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x12]: Audio: aac, 0 channels, s16


Btw, normal streams on port 8001 is working fine

andyblac
18-10-13, 13:22
Stream info from avprobe on working channel:


Input #0, mpegts, from 'test.mp4':
Duration: 00:00:20.53, start: 70522.993956, bitrate: 1649 kb/s
Program 1
Stream #0.0[0x11]: Video: h264 (Baseline), yuv420p, 640x480 [PAR 1:1 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x12]: Audio: aac, 48000 Hz, stereo, s16, 130 kb/s


And from channel with no audio:


Input #0, mpegts, from 'test.mp4':
Duration: 00:00:28.92, start: 70635.882967, bitrate: 1331 kb/s
Program 1
Stream #0.0[0x11]: Video: h264 (Baseline), yuv420p, 640x480 [PAR 1:1 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x12]: Audio: aac, 0 channels, s16


Btw, normal streams on port 8001 is working fine

run on STB box or on pc ?, where is avprobe for mipsel ?

zipo
18-10-13, 14:10
I'm running avprobe on PC.

Get some stream data

wget -O test.mp4 http://192.168.1.8:8002/1:0:19:BB8:42E:FE00:FFFF0000:0:0:0:
and run avprobe on that

zipo
18-10-13, 14:22
I tried this on the channel with no audio:

http://192.168.1.8:8000/web/stream?StreamService=1:0:19:BB8:42E:FE00:FFFF0000: 0:0:0:
Which is the url the streamproxy is looking at for PID's and i get:

+1:0:pat,bb8:video,bb9:audio,bb8:pcr,368:text
I checked the audio pid and it's correct

This is the output of working channel:

+1:0:pat,456:video,45c:audio,456:pcr,458:text

andyblac
18-10-13, 15:12
sounds like a driver issue, can see any differences is the normal channels audio ie on port 8001 ?

zipo
18-10-13, 15:33
No, there is no difference:

Port 8001 with audio: Stream #0.2[0xbb9](dan): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s (Port 8002 = no audio)
Port 8001 with audio: Stream #0.1[0x457](dan): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s (Port 8002 = audio OK)

zipo
18-10-13, 16:11
I just double checked driver and "vuplus-dvb-modules-vuduo2-3.3.8-4.4.3-20130918" was added in build 742 which should fix transcoding, but apparently not :/



root@vuduo2:/lib/modules/3.3.8-2.0/extra# ls -l
-rw-r--r-- 1 root root 5412 Sep 18 18:55 brcmfb.ko
-rw-r--r-- 1 root root 13980455 Sep 18 18:55 dvb-bcm7424.ko
-rw-r--r-- 1 root root 105992 Sep 18 18:55 fpga_directc.ko
-rw-r--r-- 1 root root 4243 Sep 18 18:55 procmk.ko


http://archive.vuplus.com/download/drivers/log.txt

andyblac
18-10-13, 17:52
No, there is no difference:

Port 8001 with audio: Stream #0.2[0xbb9](dan): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s (Port 8002 = no audio)
Port 8001 with audio: Stream #0.1[0x457](dan): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s (Port 8002 = audio OK)

i would send a log to Vu, given them as much info as you can.

zipo
18-10-13, 18:01
I submitted a bug report on vuplus.com (http://www.vuplus.com/supportBugReportWrite.html) linking to this thread.

zipo
24-10-13, 02:27
Update: Transcoding with audio works again in build 765, but only if webif is set to port 80, any other port gives "HTTP/1.0 502 Bad Gateway"

hristogo
25-10-13, 22:25
Hi,
It is a very nice forum and have understood a lot for the Vu+ Duo2.

I am interested in the transcoding capabilities of VU+ Duo2.

1. Can it make transcoding in h.263 format?
2. What transcoding formats does it support?
3, What bitrates does it support? (is it suitable for a gsm with 3g internet)
4. Can it transcode full hd in full hd and what is the uploading speed you need?

Thanks in advance!

andyblac
25-10-13, 23:14
Hi,
It is a very nice forum and have understood a lot for the Vu+ Duo2.

I am interested in the transcoding capabilities of VU+ Duo2.

1. Can it make transcoding in h.263 format?
2. What transcoding formats does it support?
3, What bitrates does it support? (is it suitable for a gsm with 3g internet)
4. Can it transcode full hd in full hd and what is the uploading speed you need?

Thanks in advance!

1: no, only h.264
2: as above.
3: from 500Kbits/sec to 5Mbits/sec
4:yes, depends on the bitrate you choose.

zipo
26-10-13, 13:04
Update: Transcoding with audio works again in build 765, but only if webif is set to port 80, any other port gives "HTTP/1.0 502 Bad Gateway"

Is this a openwebif problem and where should i submit a bug report?

hristogo
26-10-13, 18:29
Hi,
Thanks a lot for your answer!

Is the transcoding software dependant, or is hardware and this box (vu+ duo2) can only transcode in h.264?

andyblac
26-10-13, 18:41
Hi,
Thanks a lot for your answer!

Is the transcoding software dependant, or is hardware and this box (vu+ duo2) can only transcode in h.264?

hardware encoding.

hristogo
26-10-13, 18:43
1: no, only h.264
2: as above.
3: from 500Kbits/sec to 5Mbits/sec
4:yes, depends on the bitrate you choose.

Hi,
Thanks a lot for your answer!:thumbsup:

1. Is the transcoding software dependant, or is hardware and this box (vu+ duo2) can only transcode in h.264?
2. Is the transcoded stream stable? Can it work without problem for 3 hours for example with no interuptions?
3. Is it possible several people to watch one and the same stream?
4. Any chance someone to send me a link of transcoded full hd stream with the highest bitrate(5mbit)? I need it only for 5 min to see the quality.(Just send to me the link by SMS on +359887312890 and i will open it imediatelly).

Thnaks a lot!

hristogo
26-10-13, 18:45
hardware encoding.

Sorry, i did not see that you have answered