Advice on what to do with AVIdemux and H.264

Started by DragonsLord, March 06, 2014, 02:29:31 PM

Previous topic - Next topic

DragonsLord

Hello to everybody,
I would like to compress a file like this ...

General
ID                                       : 128 (0x80)
Format                                   : MPEG-TS
File size                                : 28.9 MiB
Duration                                 : 20s 833ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 11.6 Mbps
Network name                             : Private Network

Video
ID                                       : 2001 (0x7D1)
Menu ID                                  : 256 (0x100)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L4.0
Format settings, CABAC                   : No
Format settings, ReFrames                : 1 frame
Codec ID                                 : 27
Duration                                 : 20s 717ms
Bit rate                                 : 10.9 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 30.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.175
Stream size                              : 26.9 MiB (93%)

Audio
ID                                       : 2002 (0x7D2)
Menu ID                                  : 256 (0x100)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Codec ID                                 : 3
Duration                                 : 20s 880ms
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : -187ms
Stream size                              : 489 KiB (2%)

Menu
ID                                       : 4096 (0x1000)
Menu ID                                  : 256 (0x100)
Duration                                 : 20s 833ms
List                                     : 2001 (0x7D1) (AVC) / 2002 (0x7D2) (MPEG Audio)
Service name                             : Hauppauge Capture
Service provider                         : Hauppauge
Service type                             : digital television


... using AVIdemux v2.5.6 since it fully supports XviD encoding.

Unfortunately, from what I understood, version 2.5 can not handle H.264 very well as described here.

Now, I would like to keep using 2.5 for XviD support but I should use 2.6 because of H.264 support. Did I understand fine? :-\

Is it possible to compile 2.6 (on Windows) in order to have all the XviD codec setting present in 2.5, so to have also the support for H.264? :o
Is there any other way that I can follow?

Thanks, in advance, for the help.
- DragonsLord

AQUAR

#1
I use 2.6 all the time for transcoding AVC streams to Xvid streams.
It works just fine and only lacks in special configuration options.

If you have to have those options you could use 2.6 to transcode AVC into a lossless compression that 2.5.6 is comfortable with.
And then 2.5.6 for transcoding that big file into xvid with options.
Not worth it IMHO, but if you must then this is a possible avidemux workflow.

For 2.6 there are two MPEG4-ASP encoder plugins, the one I use is xvid4.
The xvid encoder used with 2.5.6 is not available with 2.6.
Possible to compile yes.
Work with the avidemux 2.6 engine - probably, but the developer is focussed on other areas of 2.6 beta?

Another way to go is to use avisynth and the ffdshow decoders to frameserve the h.264 media to avidemux 2.5.6.
Used this workflow for a long time before jumping to avidemux 2.6. 

DragonsLord

Quote from: AQUAR on March 07, 2014, 01:20:41 AM
[...] The xvid encoder used with 2.5.6 is not available with 2.6.
Possible to compile yes.
Work with the avidemux 2.6 engine - probably, but the developer is focussed on other areas of 2.6 beta?

Hi AQUAR,
thank you for your reply.

Do you mean that, by compiling AVIdemux 2.6 with XviD I will find again all these usefull options ?

AQUAR

No!
I mean, if you understand the source code you may be able to add that xvid encoder.
2.5.6 funtionality of this xvid encoder on 2.6 depends on it being able to handle those complexities.
Some will probably not work due to the different approach to frame ordering.
But thats just my thought on this.

kolpotoru

I am also using avidemux 2.5 because avidemux 2.6 dose not handle avi files as well as 2.5. And missing smart copy feature.