Converting mkv+other files to h264 fails

Discuss about generic usage of MediaCoder.

Moderator: HuggiL

br41n
Amateur
Amateur
Posts: 22
Joined: Tue Aug 05, 2008 11:57 pm

Post by br41n » Sun Aug 24, 2008 9:04 am

Sure here it is:

Code: Select all

ormat                           : MPEG-4
Format profile                   : Base Media / Version 2
Codec ID                         : mp42
File size                        : 11.2 MiB
Encoded date                     : UTC 2008-08-22 22:05:59
Tagged date                      : UTC 2008-08-22 22:05:59

Video
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L5.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 6 frames
Codec ID                         : avc1
Bit rate mode                    : Constant
Bit rate                         : 500 Kbps
Maximum bit rate                 : 1 254 Kbps
Width                            : 624 pixels
Height                           : 352 pixels
Display aspect ratio             : 16/9
Frame rate                       : 25.000 fps
Original frame rate              : 25.000 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.091
Encoded date                     : UTC 2008-08-22 22:05:59
Tagged date                      : UTC 2008-08-22 22:05:59

Audio
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : Yes
Format settings, PS              : Yes
Codec ID                         : 40
Bit rate mode                    : Variable
Nominal bit rate                 : 72.0 Kbps
Maximum bit rate                 : 77.6 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Encoded date                     : UTC 2008-08-22 22:05:59
Tagged date                      : UTC 2008-08-22 22:05:59
If it's not much of a problem can you send me a link of the video you tested and works?
It is pretty weird that i tried a bunch of files and settings and couldn't get any to play with JW's player..

B!ink
Expert
Expert
Posts: 1275
Joined: Sun Nov 26, 2006 9:08 am

Post by B!ink » Sun Aug 24, 2008 9:41 am

I don't have a server you can test it on. It was done locally. I think it has to do with a messed up setting because your video codec id is different from mine.

What settings did you use under Video Tab and Muxer Tab?

br41n
Amateur
Amateur
Posts: 22
Joined: Tue Aug 05, 2008 11:57 pm

Post by br41n » Sun Aug 24, 2008 9:47 am

Well i followed your post step by step, first revereted all the settings, loaded an .avi and started to change settings with the ones you posted on the other thread
Muxer Tab has 'Enabled' box checked and MP4Box selected
Video tab has the following
Image

btw, on the last version there is no more "Normal" for "Motion estimative mode" so i just left it default.. but i highly doubt it has anything to do with that :)

B!ink
Expert
Expert
Posts: 1275
Joined: Sun Nov 26, 2006 9:08 am

Post by B!ink » Sun Aug 24, 2008 9:49 am

If you can wait a few minutes, I'll post the preset file here that you can copy into a notepad.

B!ink
Expert
Expert
Posts: 1275
Joined: Sun Nov 26, 2006 9:08 am

Post by B!ink » Sun Aug 24, 2008 10:06 am

Copy code portion into notepad.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<MediaCoderPrefs><node key="overall.ui.param" value="680,640,236,112"/><node key="overall.tagging.tag" value="false"/><node key="overall.subtitle.mode" value="Disabled"/><node key="overall.audio.encoder" value="Nero Encoder"/><node key="overall.video.bitrate" value="500"/><node key="overall.video.par" value="VGA 1:1"/><node key="overall.container.external" value="Enabled"/><node key="overall.preview.render" value="false"/><node key="audioenc.nero.format" value="HE-AAC V2"/><node key="videoenc.x264.profile" value="High"/><node key="videoenc.x264.level" value="51"/><node key="videoenc.x264.frameref" value="6"/><node key="videoenc.x264.bframes" value="5"/><node key="videoenc.x264.b_pyramid" value="true"/><node key="videoenc.x264.p8x8dct" value="true"/><node key="videoenc.x264.subq" value="7"/><node key="videoenc.x264.mixed_refs" value="true"/><node key="videoenc.x264.brdo" value="true"/><node key="videoenc.x264.bime" value="false"/><node key="videoenc.x264.trellis" value="Enabled during all mode decisions"/><node key="videoenc.x264.fast_pskip" value="false"/><node key="videoenc.x264.threads" value="6"/><node key="audiofilter.resample.samplerate" value="48000"/><node key="videofilter.scale.enabled" value="true"/><node key="videofilter.scale.width" value="1280"/><node key="videofilter.scale.height" value="720"/><node key="videofilter.frame.enabled" value="false"/></MediaCoderPrefs>
Save document as Fabio_Sonnati_(720p)_@_500Kbits.xml under file name. Change save as type to All Files. Make sure encoding is set to ANSI.

Load preset in MediaCoder by going to File --> Load Preset. Add video to file list and change output folder to something else.

br41n
Amateur
Amateur
Posts: 22
Joined: Tue Aug 05, 2008 11:57 pm

Post by br41n » Sun Aug 24, 2008 10:33 am

Sorry it took a bit longer... i tried that too with no luck and also tested your video which of course works :?
ill send you a pm with link to my testing page/file

br41n
Amateur
Amateur
Posts: 22
Joined: Tue Aug 05, 2008 11:57 pm

Post by br41n » Wed Aug 27, 2008 1:17 am

Thanks to b!nk problem is solved :)
It seems that MediaCoder doesn't really like long filenames (or some chars i had in them) so it just not using the global settings you pass to it.... but if you load a profile just for the movie with long name it's working.

Post Reply