Log in

View Full Version : Direct Stream Copy for non avi


redfordxx
14th November 2005, 17:04
Hi,

as you know, VirtualDubMod can copy a selection of video.avi without recompression and so without quality loss: Direct stream copy.
And it is posible to make easily one file from multiple parts of another avi file just by deleting unwanted parts. Eg. commercials. Not to make many export files and then again to join them. The only condition is to start with key frame.

HDTV2MPEG can do it for *.TS also. Multiple includes/excludes w/o recompression.

Are there any similar cutting lossless tools for other containers? (mpg, mkv, wmv, mp4, vob...)

Thanks for all answers
R.

Jalavera
14th November 2005, 17:11
For mp4 you can use mp4box/Yamb
For mkv you can use mkvmerge/mmg from mkvtoolnix
For vob-mpeg2 you can use mpeg2cut2 or ChopperXP
For wmv you can use VirtualDub-MPEG2 (???!)
for mpeg1 you can use TMPGEnc or WombleVCR
What else?
Note that for newer containers: mkv, mp4 the cut is not at frame-level (IDR frames)
Mpeg2Cut2 / ChopperXP cut at GOP level

redfordxx
14th November 2005, 17:44
Thanks very much.I already wasted hours on Inet by searching something for wmv, but all was with recompression. I will try this.

Realized now, I was a bit out of date with VDM, when it's not developed... So VirtualDub-MPEG2 is now the follower of VD and VDM, I understand.

Elias
14th November 2005, 20:06
You can use the pass through function in QuickTimePro for mp4/3gp files.

Dmitry Vergheles
17th November 2005, 08:05
Hi,

as you know, VirtualDubMod can copy a selection of video.avi without recompression and so without quality loss: Direct stream copy.
And it is posible to make easily one file from multiple parts of another avi file just by deleting unwanted parts. Eg. commercials. Not to make many export files and then again to join them. The only condition is to start with key frame.

HDTV2MPEG can do it for *.TS also. Multiple includes/excludes w/o recompression.

Are there any similar cutting lossless tools for other containers? (mpg, mkv, wmv, mp4, vob...)

Thanks for all answers
R.

For GOP accurate trimming of MPEG2 TS, PS and VOB you can use Elecard XMuxer.
http://elecard.com/products/xmux_pro.shtml

Also it has to handle mp4 format.

Moreover, IFAIK in the nearest future a frame accuracy trimming without re-transcoding will be supported by XMuxer

redfordxx
17th November 2005, 18:03
For wmv you can use VirtualDub-MPEG2 (???!)
But VirtualDub-MPEG2 allows only avi output, am I correct? And it is not compatible with wmv codec...

Elias
17th November 2005, 18:12
But VirtualDub-MPEG2 allows only avi output, am I correct? And it is not compatible with wmv codec...Entirely correct.

bond
18th November 2005, 00:15
:readfaq:

stephanV
18th November 2005, 09:52
Entirely correct.
Entirely false. WMV works in AVI just fine, there's even a vfw codec for it.

Elias
18th November 2005, 13:15
Entirely false. WMV works in AVI just fine, there's even a vfw codec for it.Off course stephanV is going to object. Link to this wfv wmv please. And I doubt that any VirtualDub version can output to the wmv container anyway, so it's far from entirely false if that's the case, because the wmv codec is just a modified version of MPEG-4. And if you're talking about the old MSMPEG-4 codecs as wfv (that eventually got hacked to DivX 3.11), then I'm not going to count that statement of yours as true, because it's not a standard wmv output via VDub then as it would be with say, Windows Movie Maker or something.

stephanV
18th November 2005, 13:29
http://www.microsoft.com/downloads/details.aspx?FamilyID=0c99c648-5800-4aa3-a2fe-3de948689db8&displaylang=en

I didn't say VirtualDub would output to asf, just that WMV as codec works fine in AVI. Which is what redfordxx questioned, if I understood him correctly.

redfordxx
18th November 2005, 13:46
Which is what redfordxx questioned, if I understood him correctly.Well I simply want to be able to cut parts out of wmv and to have it in any container. Playable, compatible with something, w/o recompression.
Read FAQWhich F.A.Q apply to VD-MPEG2?

Elias
18th November 2005, 13:47
http://www.microsoft.com/downloads/details.aspx?FamilyID=0c99c648-5800-4aa3-a2fe-3de948689db8&displaylang=en

I didn't say VirtualDub would output to asf, just that WMV as codec works fine in AVI. Which is what redfordxx questioned, if I understood him correctly.No, they wanted the wmv container too:For wmv you can use VirtualDub-MPEG2 (???!)Why exactly VDub-MPEG2? Does it allow anything some other VirtualDub version doesn't? Like the wmv container? I doubt it.But VirtualDub-MPEG2 allows only avi output, am I correct? And it is not compatible with wmv codec...This means that it's not compatible with the wmv codec because it cannot output to wmv. The wmv codec without its container is not wmv. It's a modified nonstandard Micro$oft MPEG-4 codec. Hence, redfordxx was entirely correct.

Wilbert
18th November 2005, 14:04
Regarding latest VDub-MPEG2 and WMV:

1) It can open WMV (i'm talking about the WMV container here).

2) It can save it as AVI without recompressing.

3) The above doesn't work if the stream contains b-frames (the WMV9 "Advanced Profile" codec can use b-frames).

http://forums.virtualdub.org/index.php?act=ST&f=1&t=10802

But VirtualDub-MPEG2 allows only avi output, am I correct? And it is not compatible with wmv codec...
In which cases is it not compatible?

Elias
18th November 2005, 14:25
Well I'll be damned. I guess I have to check up the latest VDub-MPEG2 then :) I wasn't aware that fcchandler had started to update it for other purposes than MPEG-2 :)

stephanV
18th November 2005, 15:13
Well I simply want to be able to cut parts out of wmv and to have it in any container. Playable, compatible with something, w/o recompression.

That should work fine with VirtualDub-MPEG2. Although, you might run into audio problems if it is VBR.

redfordxx
18th November 2005, 15:52
Although, you might run into audio problems if it is VBR.In fact, when you touched audio topic, I am already already in problems;-( When I play wmv with wma in BSPlayer, it loads WMAudio Decoder DMO. But 5.1 channels are played only 2.0...

Does it mean that I have "wrong" wma decoder or what?

stephanV
18th November 2005, 16:11
Uhm, no, the decoder is the right one... but I have no idea how that works or should work. I don't play 5.1 on my PC, never used BSplayer and don't use WMA...