Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
H.264 In Mpeg-ps And Audio-only Mpeg-ps
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
ale5000
Posted: Mar 24 2011, 01:41 AM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



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 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.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
ale5000
Posted: Mar 24 2011, 12:12 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



PS4: "MPEG-2 index" is missing in Audio => Audio from other file...

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
fccHandler
Posted: Mar 26 2011, 05:52 AM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



QUOTE (ale5000 @ Mar 23 2011, 09:41 PM)
H.264 in MPEG-PS => http://www.multiupload.com/79VEVGIOKV

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.

QUOTE (ale5000 @ Mar 23 2011, 09:41 PM)
Audio-only MPEG-PS => http://www.multiupload.com/V0TBP28XI8

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.

QUOTE (ale5000 @ Mar 23 2011, 09:41 PM)
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.

The MPEG-2 plugin always uses its internal decoders, so this request makes no sense.

QUOTE (ale5000 @ Mar 23 2011, 09:41 PM)
PS2: The MPV extension can contain MPEG-2 video (it is similar to M2V).

In my opinion, it is yet another pointless extension. If it is truly MPEG, then just rename it .mpg.

QUOTE (ale5000 @ Mar 23 2011, 09:41 PM)
PS3: A "Save as default" button in the extended options would be nice.

This request does have merit, so I will add it to my TODO list.

QUOTE (ale5000 @ Mar 24 2011, 08:12 AM)
PS4: "MPEG-2 index" is missing in Audio => Audio from other file...

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.


--------------------
May the FOURCC be with you...
 
     Top
ale5000
Posted: Mar 26 2011, 04:37 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



QUOTE (fccHandler @ Mar 26 2011, 06:52 AM)
QUOTE (ale5000 @ Mar 23 2011, 09:41 PM)
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.

The MPEG-2 plugin always uses its internal decoders, so this request makes no sense.
Doesn't it use ACM if you enable direct stream copy of audio?

QUOTE (fccHandler @ Mar 26 2011, 06:52 AM)
QUOTE (ale5000 @ Mar 23 2011, 09:41 PM)
PS2: The MPV extension can contain MPEG-2 video (it is similar to M2V).

In my opinion, it is yet another pointless extension. If it is truly MPEG, then just rename it .mpg.
The MPEG-1 internal filter of VirtualDub has the .mpv extension.

QUOTE (fccHandler @ Mar 26 2011, 06:52 AM)
QUOTE (ale5000 @ Mar 24 2011, 08:12 AM)
PS4: "MPEG-2 index" is missing in Audio => Audio from other file...

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.
It is just to make .midx files visible by default, "Matroska index" does appear.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
fccHandler
Posted: Mar 26 2011, 05:13 PM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



QUOTE (ale5000 @ Mar 26 2011, 12:37 PM)
Doesn't it use ACM if you enable direct stream copy of audio?

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.

QUOTE (ale5000 @ Mar 26 2011, 12:37 PM)
The MPEG-1 internal filter of VirtualDub has the .mpv extension.

So it does! In that case I will reconsider. (Can't have him stealing my .mpv files...) tongue.gif

QUOTE (ale5000 @ Mar 26 2011, 12:37 PM)
It is just to make .midx files visible by default, "Matroska index" does appear.

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.


--------------------
May the FOURCC be with you...
 
     Top
ale5000
Posted: Mar 27 2011, 06:12 AM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



QUOTE (fccHandler @ Mar 26 2011, 06:13 PM)
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.

Well, the life is long, so you will update it before or later, the time doesn't matter biggrin.gif

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.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
fccHandler
Posted: Jul 31 2011, 04:08 AM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



I've reluctantly implemented most of your requests. tongue.gif

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.


--------------------
May the FOURCC be with you...
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
6 replies since Mar 24 2011, 01:41 AM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Filters and Filter Development