@
popcornmix just to butt in here a little again, I did some tests with tv station arte HD today.
I recorded about two minutes of transport stream and results so far:
1) Corruption of picture was visible live + when played back from file + in MPC-HC + in VLC 2.2.0. So not a firmware problem but a stream problem.
2) Trying to convert the video using avconf (aka ffmpeg) yielded these errors:
Code:
c:\Temp\Test>avconv.exe -i 00001.ts test.ts
avconv version 11.3, Copyright (c) 2000-2014 the Libav developers
built on Mar 9 2015 02:27:07 with gcc 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9)
[h264 @ 003eea80] mmco: unref short failure
[NULL @ 02a0b940] start time is not set in estimate_timings_from_pts
[NULL @ 02a0c1e0] start time is not set in estimate_timings_from_pts
[mpegts @ 029f7ea0] PES packet size mismatch
Last message repeated 2 times
Input #0, mpegts, from '00001.ts':
Duration: 00:01:53.43, start: 47451.507133, bitrate: 9415 kb/s
Program 132
Stream #0.0[0x1a05]: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 90k tbn, 100 tbc
Stream #0.1[0x1a06](deu): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0.2[0x1a07](fra): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0.3[0x1a0d](mis): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0.4[0x1a09](deu): Subtitle: dvbsub (hearing impaired)
Stream #0.5[0x1a0a](fra): Subtitle: dvbsub (hearing impaired)
Output #0, mpegts, to 'test.ts':
Metadata:
encoder : Lavf56.1.0
Stream #0.0: Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 50 fps, 90k tbn, 50 tbc
Metadata:
encoder : Lavc56.1.0 mpeg2video
Stream #0.1(deu): Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
Metadata:
encoder : Lavc56.1.0 mp2
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))
Stream #0:1 -> #0:1 (ac3 (native) -> mp2 (native))
Press ctrl-c to stop encoding
[h264 @ 03971820] mmco: unref short failure
illegal short term buffer state detectedkB time=17.62 bitrate=2269.1kbits/s
Continuity check failed for pid 6661 expected 1 got 26 bitrate=2389.2kbits/s
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 3 got 4
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 5 got 3
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 4 got 5
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 6 got 4
[mpegts @ 029f7ea0] Continuity check failed for pid 6662 expected 13 got 14
[h264 @ 03971f80] concealing 1215 DC, 1215 AC, 1215 MV errors
[mpegts @ 029f7ea0] PES packet size mismatch
[ac3 @ 043c7020] exponent out-of-range
[ac3 @ 043c7020] error decoding the audio block
[ac3 @ 043c7020] frame sync error
Error while decoding stream #0:1
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 5 got 7
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 9 got 6
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 8 got 9
[mpegts @ 029f7ea0] Continuity check failed for pid 6662 expected 4 got 5
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 5 got 6
[mpegts @ 029f7ea0] PES packet size mismatch
[h264 @ 03972320] left block unavailable for requested intra mode at 0 28
[h264 @ 03972320] error while decoding MB 0 28, bytestream 26591
[h264 @ 03972320] concealing 1409 DC, 1409 AC, 1409 MV errors
[ac3 @ 043c7020] frame sync error
Error while decoding stream #0:1
[h264 @ 03971f80] left block unavailable for requested intra mode at 0 12
[h264 @ 03971f80] error while decoding MB 0 12, bytestream 113655
[h264 @ 03971f80] concealing 2689 DC, 2689 AC, 2689 MV errors
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 1 got 4
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 5 got 3
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 4 got 5
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 9 got 12
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 13 got 10
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 11 got 13
[h264 @ 03971f80] left block unavailable for requested intra mode at 0 41
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 14 got 11
[h264 @ 03971f80] error while decoding MB 0 41, bytestream 6046
[h264 @ 03971f80] concealing 369 DC, 369 AC, 369 MV errors
[h264 @ 03971be0] cabac decode of qscale diff failed at 22 7
[h264 @ 03971be0] error while decoding MB 22 7, bytestream 48291
[h264 @ 03971be0] concealing 3067 DC, 3067 AC, 3067 MV errors
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 4 got 6
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 9 got 6
[mpegts @ 029f7ea0] Continuity check failed for pid 6662 expected 13 got 12
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 13 got 15
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 2 got 15
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 0 got 2
[mpegts @ 029f7ea0] Continuity check failed for pid 6661 expected 3 got 0
[mpegts @ 029f7ea0] PES packet size mismatch
[h264 @ 02aceec0] cabac decode of qscale diff failed at 74 22
[h264 @ 02aceec0] error while decoding MB 74 22, bytestream 77128
[h264 @ 02aceec0] concealing 1815 DC, 1815 AC, 1815 MV errors
[ac3 @ 043c7020] frame sync error
Error while decoding stream #0:1
Non-monotonous DTS in output stream 0:1; previous: 9243898, current: 9243178; changing to 9243899. This may result in in
correct timestamps in the output file.
PES packet size mismatch.0 size= 32995kB time=109.84 bitrate=2460.8kbits/s
[ac3 @ 043c7020] incomplete frame
frame= 5625 fps=344 q=31.0 Lsize= 33917kB time=112.49 bitrate=2469.9kbits/s
video:25378kB audio:5272kB other streams:0kB global headers:0kB muxing overhead: 10.659556%
c:\Temp\Test>
The device in question is below. I'd say in my case the RPi2's USB is overwhelmed with data and dropping
parts of the transport stream, causing problems with playback and crashing the machine after 3-4 hours
quite reliably. Or the driver has a bug somewhere which I estimate to be less likely. Stick works flawlessly
in Windows 7. Sad, isn't it.
Code:
# lsusb -v -d 0ccd:10ad
Bus 001 Device 013: ID 0ccd:10ad TerraTec Electronic GmbH
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0ccd TerraTec Electronic GmbH
idProduct 0x10ad
bcdDevice 1.00
iManufacturer 2 TerraTec Electronic GmbH
iProduct 1 TerraTec H5
iSerial 3 100502010981
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 305
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x03ac 1x 940 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0ad0 2x 720 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x03ac 1x 940 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 3
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0c00 2x 1024 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x03ac 1x 940 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 4
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1300 3x 768 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x03ac 1x 940 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 5
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1380 3x 896 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x03ac 1x 940 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 6
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x13c0 3x 960 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x03ac 1x 940 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 7
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 11
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x1400 3x 1024 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00c4 1x 196 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x03ac 1x 940 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)
To add, i used Firmware: Sep 11 2015 13:44:34, version 0520310a767d76e235bc7ea0278011677d110b96 (clean) (release) with hvs_priority=0x100000.