Log in

View Full Version : Bug in AVIDemux -> Severe issue with AC3 detection in HDTV streams ?


Darksoul71
3rd February 2015, 16:14
Hi all,

prior posting over at the AVIDemux bb I wanted to know if anyone has run into similar issues. Usually I do a lot recording from HDTV by either using my Linux box plus VDR or a standard satellite STB.

My HDTV recordings consist of multiple TS segments which I simply merge via binary copy. Then I edit out unwanted part at the I-frames using AVIDemux. The resulting file is save in MKV format with the main AC3 audio track. This has always worked fine beside the issue that the AC3 track of the resulting file was always tagged as AC3 2.0 although the movie was reported with AC3 5.1. I did some research on the TS segments with avconv.

This is the content of the first segment:

Stream #0:0[0x17de]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x17e8](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
Stream #0:2[0x17e9](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:3[0x17eb](mul): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:4[0x17ea](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, s16, 448 kb/s
Stream #0:5[0x17f3](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)


This is the content of a TS segment from in the movie:

Stream #0:0[0x17de]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x17e8](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
Stream #0:2[0x17e9](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:3[0x17eb](mul): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:4[0x17ea](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), s16, 448 kb/s
Stream #0:5[0x17f3](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)


To me it is clearly visible that the first segment has only AC3 2.0 while the movie has AC3 5.1. What happens now when I edit the merged TS files with AVIDemux 2.6.X is simply that the resulting AC3 is tagged as AC3 2.0 although I removed the parts of the movie which are AC3 2.0.

So IMO the resulting AC3 should be flagged as AC3 5.1

Has anyone of your experienced this issue ?

BTW: The fun part is that AC3 detection works fine for SDTV. When I edit a movie here with mixed AC3 (2.0 vs. 5.1) the resulting AC3 is tagged as 5.1

Edit: I can confirm now that AVIDemux 2.5.X, the newest AVIDemux 2.6.X and the Martroska Merge GUI share a similar problem that a TS / MKV file with AC3 audio in mixed channel setup (2.0 vs 5.1) gets screwed up AC3 header information. But how does one report such a severe issue in the AVIDemux forum when registration is disabled ?

:confused:

TIA,
D$