- July 2, 2008
- 124
- 103
- Home Country
- Belgium
MediaPortal Version: 1.16.0
Description
Hello everyone.
When trying to record a movie this weekend I noticed an issue on a TV channel: MP would give the generic "cannot play, video: AVC, audio: AC3" error dialog when trying to play back the recording from the beginning.
When trying to play the same TV channel from the live point (i.e. during the movie), it would play just fine.
The schedule was to start recording a few minutes before the movie (the evening weather info preceded it).
I checked the TS file and did some other tests and found this:
- Once the movie has started, the channel provides 3 audio streams: French, English, and Audio Description (visually impaired commentary, ISO code: 'qad'). It also provides two different DVB subtitle streams. (see attachment Equalizer_MediaInfo_mid_movie.txt)
- Before the movie starts, only the Audio Description ('qad') audio stream, and only one DVB subtitle stream, are present. (see attachment Equalizer_MediaInfo_before_movie.txt)
- MPC-HC with LAV Splitter has no problem playing back the recording from the beginning with only the 'qad' audio stream present, but then if I seek to somewhere during the movie, it doesn't dynamically detect the 2 additional audio streams.
- If I open the recording with TS Doctor (v1.2, I still haven't bought v2.0), it only finds one audio stream (the 'qad'), but it does detect the two DVB subtitle streams and warns that they aren't present on the whole duration of the recording.
- Starting a recording in the middle of the movie creates a file that can be played by MP without any problem.
I suspect there are two different issues here:
1. MP doesn't seem to know the "language" code 'qad' (= Audio Description). Is it possible that this prevents it from starting playback when the only audio stream present is using this code?
It also doesn't seem to know 'qaa' which is the generic code for 'Original Audio' (in theory, should be used for movies for the soundtrack with the original language, but I've never seen it on my provider's channels).
Could those two codes be added to the list of languages in TV support, so that they can be chosen in the configuration GUI and so MP shows the correct official names for them in TV plugin GUI?
2. TS Reader doesn't seem to support dynamic detection and adding/removing streams once playback has started.
Does DirectShow limits what can be done here, i.e. can pins be added or removed once the graph is built and is being played? Or is there a Transport Stream peculiarity making this hard to implement?
Sometimes, I also see a situation on some channels, like Arte: it has French, German, English, and Audio Description audio streams, but when the movie being shown only provides some of those tracks, for example if only the French and German have sound, and I try to switch to English or Audio Description (because I have no way of knowing if those streams indeed are present), playback freezes or a black screen is displayed until I switch back to French or German and I seek once.
I am attaching two MediaInfo output files, one when recording before the movie, and the other from during the movie.
I am also attaching two sets of logs, from trying to play those two recordings. The one where the issue happens is Equalizer_logs_before_movie.zip
If it helps, here are also two 1-minute cuts from those two recordings. I cut the files using 7-Zip "split file" functionality in order to avoid any TS reprocessing and give you exactly what MP recorded.
Recording started before movie (causes issue): Equalizer_before_movie.ts
Recording started during movie (plays fine): Equalizer_mid_movie.ts
It would be fantastic if changes could be made to better support that case, thanks a lot in advance for your help.
Steps to Reproduce:
Try to play "Equalizer_before_movie.ts" using TSReader, MP gives playback error.
Description
Hello everyone.
When trying to record a movie this weekend I noticed an issue on a TV channel: MP would give the generic "cannot play, video: AVC, audio: AC3" error dialog when trying to play back the recording from the beginning.
When trying to play the same TV channel from the live point (i.e. during the movie), it would play just fine.
The schedule was to start recording a few minutes before the movie (the evening weather info preceded it).
I checked the TS file and did some other tests and found this:
- Once the movie has started, the channel provides 3 audio streams: French, English, and Audio Description (visually impaired commentary, ISO code: 'qad'). It also provides two different DVB subtitle streams. (see attachment Equalizer_MediaInfo_mid_movie.txt)
- Before the movie starts, only the Audio Description ('qad') audio stream, and only one DVB subtitle stream, are present. (see attachment Equalizer_MediaInfo_before_movie.txt)
- MPC-HC with LAV Splitter has no problem playing back the recording from the beginning with only the 'qad' audio stream present, but then if I seek to somewhere during the movie, it doesn't dynamically detect the 2 additional audio streams.
- If I open the recording with TS Doctor (v1.2, I still haven't bought v2.0), it only finds one audio stream (the 'qad'), but it does detect the two DVB subtitle streams and warns that they aren't present on the whole duration of the recording.
- Starting a recording in the middle of the movie creates a file that can be played by MP without any problem.
I suspect there are two different issues here:
1. MP doesn't seem to know the "language" code 'qad' (= Audio Description). Is it possible that this prevents it from starting playback when the only audio stream present is using this code?
It also doesn't seem to know 'qaa' which is the generic code for 'Original Audio' (in theory, should be used for movies for the soundtrack with the original language, but I've never seen it on my provider's channels).
Could those two codes be added to the list of languages in TV support, so that they can be chosen in the configuration GUI and so MP shows the correct official names for them in TV plugin GUI?
2. TS Reader doesn't seem to support dynamic detection and adding/removing streams once playback has started.
Does DirectShow limits what can be done here, i.e. can pins be added or removed once the graph is built and is being played? Or is there a Transport Stream peculiarity making this hard to implement?
Sometimes, I also see a situation on some channels, like Arte: it has French, German, English, and Audio Description audio streams, but when the movie being shown only provides some of those tracks, for example if only the French and German have sound, and I try to switch to English or Audio Description (because I have no way of knowing if those streams indeed are present), playback freezes or a black screen is displayed until I switch back to French or German and I seek once.
I am attaching two MediaInfo output files, one when recording before the movie, and the other from during the movie.
I am also attaching two sets of logs, from trying to play those two recordings. The one where the issue happens is Equalizer_logs_before_movie.zip
If it helps, here are also two 1-minute cuts from those two recordings. I cut the files using 7-Zip "split file" functionality in order to avoid any TS reprocessing and give you exactly what MP recorded.
Recording started before movie (causes issue): Equalizer_before_movie.ts
Recording started during movie (plays fine): Equalizer_mid_movie.ts
It would be fantastic if changes could be made to better support that case, thanks a lot in advance for your help.
Steps to Reproduce:
Try to play "Equalizer_before_movie.ts" using TSReader, MP gives playback error.