View Full Version : MPEG4 Modifier v1.3.4 Released (Updated 2005-Dec-14)
Pages :
1
2
3
4
5
6
7
8
9
10
[
11]
12
GrofLuigi
14th January 2007, 02:55
1.4.4 released.
Encountered INVALID VOL on an encode of mine with this (Xvid_cvs_head_2006_11_02, virtualdub 1.7.0 (build 25854), ac3 6ch audio, muxed with Virtualdubmod 1.5.10.2 (build 2542).
I see INVALID VOL was supposed to be fixed in one of the previous releases.
GL
Moitah
14th January 2007, 03:23
@GrofLuigi: I think it was a compiler problem with XviD, I just came across a discussion about it (http://celticdruid.no-ip.com/phpBB2/viewtopic.php?t=206&start=15). If you feel like uploading a sample that demonstrates this problem I will take a look at it anyway.
SeeMoreDigital
14th January 2007, 14:23
1.4.4 released. Fixes problem where DivX subtitles were broken after being run through MPEG4 Modifier, added *.divx extension to the file dialogs, and provides a default filename when saving (same as the source filename).Hi Moitah,
Any thoughts about starting a brand new thread about MPEG4 Modifier v1.4.4 within the "New and alternative video codecs" section of the forum?
Cheers
Moitah
14th January 2007, 20:12
I'm fine with this thread, but if a moderator wants to move it that's fine too.
migrena
14th January 2007, 23:06
but it would be good to change topic to be more acurate like: "MPEG4 Modifier v1.4.4 Released (Updated 2007-Jan-14)"
anyway thx for great tool
cainxxx
15th January 2007, 03:15
Hello Moitah, thanks very much for your work...
Sory for my english...
Its posible add a "Unpack Dir" option to MPEG4 Modifier like a mod version of your software?
http://img412.imageshack.us/img412/3893/mpgmh0.jpg
Thanks for your time!
ReinerSchweinlin
15th January 2007, 07:15
Why not use one of the GUIs plus the CLI Version? That should do the job.
GrofLuigi
15th January 2007, 12:09
@GrofLuigi: I think it was a compiler problem with XviD, I just came across a discussion about it (http://celticdruid.no-ip.com/phpBB2/viewtopic.php?t=206&start=15). If you feel like uploading a sample that demonstrates this problem I will take a look at it anyway.
It's not a big deal for me (and I don't understand much in that thread :sly: ) , but if you want to check, here it is: sample.avi (http://file2upload.com/file/9082/Sample.avi.html)
GL
likeatim
16th January 2007, 12:34
Why not use one of the GUIs plus the CLI Version? That should do the job.
Are there other GUIs besides the one from here http://www.burrrn.net/?page_id=6 ?
shae
16th January 2007, 12:57
Moitah, could you add an option for inplace patching of an avi, without the need to create a new file?
Thanks for the tool. :)
SeeMoreDigital
16th January 2007, 14:04
Moitah, could you add an option for inplace patching of an avi, without the need to create a new file?Interesting....
Are you (or anybody else) having issues with MPEG4 Modifier re-muxing files to AVI 2.0 compliance?
Cheers
likeatim
16th January 2007, 14:28
Interesting....
Are you (or anybody else) having issues with MPEG4 Modifier re-muxing files to AVI 2.0 compliance?
Cheers
i guess it would be a lot quicker and no need for extra space?!
Moitah
17th January 2007, 07:47
@GrofLuigi: Thanks for uploading the sample. Yeah, something was messed up with that XviD build I think, there's an extra byte tagged onto the end of the VOL, same thing with the user data. If you need to use this file in MPEG4 Modifier I can make a build that ignores this problem.
@shae: It's only possible to work in-place for a few situations, such as changing between one of the preset PARs (but not changing from custom PAR to one of the preset PARs, for example) or changing the interlaced field order. Usually, and this includes removing/adding packed bitstream, it's necessary to rewrite the file.
@cainxxx: It would be nice, I guess I haven't done it yet because I'd rather not do something at all than to do it sloppy. If you look in the thread for the command line version (http://forum.doom9.org/showthread.php?t=117553), theres a .bat file for batch unpacking.
GrofLuigi
17th January 2007, 13:01
[QUOTE=Moitah;938227]@GrofLuigi: Thanks for uploading the sample. Yeah, something was messed up with that XviD build I think, there's an extra byte tagged onto the end of the VOL, same thing with the user data. If you need to use this file in MPEG4 Modifier I can make a build that ignores this problem.
It' not necessary, this was all testing (both the encode and your program). :)
I already changed the XviD build.
GL
Freakazoidalmaniac
19th January 2007, 15:03
Can someone tell me does this remove QPEL and GMC from a file without reencoding?
Moitah
19th January 2007, 15:21
@Freakazoidalmaniac: No, it does not.
shae
21st January 2007, 20:45
Are you (or anybody else) having issues with MPEG4 Modifier re-muxing files to AVI 2.0 compliance?If an AVI works fine, and I only want to tweak options like preset PARs, I'd rather have the least amount of changes to the file. It's faster, requires less space, and has less potential for destructive behavior (i.e., bugs in rebuilding). (Aren't all AVIs nowadays OpenDML?)
Can someone tell me does this remove QPEL and GMC from a file without reencoding?This is probably impossible as these options alter the encoding process.
Squee0
22nd January 2007, 00:39
does anyone have a version like this that would allow us to change the User Data / Metadata of MPG2 files?
ReinerSchweinlin
22nd January 2007, 00:42
Therer are several tools for this, what exactly do you need to change? AR or Average Bitrate, Res, etc is possible afaik. Try "restream"
Squee0
22nd January 2007, 03:06
I just want to change/add User Data/Metadata that appears when using gSpot, so I can identify files I've created and store other important info here. Basically replacing the text created by the encoder I use, I know that HEX Editor will work, but that only allows me to replace, but not add, plus there's a larger room for error then a program designed to modify the user data/metadata.
Therer are several tools for this, what exactly do you need to change? AR or Average Bitrate, Res, etc is possible afaik. Try "restream"
Sharktooth
22nd January 2007, 03:25
Can someone tell me does this remove QPEL and GMC from a file without reencoding?
Nothing in the universe can do that... it's simply impossible.
foxyshadis
22nd January 2007, 11:21
If you're willing to take a hit on quality, you could convert qpel to hpel. You could even do it in such a way that it looks ahead to minimize damage. But I'm not aware of any such thing to do it.
DivX GMC can be converted to non-GMC, Xvid GMC cannot ever be.
akupenguin
22nd January 2007, 17:38
3-point GMC can be approximated with block MC, in exactly the same sense that qpel can be approximated with hpel. In both cases, no matter how careful you are, artifacts will accumulate over the course of a GOP, and the result will be ugly. Unless you requantize too, in which case it is a reencode, just faster because you skip the motion estimation.
Note: the difference between qpel and hpel is not just the precision of the motion vectors. A hpel-aligned mv in a qpel video is not computed the same way as the same mv in a hpel video. hpel uses bilinear interpolation, while qpel uses 8-tap. Hence why an encode of an unfiltered dvd source sometimes gets higher psnr with hpel.
foxyshadis
23rd January 2007, 12:11
So it's like that in ASP as well? I had thought 8-tap was only for AVC qpel, thanks for clarifying that.
akupenguin
23rd January 2007, 15:14
AVC is 6-tap (yes, it's simpler and faster than ASP qpel).
olnima
23rd January 2007, 20:24
@Moitah (@everyone else too :) ), just for interest:
If I'm counting all the I- p- b- ... frames together ("Video Info"-Button) there are allways a few (5-10) frames missing to reach the length of the avi-file, shown in, for example VirtualDub but also in every other soft I tried. Why? FPS is (should be?) exactly 25, also shown in VirtualDub.
Thanks anyway for MPEG4Modifier, it's great.
Olnima
//edit: sorry, have to correct myself, it's only but seems to be always 1 frame less then the length, shown in VDub.
Moitah
24th January 2007, 01:33
@olnima: It's probably because the video contains "delay" frames, a hack used by DivX/XviD to allow B frames with VFW encoding. If the video was encoded in VirtualDub or AVS2AVI, the delay frames are ignored and not saved in the AVI file, but some programs leave them in. MPEG4 Modifier doesn't count delay frames.
It's also possible for there to be one more VOP than there are frames if packed bitstream was used.
olnima
24th January 2007, 11:08
o.k., understood.
Thanks for the reply
Olnima
cainxxx
28th January 2007, 18:54
The Option "Unpack Dir..." is really powerful. I hope Moitah include this option in the original MPEG4Modifier.
This is the link for the new mod version:
http://sibit.si/directsub/Mpeg4ModifierMod.1.4.4.zip
Saludos para todos...
http://img165.imageshack.us/img165/5527/mpg4ft9.jpg
trippinhard
31st January 2007, 19:38
Having an issue with an avi file im hoping someone can solve.
When i set pixel AR to 16:9 NTSC the ratio of objects is correct but there is a small black patch on right side when played on my 32 samsung lcd.
When i set the avi to display ar 16:9, there is no black patch but the objects seem to be a little zoomed (ie:there might be some object like an arm not showing on the screen when in the other way the whole body including the arm will show.
hopefully someone can help me correct this, thank you.
SeeMoreDigital
2nd February 2007, 16:54
Unfortunately MPEG4 Modifier doesn't seem to work with my software player: A 720 x 576 recording PARed or DARed to 16:9 won't be stretched to 16:9 with Media Player Classic. Maybe a wrong setting in MPC?It's more likely an issue with your MPEG-4 direct-show decoder filter.... Not all support MPEG-4 streams containing (ARS) aspect ratio signalling.
Cheers
SeeMoreDigital
2nd February 2007, 18:05
I wish Media Player Classic would too. But I don't know which MPEG4 direct-show filter it uses.It will do if you use the an appropriate MPEG-4 direct-show decoder filter.... Such as provided by FFdshow (http://forum.doom9.org/showthread.php?t=120465) (which use the same filter approach as VLC Player).
In-fact FFdshow is able to provide most (if not all) of anybodies audio and video direct-show decoder needs...
At first glance the options within FFdshow will look a bit overwhelming. Needless to say there are many options you'll probably never use.... But it's well worth the effort ;)
Cheers
nickrout
5th February 2007, 08:28
mpeg4modifier isn't working for me on mono:
[nick@bilbo ~/mpeg4modifier]$ mono MPEG4Modifier.exe
Mono System.Windows.Forms Assembly [$auto_build_revision$]
Keyboard: United States keyboard layout (phantom key version)
Could not set X locale modifiers
KDE colorscheme read
** (MPEG4Modifier.exe:36789): WARNING **: Missing member add_Shown in type Form, assembly /usr/local/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
Unhandled Exception: System.MissingMethodException: Method not found: 'System.Windows.Forms.Form.add_Shown'.
in <0x00000> <unknown method>
in <0x00015> JDP.frmMPEG4Modifier:.ctor (System.String[] args)
in (wrapper remoting-invoke-with-check) JDP.frmMPEG4Modifier:.ctor (string[])
in <0x00028> JDP.Program:Main (System.String[] args)
Anyone got any clues on how to progress this?
subspawn
16th April 2007, 10:02
For all people using linux having the Kiss issues (which require modifications to the file's headers): See http://forum.doom9.org/showthread.php?t=124794 for a wee bit faster program than MPEGModifier.
It's only an alternative it you only want to modify the header towards DivX999b000p!
Btw, keep up the good work Moitah!
GimmeAreason
8th August 2007, 01:38
I just read through this whole thread and various offshoot links too which has been really interesting. I still can't get my head around bloody DAR/PAR and NVOPs and all the rest of it.! I am but a simple soul.
I have used your program almost since the start and I still need it as my standalone is still working away pretty well although without unpacking the bitstream it's so jerky as to be quite useless!
I hadn't updated it for ages and thought I'd drop in to check on the program and it's nice to see how far it has come. I am still on version 1.3.4 or 1.3.2 I think.
Just wanted to thank you Moitah for all the work you obviously put in.
:)
enjoyer
27th September 2007, 02:21
very nice tool :)
a MPEG-4 AVC version would be awesome :D
lazaruz
8th October 2007, 16:55
Thank you Moitah for a great tool
I used the code and made MPEG4Watcher to unpack automatically, maybe someone else has use for it.
*Edit* Updated version which allows you to monitor multiple folders and unpack Rar-files
Here's a link
http://johanmartensson.se/
and a screenshot
http://johanmartensson.se/programming/csharp/app/images/mpeg4watcher.png
Thanks again Moitah and keep up the good work
Pepin
16th November 2007, 09:52
The Option "Unpack Dir..." is really powerful. I hope Moitah include this option in the original MPEG4Modifier.
This is the link for the new mod version:
http://sibit.si/directsub/Mpeg4ModifierMod.1.4.4.zip
Saludos para todos...
http://img165.imageshack.us/img165/5527/mpg4ft9.jpg
Both (original and modified) versions works ok under Ubuntu using Mono.
But there is only a very little problem with modified version. When processing a full directory, the name for the unpacked files is not correct, the program puts the full path as the name (for example, "VideoFiles\MyVideo1.avi", "VideoFiles\MyVideo2.avi", etc), and it's placing the files always at main personal directory.
I think it's because on Linux the separator for directories is "/", and on Windows, it's "\", so the system takes the full path as the name for the files. It can be corrected if the program changes first the default path to the correct directory, and then it names the files. At this way, the program will can be runned without any problem on Windows, and on Linux.
PD: Cainxxx, do you speak spanish? Me too...
effort_ac
19th November 2007, 16:51
I'm glad it's working okay
gatekeeper_007
9th January 2008, 20:49
A simple question:
I have an (*.avi) XviD 1.1.0 with a broken aspect ratio of (720x432).
I have to force aspect ratio to (720x314) so it can display as it should be.
Now I've tried this app. in several ways but the output is always the same as the input (720x432).
1. Is this normal ? can Mpeg-4 Mod. do what I need it to do?
2. Is there a way to do this except re-encode ?
Thx
RedDwarf1
9th January 2008, 22:45
All you could do is change the Pixel Aspect ratio to alter the Display aspect ratio to get it closer to what you want. You cannot change the resolution without re-encoding and you can only alter the horizontal resolution by stretching the pixels to correct it.
Try entering 992 and 432 in the Custom Display aspect ratio boxes. That should stretch the picture and should make the Aspect ratio look correct if played on your PC. It will not look correct on a TV.
gatekeeper_007
9th January 2008, 22:58
I've all ready tried that but nothing... I even tried to change it to 4:3, just to see what happens -nothing still the same output (as the input).
It seems I'll have to re-encode it after all
I'll try out a few more things... and hopefully avisynth will help out with the quality loss.
Thx for the replay
EDIT: there is a way to correct an avi like that (wrong aspect ratio) with Quicktime pro but you'll have to save it as a (*.mov) and it doesn't work with all the avi files.
SeeMoreDigital
9th January 2008, 23:08
gatekeeper_007,
What media player are you using. Maybe it is not set-up correctly?
Cheers
gatekeeper_007
9th January 2008, 23:39
I really don't think so... but then again who knows,
Same result with : WMP11, NeroShowTime, DivxPro6, VLC... and others.
and of course I passed it in a flashUSB -pluged it to a divx/xvid player (widescreen TV output) same aspect ratio problem.
Thx
EDIT: In Nero I have to force it to 16/7, In divx 720x314(320) or 640X272 so that can be correct
SeeMoreDigital
10th January 2008, 09:54
Can you run your file thru' MediaInfo and/or GSpot and post what's reported?
gatekeeper_007
10th January 2008, 14:07
General #0
Complete name : D:\Sam (BAD_AspectRatio).avi
Format : AVI
Format/Info : Audio Video Interleave
Format/Family : RIFF
File size : 1.18 GiB
PlayTime : 1h 40mn
Bit rate : 1690 Kbps
Writing application : VirtualDubMod 1.5.10.1 (build 2424/release)
Writing library : VirtualDubMod build 2424/release
Video #0
Codec : XviD
Codec/Family : MPEG-4
Codec/Info : XviD project
Codec profile : Streaming Video Profile/Level 1
Codec settings/Packe : Yes
Codec settings/BVOP : Yes
Codec settings/QPel : No
Codec settings/GMC : 0
Codec settings/Matri : Default
PlayTime : 1h 40mn
Bit rate : 15 Mbps
Nominal bit rate : 1277 Kbps
Width : 720 pixels
Height : 432 pixels
Display Aspect ratio : 1.667
Frame rate : 25.000 fps
Resolution : 8 bits
Chroma : 4:2:0
Interlacement : Progressive
StreamSize : 10.8 GiB
Audio #0
Codec : AC3
PlayTime : 1h 40mn
Bit rate : 15 Mbps
Nominal bit rate : 384 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, Subwoofer
Sampling rate : 48 KHz
StreamSize : 10.8 GiB
------------------------------------------------------------------------------------------
FILE_NAME Sam (BAD_AspectRatio).avi
FILE_NAME_WITH_PATH D:\Sam (BAD_AspectRatio).avi
FILE_SIZE 1,267,943,424
CONT_AUDIO_STREAM_COUNT 1
CONT_BASETYPE AVI(.AVI)
CONT_BYTES_MISSING 0
CONT_INTERLEAVE_ALIGN Split
CONT_INTERLEAVE_PRELOAD 512
CONT_INTERLEAVE_TIME 40
CONT_SUBTYPE OpenDML (AVI v2.0),
CONT_TOTAL_BITRATE 0
VIDEO_ASPECT_CONVERT_AVI1
VIDEO_ASPECT_CONVERT_AVI2
VIDEO_ASPECT_CONVERT_CVD1
VIDEO_ASPECT_CONVERT_CVD2
VIDEO_ASPECT_CONVERT_DVD1
VIDEO_ASPECT_CONVERT_DVD2
VIDEO_ASPECT_CONVERT_SVCD1
VIDEO_ASPECT_CONVERT_SVCD2
VIDEO_ASPECT_CONVERT_VCD1
VIDEO_ASPECT_CONVERT_VCD2
VIDEO_ASPECT_SOURCE_MATCH
VIDEO_ASPECT_TYPE_NTSC
VIDEO_ASPECT_TYPE_PAL
VIDEO_BITRATE 1296
VIDEO_CODEC_NAME XviD 1.1.0 Final
VIDEO_CODEC_STATUS Codec(s) are Installed
VIDEO_CODEC_TYPE XVID
VIDEO_DAR 1.667
VIDEO_DURATION 1:40:02
VIDEO_FIELDS_PER_SEC
VIDEO_FRAME_COUNT 150045
VIDEO_FRAMES_PER_SEC 25.000
VIDEO_H264
VIDEO_MPEG2
VIDEO_MPEG2_3X2
VIDEO_MPEG2_BFF
VIDEO_MPEG2_I_L
VIDEO_MPEG2_PPF
VIDEO_MPEG2_PROG
VIDEO_MPEG2_TFF
VIDEO_MPEG4 MPEG-4
VIDEO_MPEG4_BVOP B-VOP
VIDEO_MPEG4_GMC
VIDEO_MPEG4_NVOP
VIDEO_MPEG4_QPEL
VIDEO_PAR 1.000
VIDEO_PICS_PER_SEC 25.000
VIDEO_QF 0.167
VIDEO_SAR 1.667
VIDEO_SIZE_X 720
VIDEO_SIZE_Y 432
AUDIO_BITRATE 384
AUDIO_BITRATE_TYPE CBR
AUDIO_CHANNEL_COUNT 6
AUDIO_CODEC 0x2000 (Dolby AC3) AC3
AUDIO_CODEC_STATUS Codec(s) are Installed
AUDIO_MPEG_STREAM_ID
AUDIO_MPEG_SUBSTREAM_ID
AUDIO_SAMPLE_RATE 48000
FILE_NAME Sam (BAD_AspectRatio).avi
FILE_NAME_WITH_PATH D:\Sam (BAD_AspectRatio).avi
FILE_SIZE 1,267,943,424
CONT_AUDIO_STREAM_COUNT 1
CONT_BASETYPE AVI(.AVI)
CONT_BYTES_MISSING 0
CONT_INTERLEAVE_ALIGN Split
CONT_INTERLEAVE_PRELOAD 512
CONT_INTERLEAVE_TIME 40
CONT_SUBTYPE OpenDML (AVI v2.0),
CONT_TOTAL_BITRATE 0
VIDEO_ASPECT_CONVERT_AVI1
VIDEO_ASPECT_CONVERT_AVI2
VIDEO_ASPECT_CONVERT_CVD1
VIDEO_ASPECT_CONVERT_CVD2
VIDEO_ASPECT_CONVERT_DVD1
VIDEO_ASPECT_CONVERT_DVD2
VIDEO_ASPECT_CONVERT_SVCD1
VIDEO_ASPECT_CONVERT_SVCD2
VIDEO_ASPECT_CONVERT_VCD1
VIDEO_ASPECT_CONVERT_VCD2
VIDEO_ASPECT_SOURCE_MATCH
VIDEO_ASPECT_TYPE_NTSC
VIDEO_ASPECT_TYPE_PAL
VIDEO_BITRATE 1296
VIDEO_CODEC_NAME XviD 1.1.0 Final
VIDEO_CODEC_STATUS Codec(s) are Installed
VIDEO_CODEC_TYPE XVID
VIDEO_DAR 1.667
VIDEO_DURATION 1:40:02
VIDEO_FIELDS_PER_SEC
VIDEO_FRAME_COUNT 150045
VIDEO_FRAMES_PER_SEC 25.000
VIDEO_H264
VIDEO_MPEG2
VIDEO_MPEG2_3X2
VIDEO_MPEG2_BFF
VIDEO_MPEG2_I_L
VIDEO_MPEG2_PPF
VIDEO_MPEG2_PROG
VIDEO_MPEG2_TFF
VIDEO_MPEG4 MPEG-4
VIDEO_MPEG4_BVOP B-VOP
VIDEO_MPEG4_GMC
VIDEO_MPEG4_NVOP
VIDEO_MPEG4_QPEL
VIDEO_PAR 1.000
VIDEO_PICS_PER_SEC 25.000
VIDEO_QF 0.167
VIDEO_SAR 1.667
VIDEO_SIZE_X 720
VIDEO_SIZE_Y 432
AUDIO_BITRATE 384
AUDIO_BITRATE_TYPE CBR
AUDIO_CHANNEL_COUNT 6
AUDIO_CODEC 0x2000 (Dolby AC3) AC3
AUDIO_CODEC_STATUS Codec(s) are Installed
AUDIO_MPEG_STREAM_ID
AUDIO_MPEG_SUBSTREAM_ID
AUDIO_SAMPLE_RATE 48000
*all I want to do is to make the display aspect ratio--> 2:35:1
SeeMoreDigital
10th January 2008, 15:47
*all I want to do is to make the display aspect ratio--> 2:35:1Try adding "64:45" in the "Custom" boxes. And don't forget to select the "Custom" radio button: -
http://i1.tinypic.com/6jdksk0.png
Cheers
gatekeeper_007
10th January 2008, 16:03
nothing...
is there something wrong with the avi's bitstream..? because it seems it won't change to anything else.
I think that I wont be able to avoid the re-encode after all.
anyway...
thx for your help!!
SeeMoreDigital
10th January 2008, 18:26
Please try this sample and report back: -
http://rapidshare.de/files/38263049/Test_File_01.zip.html
gatekeeper_007
10th January 2008, 19:30
- WMP11, Divxplayer..., Divx/XviD standalone - display's wrong aspect ratio
- NeroShowtime and VLC will display it with the correct
EDIT: same happens with my avi, only Nero/VLC will display it correct after the change.
EDIT 2: same result if I set the Display AR to 2.35:1, and if I set Pixel AR 64:45
I mean 2.35:1 -output will be playable but again only with nero and vlc
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.