| |||||||
| watch/edit Videos General talk, support, improvement suggestions and tips & tricks |
![]() |
| | Thread Tools | Display Modes |
| | #11 (permalink) | |||
| Portal Member Join Date: Apr 2007 Location: Gouda Age: 28
Posts: 337
Thanks: 65
Thanked 3 Times in 3 Posts
Country: | Quote:
![]() Quote:
But enough about language issues ![]() Quote:
And how is it possible that it can determine h264 and mpeg2 within a container if it only looks at the extension? ...It's just really hard to swallow... what was the thought behind this, to just look at the file extension, not the actual needed format within the container? Could somebody please explain this? As I'm not a programmer, I know squad about interpreting source codes so I can't check it but this really changes the perspective on things... Oh and Flip, if I offended you, I'm sorry. That's just my Dutch side acting up I guess. ![]() | |||
| | |
| | #12 (permalink) | ||
| Super Moderator Join Date: Apr 2004 Location: Leipzig, Germany Age: 33
Posts: 2,238
Thanks: 31
Thanked 53 Times in 39 Posts
Country: | Hoi, Quote:
![]() Quote:
And as told above, your idea makes sense! So I really think this will be thought of for future releases. Just make a feature request to make sure its written down somewhere! ![]() Flip. | ||
| | |
| | #13 (permalink) |
| Portal Member Join Date: Apr 2007 Location: Gouda Age: 28
Posts: 337
Thanks: 65
Thanked 3 Times in 3 Posts
Country: | ah, ok! but... So what you're saying is, only if the file extension is .mpeg or .h264, MP uses the codecs from the MPsettings, otherwise it feeds it to the system? But the file extension is the 'type' of container. So you're saying that only when the container is .mpeg (I thought mpeg2 was a videoformat, not a container/file extension) or .h264 (again, I thought it was only a videoformat, not a container/file extension) MP uses the MPsettings... I've never seen or heard of a .h264 containerfile before and I think some files can be renamed to .mpeg and still play, but it's not official. Most mpegs are in .ts, .avi or .mkv or .VOB containers. So MP practically never uses the MPsettings the way you explain it... EDIT: just heard .VOB files are generally seen by MP as .mpeg and handled that way.That's why I think it's not the whole story how MP works... Maybe some of the devs can explain how all of this works in laymans terms. ![]() (oh, I've made a feature request like you advised Flip!) Last edited by kkendall; 2007-09-14 at 15:10. |
| | |
| | #14 (permalink) | |||
| Super Moderator Join Date: Apr 2004 Location: Leipzig, Germany Age: 33
Posts: 2,238
Thanks: 31
Thanked 53 Times in 39 Posts
Country: | Hi, Quote:
![]() Quote:
I never mentioned .h264... ![]() Quote:
![]() Code from MP: Code: if (extension.Equals(".dvr-ms") || extension.Equals(".mpg") || extension.Equals(".mpeg") || extension.Equals(".bin") || extension.Equals(".dat"))
{
if (strVideoCodec.Length > 0) videoCodecFilter = DirectShowUtil.AddFilterToGraph(graphBuilder, strVideoCodec);
if (strAudioCodec.Length > 0) audioCodecFilter = DirectShowUtil.AddFilterToGraph(graphBuilder, strAudioCodec);
}
// doesn't help for Music Videos to start..
//if (extension.Equals(".wmv"))
//{
// videoCodecFilter = DirectShowUtil.AddFilterToGraph(graphBuilder, "WMVideo Decoder DMO");
// audioCodecFilter = DirectShowUtil.AddFilterToGraph(graphBuilder, "WMAudio Decoder DMO");
//}
if (extension.Equals(".mp4") || extension.Equals(".mkv"))
{
if (strH264VideoCodec.Length > 0) h264videoCodecFilter = DirectShowUtil.AddFilterToGraph(graphBuilder, strH264VideoCodec);
if (strAudioCodec.Length > 0) audioCodecFilter = DirectShowUtil.AddFilterToGraph(graphBuilder, strAudioCodec);
}
![]() Another remark to your question "Why is it programmed that way". This code section is rather old. More than 3 years I think. At this time it was only necessary to take care about the mpeg codec. All upcomming other codecs were just added the easiest way: By adding its most common extension. Jupp. Saw it. Hopefully it will taken care off. I will add my thoughts there too. So it might get more attention.Best regards, Flip. | |||
| | |
| | #15 (permalink) |
| Portal Member Join Date: Apr 2006
Posts: 220
Thanks: 0
Thanked 2 Times in 2 Posts
| windows a perfect job of selecting codecs for media it wont do a perfect job of selecting codecs for media if you install codec packs or weird software what have we learned? dont install codec packs or weird software. i personally only use the following on all my windows computers: ffdshow (everything -mpeg2 -h264) powerdvd (mpeg2, h264) add haali splitter to that and avoid software that installs codecs on its own and youre set dont blame the system if you cant manage your codecs, codec packs and bundled tv card software usually install conflicting decoders that get higher merit than the actual working codecs, and thats when you run into trouble.
__________________ amd BE2350 / 2GB / 8500gt / terratec diversity / xp sp2 |
| | |
![]() |
| Bookmarks |
| Tags |
| configuration, graphedit, settings, testing |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| After My TV configuration from MP Config MP and MP Config crashes | GetWell | 0.2.3.0 RC1 and SVN Builds | 4 | 2007-08-31 16:37 |
| K-World DVB-T 100 Graphedit settings | wilksj01 | MediaPortal 1 Talk | 0 | 2007-08-16 14:01 |
| Can't play FullHD in MP, will play in WMP and GraphEdit... | ThaClown | Installation, configuration support | 5 | 2007-07-18 08:41 |
| MP Not Starting, Both configuration and MP .exes crashes on start. | KalasMannen | pre 1.0 RC1 | 5 | 2007-03-03 22:04 |
| Installed MP 02. MP shutdown after settings(solved) | thedge | Codecs, External Players | 6 | 2006-07-19 08:38 |