| Printable Version of Topic
Click here to view this topic in its original format |
| Unofficial VirtualDub Support Forums > VirtualDub Filters and Filter Development > H.264 In Mpeg-ps And Audio-only Mpeg-ps |
| Posted by: ale5000 Mar 24 2011, 01:41 AM |
| H.264 in MPEG-PS => http://www.multiupload.com/79VEVGIOKV Audio-only MPEG-PS => http://www.multiupload.com/V0TBP28XI8 The MPEG-2 input plugin can't open them. PS: It would be nice if it display VCM codec (fourcc) and ACM codec (tag) in "File Information" like your other plugins, it could say "Internal" when it use internal decoders. PS2: The http://www.fileinfo.com/extension/mpv extension can contain MPEG-2 video (it is similar to M2V). PS3: A "Save as default" button in the extended options would be nice. |
| Posted by: ale5000 Mar 24 2011, 12:12 PM |
| PS4: "MPEG-2 index" is missing in Audio => Audio from other file... |
| Posted by: fccHandler Mar 26 2011, 05:52 AM | ||||||||||||
The MPEG-2 plugin supports Program Streams as defined in ISO/IEC 11172 and ISO/IEC 13818. H.264 is part of a different standard and is therefore not supported.
The MPEG-2 plugin absolutely requires a video stream. This is intentional and I won't be changing it. Raw MPEG audio is usually delivered as an elementary stream with an .mp2 or .mp3 extension. In my experience it is not normal nor expected to find it wrapped in a Program Stream all by itself. I suspect this is just an anomaly that you have created, and not worth my effort to support it.
The MPEG-2 plugin always uses its internal decoders, so this request makes no sense.
In my opinion, it is yet another pointless extension. If it is truly MPEG, then just rename it .mpg.
This request does have merit, so I will add it to my TODO list.
If a matching .midx file exists, then it should be found and loaded automatically when you open your desired file. I can't think of any need to have an explicit .midx selector in that dialog. |
| Posted by: ale5000 Mar 26 2011, 04:37 PM | ||||||||||||
|
| Posted by: fccHandler Mar 26 2011, 05:13 PM | ||||||
No. It delivers the raw MPEG audio stream to VirtualDub, and VirtualDub negotiates with the ACM. It is out of our hands at that point.
So it does! In that case I will reconsider. (Can't have him stealing my .mpv files...)
If I decide to update the MPEG-2 plugin (and you can probably tell that I am reluctant to do so) then I will make this change for you. |
| Posted by: ale5000 Mar 27 2011, 06:12 AM | ||
Well, the life is long, so you will update it before or later, the time doesn't matter PS: When this times will come is it possible to copy the code from Matroska plugin to use "Direct Stream Copy" for MPEG-2 video? (it is fine if it is disabled by default and enabling it require changing an option in the extended option dialog). This is particularly useful because it allow to merge all vob files in one avi (and maybe remux to mkv later), it is a lossless remux/merge of DVD files. |
| Posted by: fccHandler Jul 31 2011, 04:08 AM |
| I've reluctantly implemented most of your requests. http://fcchandler.home.comcast.net/Plugins/MPEG2 I did try to implement Direct Stream Copy of video, but for some reason it doesn't work properly. It seems that in Matroska the sequence header is stored in the private codec data, and the frames do not contain anything except picture data. The MPEG-2 plugin doesn't work that way; sequence headers are considered an "access unit" and whenever present they precede the picture data. In fact this is essential to support quantizer matrix changes in real time. I don't know if this is what messes up ffdshow, but for now I have disabled the Direct Stream Copy code. Maybe I will revisit it someday. |