ts without sound - after renaming to avi runs fine (3 Viewers)

bbathome

Portal Member
January 26, 2008
30
2
Home Country
Germany Germany
Hello!

Playback of most of my .ts files (HDTV-MPEG2) stutters or freezes - after renaming to avi they play back without problems!

This happened before with the latest stable release and is still happening with the latest RC1.

As I do not want to rename all files (everything is running fine with MPC or vlc) I hope that someone knows how to bring MP to play back these files without renaming them.

Thanks!

bb@home


MediaPortal Version: 1.1.0 RC1
MediaPortal Skin: Blue3Wide
Windows Version: vista
CPU Type: Intel E8400
HDD: WD 500GB
Memory: 2GB
Motherboard: Asus P5K Pro
Video Card: Sapphire 3470
Video Card Driver: Catalyst 8.12
Sound Card: Sapphire 3470
Sound Card AC3: Sapphire 3470
 

Das Hammer

Portal Pro
June 14, 2007
69
0
Das Hoosier State
Home Country
United States of America United States of America
Re: ts stutters - after renaming to avi runs fine

TS files are played back with the settings in the TV section of codecs in the configuration. Renaming the file to AVI would make it play with the settings in the Video section. I don't know how to fix your playback though, I'm working on finding a solution as well.
 

bbathome

Portal Member
January 26, 2008
30
2
Home Country
Germany Germany
Re: ts stutters - after renaming to avi runs fine

Thanks - I do not use the TV functionality of MP as it is too "crashy" - I am using DVBViewer instead.
Maybe I can change settings there - but in one of the blogs of MP 2-3 weeks ago I remember something like that in this new version the building and (de)composition of the graph is programmed from scratch... And there is the explicit mentioning of ts-files.

Nevertheless: I would expect that the file itself is inspected and that there is no relying on the file-type...
 

Das Hammer

Portal Pro
June 14, 2007
69
0
Das Hoosier State
Home Country
United States of America United States of America
Re: ts stutters - after renaming to avi runs fine

I did not mean for it to sound like that was the only explanation. It may definitely be as you say. The first thing that popped into my mind was the TV settings because I have been experimenting a bit with those the past week.

On another topic, I sure envy your TV delivery methods over there. It would be nice to visit my local sat shop (which does not exist) choose from a wide variety of receivers (which aren't available here) and then subscribe to what I want to subscribe to (which is impossible here).
 

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: ts stutters - after renaming to avi runs fine

    bbathome
    simply look at graphedit how the graphs differ and post screenshots of graphedit here
     

    bbathome

    Portal Member
    January 26, 2008
    30
    2
    Home Country
    Germany Germany
    Re: AW: ts stutters - after renaming to avi runs fine

    @bbathome
    simply look at graphedit how the graphs differ and post screenshots of graphedit here

    hmm - please tell me how

    I found one easy issue concerning sound: on ts-file uses AAC for audio. Problem is that I cannot use ffdshow as codec in TV but only in the Video section! ffdshow is not available in the TV section.

    The big help was from a prior post: .ts-files are using different settings than videos. Hmm - I do not know why - but at least it would help if all codecs would be also available in the TV section.

    Thanks!

    bb@home
     

    bbathome

    Portal Member
    January 26, 2008
    30
    2
    Home Country
    Germany Germany
    Re: ts stutters - after renaming to avi runs fine

    I still have the same problem after 1 1/2 years: ts files are using the TV codecs - which is basically okay - but as I cannot choose the same codecs as for videos I have problems. :(

    I sometimes have Japanese .ts files. They are broadcasting in MPEG2-video and AAC sound.

    There is either no sound - or the video is running with double speed (and no sound). Reanming to .avi fixes these problems.

    So I wonder: Why is it impossible to choose the same codecs for TV as in video? In my case:
    LATM AAC audio decoder: in TV Codecs there is only "MONOGRAM AAC Decoder" available. In Video Codecs there is the field "AAC audio decoder" where I can choose between Cyberlink, ffdshow, Microswoft DTV-DVD Audio Decoder (this is the one that is working) and MOPOGRAM. These are the standard codecs on my Windows 7 PC. On Vista it looks similar - for TV only one codec - for videos several.

    The solution would be to rename all .ts files to .ts.avi - but honestly - this cannot be the solution.

    Any idea / help?

    Thanks!!
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    Re: ts without sound (or with stutters) - after renaming to avi runs fine

    TV requires LATM AAC, and obviously the only decoder on your PC that declares support of LATM is Monogram. Have you ever tried LAV audio decoder, if you believe that problems come from monogram?
    you can also post graph screenshots from GraphStudio when MP decodes same file with TS and with AVI extensions.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Re: ts stutters - after renaming to avi runs fine

    Hi bbathome

    I still have the same problem after 1 1/2 years: ts files are using the TV codecs - which is basically okay - but as I cannot choose the same codecs as for videos I have problems. :(
    Wow, 1.5 years is a long time to put up with such a problem.

    So let me clarify a few things for you first. When you play a file, MediaPortal uses a splitter to separate the audio, video and subtitle streams inside the file into individual streams. Those individual streams are then given to codecs so that the streams can be decoded, and finally the codecs pass the streams to renderers (which are basically the video card and sound card when you play a file).

    Now: why have two codec sections? Simple. Because MediaPortal uses one splitter (the MediaPortal TsReader) for splitting TS files, and another splitter (the system splitter, commonly Haali, Gabest, LAV...) for splitting anything else. The TsReader splitter is not compatible with many AAC codecs (because it doesn't support network abstraction layer unit decoding, also known as NALU), which is why you don't have the same options for that setting. Off the top of my head, I only know of 3 compatible AAC codecs:
    1. Monogram
    2. DivX
    3. Mainconcept

    The system splitter will be compatible with many more AAC codecs - FFDShow, Microsoft, Cyberlink etc.

    I sometimes have Japanese .ts files. They are broadcasting in MPEG2-video and AAC sound.

    There is either no sound - or the video is running with double speed (and no sound). Reanming to .avi fixes these problems.
    So that means that either TsReader cannot properly split the file or the Monogram codec cannot decode the audio.

    So I wonder: Why is it impossible to choose the same codecs for TV as in video?
    As above: it is because the two splitters in use are not compatible with the same sets of codecs.

    The solution would be to rename all .ts files to .ts.avi - but honestly - this cannot be the solution.
    For us to support the other codec requires this mantis issue to be resolved. The work is difficult, and not many team members have the skills to do it. Further, those team members tend to be the most busy!

    Any idea / help?
    Hopefully my explanations make sense to you. There are 3 options for you:
    1. Rename the extensions.
    2. Wait for the mantis issue to be solved.
    3. A hack! :D
    I do not guarantee that this hack would work, but it is worth a try. What you need to do is manually edit your MediaPortal.xml configuration file (in any text editor like notepad) and enter the *exact* name of the codec that you want to use in the aacaudiocodec setting under mytv. For example, if you want to use the Microsoft codec, enter:

    <section name="mytv">
    ...
    <entry name="aacaudiocodec">Microsoft DTV-DVD Audio Decoder</entry>
    ...
    </section>

    As I said, no guarantee this would work. If it doesn't work, then there may be another problem with TsReader, and it would be helpful to have a sample.

    mm
     

    bbathome

    Portal Member
    January 26, 2008
    30
    2
    Home Country
    Germany Germany
    Re: ts without sound (or with stutters) - after renaming to avi runs fine

    TV requires LATM AAC, and obviously the only decoder on your PC that declares support of LATM is Monogram. Have you ever tried LAV audio decoder, if you believe that problems come from monogram?
    you can also post graph screenshots from GraphStudio when MP decodes same file with TS and with AVI extensions.


    I uploaded two files: own shows ts the other one avi.

    And it really might be a splitter issue.
     

    Attachments

    • ts.PNG
      ts.PNG
      17.7 KB
    • avi.PNG
      avi.PNG
      21.9 KB

    Users who are viewing this thread

    Top Bottom