PDA

View Full Version : AutoX264 (Multi Encoder GUI for X264) v.18


buzzqw
22nd November 2008, 18:45
Here my new creation.. AutoX264

AutoX264 is a cross platform application (avaiable for windows and linux) that can use several h.264 encoders to deliver outstanding encoding on mp4, mkv or m2ts

On its basic way AutoX264 use mencoder , mplayer, xterm and MP4Box.

AutoX264 can decode/encode, using mencoder, ffmpeg,X264.exe, DGAVCIndex, DGIndex, FFmpegSource , near all files, from m2ts to avi, to mkv

AutoX264 also support MeGui X264 profiles

WARINING FOR UBUNTU USER: make sure you select options avaiable in your mencoder build.
b_adapt=2 isn't actually avaiable in ubuntu 's mencoder build (for example...)

here the link to AutoX264 0.18 version

Linux : http://www.64k.it/andres/data/autox264/autox264.tar.gz

Windows : http://www.64k.it/andres/data/autox264/AutoX264_v0.18.171.1640.rar
windows update : http://www.64k.it/andres/data/autox264/autox264.exe

AutoX264 Manual: http://www.64k.it/andres/data/autox264/manual/AutoX264%20Guide%20(Windows%20v.%200.15).html

The windows link (rar) is a FULL inclusive BUT remember to update with the executable autox264.exe

For Linux User: make sure you have installed mencoder/mplayer/mp4box.
You should already have installed xterm and gtk2 libs

Optionally you can install mkvtoolnix (for mkv muxing), and wine (and avisynth).. for using the windows full package (already tested and working)
For using MeGui profiles, just create a "profiles" folder and put here the xml files

Linux user should install mediainfo/mkvtoolnix/tsmuxer using repository

I have also tested linux autox264 windows with Wine, and it's fully fuctional (remember to install avisynth, and download applications pack)

Autox264 also support MeGui X264 profiles

WARINING FOR UBUNTU USER: make sure you select options avaiable in your mencoder build.
b_adapt=2 isn't actually avaiable in ubuntu 's mencoder build (for example...)

here some image

http://www.64k.it/andres/data/autox264/autox264-1.png
http://www.64k.it/andres/data/autox264/autox264-2.png
http://www.64k.it/andres/data/autox264/autox264-3.png
http://www.64k.it/andres/data/autox264/autox264-4.png
http://www.64k.it/andres/data/autox264/autox264-5.png
http://www.64k.it/andres/data/autox264/autox264-6.png
http://www.64k.it/andres/data/autox264/autox264-7.png
http://www.64k.it/andres/data/autox264/autox264-8.png
http://www.64k.it/andres/data/autox264/autox264-9.png
http://www.64k.it/andres/data/autox264/autox264-10.png

the application is tested on Ubuntu 8.04 Fedora 10 64bit, Windows XP SP3

BHH

froggy1
22nd November 2008, 19:32
Good job buzzqw! :)

mocham
22nd November 2008, 22:35
Kewl! I'll try it today!

The 0.7 version is just seg faulting on an Ubuntu Intrepid box, the 0.6 version is starting though.

buzzqw
22nd November 2008, 23:09
@mocham
maybe corrupted file ?

try this http://www.64k.it/andres/data/autox264/autox264.07.linux.tar.gz

BHH

Adub
23rd November 2008, 01:29
I can confirm. That link in the first post segfaults on Sabayon 3.5.1 x64bit.

The second link appears to be working.

Couple of things.

1) It would be nice to be able to resize the main window, as currently much of the options are half cut off.
2) Switching between crf and 2 pass does not cause a change in the crf or bitrate selection box.
3, but not so important) How about a little more color? It's pretty white.

But all in all, an excellent start!

talen9
23rd November 2008, 03:01
Segfault confirmed here too (Ubuntu 8.10 64bit), here's the strace output:

# strace ./autox264e ./autox264

execve("./autox264", ["./autox264"], [/* 39 vars */]) = 0
[ Process PID=6436 runs in 32 bit mode. ]
brk(0) = 0xa041000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7eff000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7efe000
set_thread_area(0xff820300) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 6436 detached

mocham
23rd November 2008, 03:10
@mocham
maybe corrupted file ?

try this http://www.64k.it/andres/data/autox264/autox264.07.linux.tar.gz

BHH

That one works, thanks!

buzzqw
23rd November 2008, 09:32
thanks all for feedback and nice words :) !

some answers

It would be nice to be able to resize the main window, as currently much of the options are half cut off.
yep.. on purebasic isn't to so easy to do "dinamyc sizing" box.. but let me search about

Switching between crf and 2 pass does not cause a change in the crf or bitrate selection box.
when you select the 1 pass or 2 pass, you must simply edit the value reported on "Final MB (or CRF)", autox264 will compute bitrate to fit the specified MB size.
The "manual bitrate" is to "override" the compute of bitrate

, but not so important) How about a little more color? It's pretty white.
:p , any suggestion ?

BHH

Henrikx
23rd November 2008, 12:28
Tested on Debian Lenny.
Works fine!!

:):cool:

Adub
23rd November 2008, 21:25
when you select the 1 pass or 2 pass, you must simply edit the value reported on "Final MB (or CRF)", autox264 will compute bitrate to fit the specified MB size.
The "manual bitrate" is to "override" the compute of bitrate

Ah, okay. I am just used to a straight "Bitrate" interface. However, this way works to. Leave it like this.


:p , any suggestion ?

I will have to think for a little while. Mostly the biggest thing is color variance. When everything looks the same the human eye has trouble discerning difference in content. A deeper grey color for the background is not a horrible idea with some a slightly different shade for the buttons, as right now they blend in with the background, except for the shadow.


Also, is there a reason why all of my test videos are scaled? I inserted a basic 1280x720 video, that needed no cropping or resizing, and it automatically calculated a new resolution of 1152x632. However (1152/632)= 1.822784810126582278, which is nearly equivalent to the DAR presented in the information box, 1.8234.

And here I thought that the DAR was supposed to be 16:9. What am I missing here? Are you getting the DAR from some entry in the input file's metadata?

buzzqw
24th November 2008, 09:48
Also, is there a reason why all of my test videos are scaled? I inserted a basic 1280x720 video, that needed no cropping or resizing, and it automatically calculated a new resolution of 1152x632. However (1152/632)= 1.822784810126582278, which is nearly equivalent to the DAR presented in the information box, 1.8234.

the ar is computed by mplayer, you can always change the ar displayed to 1.7778, and autox264 will use this value

BHH

Adub
24th November 2008, 23:21
Okay, I thought it was something like that. Odd that it would choose 1.822.

Adub
3rd December 2008, 23:37
Small bug report. When choosing the no_fast_pskip option, the generated commandline says "nodfast_pskip".

buzzqw
4th December 2008, 09:11
update the windows and linux build

thanks for the bug!

(also added support to subtitle)

BHH

Adub
4th December 2008, 09:55
Okay, we are getting there.

1) I don't think mencoder supports ssa/ass subtitle hardcoding yet. I just tested with an .ass file containing "This is a test!!", and the end video shows no output. I don't think that feature has been fully implemented yet. I would like to say I am wrong.

2) Feature Requests:
---Ability to save log.
---Ability to delete intermediate files, ex "autox264.h264", etc.

3) small bug, when in the subtitles tab, and the "mux to mp4" radio button is selected, if you select a subtitle file, the radio button jumps to "encrust in video"

buzzqw
4th December 2008, 10:42
autox264 will switch between encrust and mux if subtitle isn't compatible with mencoder ...
ssa subtitle isnt' directly supported by mp4box so is "encrusted" by mencoder
srt can be muxed and encrust
same fo ass

Ability to delete intermediate files, ex "autox264.h264", etc
already present, "Program Path"

Ability to save log
.. to be done (but not so easy, since application aim to be cross compiling..)

BHH

Adub
4th December 2008, 10:53
Quote:
Ability to delete intermediate files, ex "autox264.h264", etc
already present, "Program Path"
Ooops, my bad.

autox264 will switch between encrust and mux if subtitle isn't compatible with mencoder ...
ssa subtitle isnt' directly supported by mp4box so is "encrusted" by mencoder
srt can be muxed and encrust
same fo ass

Ah, it seems I was misunderstanding the meaning of "encrust". I thought it hardcoded the subtitles onto the video. I see now that it doesn't. The file that I tested with earlier just needed the subs (which I didn't know where there) enabled in the player.

buzzqw
4th December 2008, 11:29
encrust mean hardcode ... try with a srt

BHH

Adub
4th December 2008, 12:15
Weird. Because with a .ass it just muxes to the final output, even though "encrust" is selected. What I mean is that I have to select the subtitle in my player when playing the resulting video.

Okay, now I can't get any subs to burn in, be them ass or srt. The only way I can get srt to display is if I use the mux option, and even then they are only on for around 3 seconds.

buzzqw
4th December 2008, 12:44
could you please post the encoding bat (add to queue and post it (copy&paste)) ?

BHH

Adub
4th December 2008, 19:32
mencoder -vf harddup,crop=320:176:0:0,scale=288:160 -sws 2 -aspect 1.7727 -of rawvideo -o autox264.h264 -nosound -ovc x264 -x264encopts crf=18:threads=auto:bframes=3:direct_pred=auto:me=hex:subq=6:frameref=3:weight_b:trellis=2:mixed_refs:level=4 -sub "/home/****/Desktop/test.srt" "/home/****/End of the World 1.MP4.m4v"
mencoder -mc 0 -noskip -aid 1 "/home/****/End of the World 1.MP4.m4v" -ovc copy -oac faac -faacopts br=96:mpeg=4:object=1 -channels 2 -af volnorm=2 -of rawaudio -o autox264.aac
MP4Box -add autox264.h264 -fps 30.000 -add autox264.aac "/home/****/Desktop/test.mp4"

And it seems that my player was reading the subtitle files from the same directory, because the name was the same for both files. That would explain why I thought it was working earlier. I just have to rename my output mp4 to something different and the subs are no longer picked up externally.

khaoohs
8th December 2008, 17:42
I get an error when trying to pass a VIDEO_TS.ifo file to autox264.
http://pastebin.ca/1279739.

offtopic:
I'm just setting up a linux box for x264 encoding, so I"m new to this. I'm looking for single app encoding, so I'm also playing with handbrake.

Thanks

buzzqw
8th December 2008, 18:59
your mencoder build is probably outdated
please add the job to queue, then paste here the job
maybe b-adapt or psy-rd

BHH

khaoohs
12th December 2008, 03:14
buzz,

Sorry for not explaining it better. My initial problem was that I selected a VIDEO_TS.ifo file I had previously ripped to my hd. Then it autocropped the enitre frame, taking 720 from the top and 480 from the right. I have now manually cropped it am running an encode. We'll see what happens.

This may have *too* many options for me as I'm a noob to x264 encoding.

Is it possible for me to select a mkv container instead of mp4?

buzzqw
12th December 2008, 08:27
autox264 "actually" support only mp4

maybe in a future update i will support even mkv

BHH

buzzqw
19th December 2008, 11:30
update windows AND linux version (same link as above)
a little better resizing
added mkv support
added info on mencoder build used

BHH

buzzqw
23rd December 2008, 11:29
(actually for windows.. later for linux)

added support for MeGui X264 profile's

in the same place as autox264.exe create a folder "profiles", copy in "profiles" all xml files from megui x264 profiles's

BHH

buzzqw
24th December 2008, 09:57
windows update
rearranged gui
added support for saving program path

linux build will follow later

BHH

yeye69
24th December 2008, 10:52
is it open source? :)

buzzqw
24th December 2008, 11:30
yes, gpl v3

source code, in purebasic, is avaiable on request

BHH

buzzqw
24th December 2008, 15:08
update the linux build too

BHH

Adub
25th December 2008, 01:03
Sweet!! Thanks for the MeGUI profiles support. I can't wait to get back home after break and play with this thing on my 64-bit Sabayon build.

buzzqw
25th December 2008, 09:31
please report any errors :)

BHH

mocham
25th December 2008, 09:53
Thanks for the MeGUI presets addition. Why aren't the presets listed in alphabetical order in your drop down list?

buzzqw
25th December 2008, 10:06
.. maybe i must rework the parsing profile directory ;)

EDIT: update the linux build, fixed the alphabetical order of profiles

BHH

yeye69
25th December 2008, 13:25
If I create a shortcut on the desktop and/or run autox264 from other directory than where autox264 installed, there is no profiles. This is a bug or a feature?

buzzqw
25th December 2008, 14:48
This is a bug or a feature?
it's look like a bug to me

windows or linux ?

BHH

mocham
25th December 2008, 23:39
If I create a shortcut on the desktop and/or run autox264 from other directory than where autox264 installed, there is no profiles. This is a bug or a feature?

Same issue here. Linux version, with Gnome desktop environment. If I make a launcher in the Gnome menu then I don't see the presets, if I run it from the directory I put the binary then the presets are there.

Thanks for fixing the preset drop down sort order! This is an awesome frontend!! :thanks:

buzzqw
26th December 2008, 09:57
update the linux build

fixed not profiles found when lauching auto264 from a link (thanks to yeye69 and mocham)

BHH

yeye69
26th December 2008, 14:58
It works, thanks!

But I'm confusing with a cropping. If I want to omit crop values, do I put 0 in these values or width x height? I need some clarity on this question.

buzzqw
26th December 2008, 15:31
update the linux build (again), just some gui glitch (and fixed the Donate button ... :p)

But I'm confusing with a cropping. If I want to omit crop values, do I put 0 in these values or width x height? I need some clarity on this question.

yes, for NO CROP but 0 on all values

BHH

buzzqw
28th December 2008, 13:53
fixed muxing on No audio (both for linux and windows build)

BHH

Selur
29th December 2008, 08:30
@buzzqw: did you find a workaround for http://forum.doom9.org/showthread.php?t=140261 ? (strange connection between sample rate and bitrate when encoding to aac audio)

buzzqw
29th December 2008, 17:30
well.. i don't pass sample rate to mencoder , i let mencoder select it (or can be selected by user) (and i use only mencoder, not ffmpeg)

can you use sox as a prefilter for sampling ?

BHH

yeye69
29th December 2008, 19:35
How about multiple sound tracks?

buzzqw
29th December 2008, 19:46
autox264 can handle input file with multiple audio tracks (change pid in audio options) , BUT can output only one audio track at time

BHH

Selur
29th December 2008, 21:21
can you use sox as a prefilter for sampling ?
one could, but the problem is this:
say you got a stereo source with 380kBit/s@48kHz and you want a 60kBit/s@48kHz stereo aac file with you end up with 96+kBit/s instead of 60kBit/s. So the problem is that the output bitrate strongly depends on the output sample rate if you just take the sampel rate of the input (48kHz) you can't get a bitrate around 60kBit/s you always end somewhere between 80kBit/s-160kBit/s and as far as I could test it then there's no way of knowing what the output size will be.
All in all it isn't really a problem if it doesn't bother you if you get a 60kBit/s or a 132kBit/s audio output. (doesn't kill you for normal dvd encodes aiming for 1CD+ but it's really a pain if you want some low bitrate encodes for the net; that's what I needed when I stumbled over this problem. :()

Haven't found a workaround for it myself and for low datarates I now use neroaacenc, just wanted to know if you were aware of the problem and may be knew a way to fix it.


Cu Selur

buzzqw
29th December 2008, 22:10
understud, that a pita

i will encode some sample files at different audio bitrate with autox264... just to look at audio bitrate

thanks for the input

BHH

buzzqw
31st December 2008, 08:45
update windows build
now autox264 propose the same input folder as output folder
when saving with extension "mkv" autox264 set automatically mux to mkv

BHH

buzzqw
2nd January 2009, 13:16
update the windows build (later for linux)

added support for multi audio

BHH

Mad_Martha
4th January 2009, 23:29
Hi , thanks for this prog..

Question : How would I go about a non-cropped , Anamorphic encode to an mkv - encode at original res then use mkvmerge to set DAR ?

Problem - Have noted that even when I set the cropping to all zero , clicking anywhere on the cropping tag re-enters values into the crop fields.
(and conversely - when changing the crop fields to zero it changes the output resolution away from what was previously set)

Another problem I got is that when trying to encode - audio is processed but then everything just stops - does not get to trying to encode video , just halts after the audio.(the terminal window closes and nothing else happens)

I pasted the encode line directly into a terminal window and got the following :

mencoder -vf harddup,crop=720:576:0:0,scale=720:576,hqdn3d=2:1:2 -sws 2 -aspect 1.7778 -of rawvideo -o autox264.h264 -nosound -ovc x264 -x264encopts bitrate=2114:pass=1:threads=auto:bframes=8:partitions=i4x4,i8x8,p8x8,b8x8:8x8dct:direct_pred=auto:me=tesa:subq=8:b_adapt=2:turbo=2:frameref=16:deblock=-1,-2:weight_b:me_range=32:trellis=2:mixed_refs:b_pyramid:level=4.1:ratetol=1 "/home/madmartha/Videos/Clockwork.mpg" -nosound
MEncoder 2:1.0~rc2-0ubuntu17 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) III CPU family 1400MHz (Family: 6, Model: 11, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Option x264encopts: Bad argument b_adapt=2
success: format: 0 data: 0x0 - 0x2d3e804
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 6500.0 kbps (812.5 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [hqdn3d=2:1:2]
Opening video filter: [scale w=720 h=576]
Opening video filter: [crop w=720 h=576 x=0 y=0]
Crop: 720 x 576, 0 ; 0
Opening video filter: [harddup]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0x883e3d0]SwScaler: using unscaled yuv420p -> yuv420p special converter
FATAL: Cannot initialize video driver.

Exiting...


cheers , [MM]

buzzqw
5th January 2009, 09:07
you are using a very old mencoder build MEncoder 2:1.0~rc2-0ubuntu17 (C) 2000-2007 MPlayer Team

i think that these optionts are not avaiable for you
":b_adapt=2" , set the b adapt to 1
"me=tesa" , set to a lower value

(or update the mencoder build...)

BHH

buzzqw
5th January 2009, 17:01
update both builds (win and linux)

better ffmpeg encoding
better ffmpeg path detection
added support for NO video encoding (will encode only audio)

BHH

Crono141
9th January 2009, 15:07
Dumb question: Is it possible to get a PPC build for PS3 ubuntu?

buzzqw
9th January 2009, 15:20
i can't compile for PPC :( sorry

but autox264 is FOOS, so if you have a license of purebasic you can compile

BHH

buzzqw
10th January 2009, 10:36
update to 0.13
update both builds, windows and linux

added support for encoding with x264 (via avisynth)
added support for decoding with avisynth (and encoding with x264) , using dgavcdec, ffmpegsource, directshowsource
added support for copy audio/copy video/no audio/no video
better encoding with ffmpeg

now autox264 is a multi encoder (x264/ffmpeg/mencoder) for h264 codec!

Selur
13th January 2009, 20:58
added support for decoding with avisynth (and encoding with x264) , using dgavcdec, ffmpegsource, directshowsource
for windows&linux ?

buzzqw
14th January 2009, 09:49
for windows&linux ?

for both :)

if you download autox264 AND applications pack (first post) when you start the application, it will find automatically the new decoding/encoding capabilities

in case of use avisynth (dgavcdec or ffmpegsource or dss) mencoder is used only for audio encoding, while autox264 will build a minimal avisynth script (crop/resize/denoise/filtering as requested, and of course decoding with dg/ff/dss) and will encode with x264

it works for linux (under wine) too :)

BHH

yeye69
14th January 2009, 12:14
Something wrong for me with latest version, can't analyze any source file

buzzqw
14th January 2009, 14:12
Something wrong for me with latest version, can't analyze any source file

windows or linux ? if win..got the applications pack ?

what's source file ?

could you provide a sample ?

and last dumb question: have you hit "Analyze with..." ?

BHH

yeye69
14th January 2009, 15:09
linux version. Any source file, like mpeg2, h264 and vc1, in any container like m2ts, ts and mkv. Previous version had worked with such files.

MEncoder dev-SVN-r28311-4.3.2

and last dumb question: have you hit "Analyze with..." ?

if you mean a choosing mediainfo or mencoder, I'v tried each of both

buzzqw
14th January 2009, 15:41
that's strange!

i have tested on debian lenny 32bit and fedora 10 64bit, with mencoder/mplayer build 26940 (debian-multimedia latest build) and 28189

i will update my mplayer build.. but..

could you try this http://www.64k.it/andres/data/autox264/autox264.tar ?

thanks

BHH

yeye69
14th January 2009, 16:45
The same result. Let's begin newly, step by step confirmation.

First, choose a source file, for example, this one http://www.kdenlive.org/videos/avchd-test-1.mts , then name of destination file.

Next step is ...

buzzqw
14th January 2009, 17:20
OK!

i am unable to analyze with mplayer too :, with latest mplayer build

BUT is ok with previus mplayer build...

i will check...

BHH

froggy1
14th January 2009, 17:29
that file works with mplayer -demuxer lavf

(mplayer dev-SVN-r28269)

buzzqw
14th January 2009, 17:46
thanks a lot froggy1

i will add a workaround

BHH

buzzqw
14th January 2009, 17:57
ok, please redownload the autox264.tar.gz from first post

BHH

yeye69
15th January 2009, 08:34
I understood my mistake, sorry for misleading. There is no button "Analyze with...", but if I click on blank field near the combobox "mplayer/mediainfo", that works. See attachment

buzzqw
15th January 2009, 11:54
@yeye69

if are using gnome as desktop manager make sure you have correctly installed the theme using

BHH

yeye69
15th January 2009, 13:14
Yes, I'm using gnome as DE with the default theme on Fedora 10 (32 bit)

buzzqw
15th January 2009, 13:20
@yeye69
i am using gnome and Fedora 10 too! (but 64bit) :)
using the clearlooks theme the screen of application are as first post of this thread

something is wrong on your theme..., please try changing it (try with another theme for example)

EDIT: this is on my fedora 10 with fedora theme http://www.64k.it/andres/data/autox264/autox264-fedoratheme.png

EDIT2: are you using aurora button ?

BHH

Adub
15th January 2009, 19:00
small bug I noticed. When loading a megui profile, the bitrate is placed into the Final MB (or CRF) box, instead of the correct mplayer manual bitrate box.

buzzqw
15th January 2009, 20:25
@Merlin7777

i agree merlin7777 but if i set this as "manual bitrate" , users will not spot it and every encode will be a bitrate of 1000 ....

would be better to simply ignore the value in profile (if not crf profile) ? what do you think ?

BHH

buzzqw
16th January 2009, 14:57
update windows build
now it accept d2v input file. Autox264 will automatically build an avs script around this input
fixed some glitch on m2ts files

BHH

flebber
18th January 2009, 14:39
Simple question but I cannot get it too work, how do I import megui profiles on Windows XP sp3. I have a dop down box with 'NONE' written in it I cannot use the preset button too select profiles, so I placed xml files in the AutoX264 folder I created and then restarted AutoX264 but no go.

How do you do it?
Is there an option to save profiles you create within AutoX264?

cheers

buzzqw
18th January 2009, 14:41
in the same place as autox264 create a folder named "profiles"
copy into "profiles" folder all the XML files from megui x264 profiles

relaunch autox264

Is there an option to save profiles you create within AutoX264?

no

BHH

flebber
18th January 2009, 15:06
Sorry I am coming up with an error during encoding.

http://farm4.static.flickr.com/3299/3206561584_396a10c95c_o.jpg

http://farm4.static.flickr.com/3299/3206561584_396a10c95c_o.jpg

buzzqw
18th January 2009, 16:30
you are using some options not present in your mencoder build

please add the job to queue.. and copy&paste here the line of encoding

make sure you are using the latest mencoder version (from sherpya site)

BHH

flebber
19th January 2009, 09:45
I am using the mencoder that came with Automen, I will look for the Sherpya version

"C:\Documents and Settings\flebber\Desktop\AutoMen50_FULL\mencoder.exe" -vf harddup,crop=320:176:0:32,scale=288:156,hqdn3d=2:1:2 -sws 2 -aspect 1.3333 -priority idle -of rawvideo -o autox264.h264 -nosound -ovc x264 -x264encopts bitrate=32352:pass=1:threads=auto:bframes=3:8x8dct:direct_pred=auto:me=umh:subq=6:b_adapt=2:turbo=2:frameref=5:deblock=-1,-1:aq_mode=1:aq_strength=1.2:psy-rd=rd=1.0[0]:weight_b:trellis=2:mixed_refs:nodct_decimate:nofast_pskip:b_pyramid "C:\Rip\Source Video\Killswitchengage_HolyDiver_400(0).flv" -nosound
"C:\Documents and Settings\flebber\Desktop\AutoMen50_FULL\mencoder.exe" -vf harddup,crop=320:176:0:32,scale=288:156,hqdn3d=2:1:2 -sws 2 -aspect 1.3333 -priority idle -of rawvideo -o autox264.h264 -nosound -ovc x264 -x264encopts bitrate=32352:pass=2:threads=auto:bframes=3:partitions=i4x4,i8x8,p8x8,b8x8:8x8dct:direct_pred=auto:me=umh:subq=6:b_adapt=2:turbo=2:frameref=5:deblock=-1,-1:aq_mode=1:aq_strength=1.2:psy-rd=rd=1.0[0]:weight_b:trellis=2:mixed_refs:nodct_decimate:nofast_pskip:b_pyramid:qblur=0.5 "C:\Rip\Source Video\Killswitchengage_HolyDiver_400(0).flv"
"C:\Documents and Settings\flebber\Desktop\AutoMen50_FULL\mencoder.exe" -mc 0 -noskip -aid 1 "C:\Rip\Source Video\Killswitchengage_HolyDiver_400(0).flv" -ovc frameno -oac faac -faacopts br=96:mpeg=4:object=2 -channels 2 -af volnorm=2 -of rawaudio -o audiox264-pid1.aac
"C:\Documents and Settings\flebber\Desktop\AutoMen50_FULL\mkvmerge.exe" -o "C:\Rip\Produced\Killswitch_Engage-Holy_Driver.mkv" --default-duration 0:23.976fps --aspect-ratio -1:1.8648 autox264.h264 audiox264-pid1.aac

flebber
19th January 2009, 10:07
Yes updating mencoder has resolved it I downloaded the version from http://oss.netfarm.it/mplayer-win32.php and it works well now. :)

nm
19th January 2009, 10:30
-x264encopts bitrate=32352: pass=1:threads=auto:bframes=3:8x8dct:direct_pred=auto:me=umh:subq=6:b_adapt=2:turbo=2:frameref=5:deblock=-1,-1:aq_mode=1:aq_strength=1.2:psy-rd=rd=1.0[0]:weight_b:trellis=2Your psy-rd parameter is mangled. It should be "psy-rd=x" or "psy-rd=x,y" where x and y are decimal numbers, x=RD and y=Trellis. The default is "psy-rd=1.0,0.0".

buzzqw
19th January 2009, 14:15
from mplayer manual

psy-rd=rd[:trell]
Sets the strength of the psychovisual optimization.
rd=<0.0−10.0> psy optimization strength (requires subq>=6) (default: 1.0)
trell=<0.0−10.0> trellis (requires trellis, experimental) (default: 0.0)

so it's psy-rd=XX[YY]

BHH

froggy1
19th January 2009, 14:32
psy-rd=rd[,trell]
Sets the strength of the psychovisual optimization.
rd=<0.0−10.0> psy optimization strength (requires subq>=6) (default: 1.0)
trell=<0.0−10.0> trellis (requires trellis, experimental) (default: 0.0)

this is the correct description of psy_rd. the two parameters of psy_rd are separated by a coma not a : colon

there was a mistake made in the man page a while ago so I sent a mail to mplayer-docs list telling them that one can't use a : colon to separate parameters of a specific option as mencoder uses : colons to separate individual option. Diego committed the correction after my mail so you obviously use an outdated man page

buzzqw
26th January 2009, 16:15
update to 0.14 (windows only)

added if input end with _1, autox264 automatically will try to load _2 _3 _4 and so on
added support for avisynt filters
added over twenty avisynth filters
added QMF support
added MVDegrain support
added colormatrix support
added greyascale support
added support for dgindex
fixed save path
fixed m2ts audio handling
reworked applications and filters path

BHH

buzzqw
3rd February 2009, 13:37
update the windows build (full pack)

added tooltip
added status bar
fix some bugs with dgindex/dgavcdec

BHH

Ku2_BiO_X
3rd February 2009, 16:27
hello..
what is the option to add bime and brdo?
i use real anime6 (use mencoder) before, and it has bime & brdo in its option.. will it make a diff to the video quality?
thank you..

buzzqw
3rd February 2009, 16:35
@Ku2_BiO_X

Hi Ku2_BiO_X and Welcome to the Forum

first of all remember that you can use the MeGui profile (already included in windows package), and so using a profile tuned for anime

and .. moreover bime and brdo WERE removed from x264, so you cannot find it, i suggest to rise reference frames
but again .. load a anime profile :)

BHH

Ku2_BiO_X
3rd February 2009, 16:48
thank for your quick reply..
actually, what i want to do is to convert anime (e.g blech by db) into smaller size..
but i don't really know what bitrate should i use..usually i use 300 kbps but sometimes it doesn;t work..
are there any suggestion? thank you..
p/s: looks like the psyrd problem is fixed.. need to download the new versions..:)

holy_reds
4th February 2009, 18:37
@Ku2_BiO_X
For 50~60MB per episode, you can try 285~320 kbps video and 32~40 kbps audio(AAC+)
And yeah make sure using high value of ref frames(5~16),subq(7~9),and also me-range(24~32)..

@buzzqw
I like this tool a lot because of its queue, but can it do a 3pass encoding?
Or can you tell me the command line example for 3pass encoding? so I can copy it into queue..
Oh, just for information I'm using the Linux version..

buzzqw
5th February 2009, 12:31
update Linux build to 0.15 version

BHH

@holy_reds

just clone the second line (the pass=2) and add change to pass=3

BHH

buzzqw
9th February 2009, 10:15
added manual

Manuale versione Windows (http://www.64k.it/andres/data/autox264/manual/AutoX264%20Guide%20(Windows%20v.%200.15).html)

BHH

Dark Shikari
9th February 2009, 10:21
hello..
what is the option to add bime and brdo?
i use real anime6 (use mencoder) before, and it has bime & brdo in its option.. will it make a diff to the video quality?
thank you..http://git.videolan.org/?p=x264.git;a=commit;h=c89bc900a3bf0d4c4c728ad378703970b4f14e18

flebber
9th February 2009, 14:03
This is a great little program thanks. I was reading through the manual you have posted and wanted to clarify this.

Regarding avisynth use you advise to When using AviSynth ad backbone for encoding,

buzzqw
9th February 2009, 16:28
When using AviSynth ad backbone for encoding,

maybe i mean "when using avisynth AS backbone..."

thanks, will fix it

BHH

buzzqw
10th February 2009, 08:46
update windows build
update manual
fixed psy-rd
better suggestion of decoder

BHH

buzzqw
11th February 2009, 08:36
UPDATE: rev 0.15.142 (windows, linux will follow)
dar is now changed on ar change
save settings now save: resizer, muxer, denoise
HIDDEN save settings for:

Manual Bitrate
Deinterlace

these value will not be automatically saved (i don't want to make it "sticky"), BUT it in autox264.ini is present "Deinterlace = XXXX " , without quotes, and XXXX is the name of interlace filter to load, autox264 will load it at every start
the same for "Manual Bitrate = 1500" , in this case it will automatically load 1500 as manual bitrate

remember that : "Manual Bitrate" and "Deinterlace" isn't saved by hit "Save Program Path" , you must write it in automen.ini

BHH

buzzqw
11th February 2009, 13:07
update full windows package

UPDATE
addded in save settings follow itu
added eac3to support, now if input is mkv and users select DGAVCIndex as decoder, eac3to will be automatically called for demuxing video track (and audio too)
update all core sotwares
dar is now changed on ar change
save settings now save: resizer, muxer, denoise
HIDDEN save settings for:
Manual Bitrate
Deinterlace
these value will not be automatically saved (i don't want to make it "sticky"), BUT it in autox264.ini is present "Deinterlace = XXXX " , without quotes, and XXXX is the name of interlace filter to load, autox264 will load it at every start
the same for "Manual Bitrate = 1500" , in this case it will automatically load 1500 as manual bitrate

remember that : "Manual Bitrate" and "Deinterlace" isn't saved by hit "Save Program Path" , you must write it in automen.ini

BHH

buzzqw
12th February 2009, 09:51
update linux package

same version as windows

BHH

buzzqw
13th February 2009, 08:19
update to 0.17, update both windows and linux build

link in first post of thread

fixed : turbo were unused when encoding with avisynth/x264 (thanks to Goblack)
fixed: m2ts muxing was done twice
fixed: ffmpeg bitrate was computed wrong
fixed: detecting of ffmpeg executable (bug only for windows)
added: possibility to add an arbitrary string to avisynth script
changed: unit access delimiter (aud) is now active by default
added: preview button now allow to ear audio track selected

BHH

LeonLanford
16th February 2009, 15:05
At last I can post here.. Thanks for making the program :D
I've tested the program several times.. I found some oddity, I posted in other forum, I don't know how to merge them so I'll just quote them and put them here..

Sorry.. I tried to use spoiler tag but there isn't any..


here's the result after yesterday testing, using the same settings, crf 25

original
http://img27.imageshack.us/img27/456/soraoriginalec9.th.jpg (http://img27.imageshack.us/my.php?image=soraoriginalec9.jpg)

avidemux
http://img19.imageshack.us/img19/4864/soracrf25avidemuxhy8.th.jpg (http://img19.imageshack.us/my.php?image=soracrf25avidemuxhy8.jpg)

autox264
http://img4.imageshack.us/img4/935/soracrf25mencoderzg5.th.jpg (http://img4.imageshack.us/my.php?image=soracrf25mencoderzg5.jpg)

there's 2 big flaw in autox264
1. the color loss(see the screenshot)
2. the audio size really big! i already set 32 bitrate aac with auto(and 22hz tested), the result is 22mb audio, while avidemux can get 10mb by 56 bitrate aac

so i'm still considering whether to use it or not, but the video quality really awesome... :-D
i'm gonna ask why the color loss and audio size's big.. do someone have doom9 account? i must wait for 4 days to post there :(



yes i've already patched it.. it's 303kb here

i've already try to turn of chroma me which maybe the cause of the problem, but the encoding won't start/error if i check the "no-chroma me"

and i just do almost throughly checking just now because of my exams :P
i've tested with 2pass 300 bitrate and crf 27, the quality same.. only a bit rough than crf 25, no noticable if you're watching i think but i forgot to copy the screenshots here..

i have additional problem here, even though i'm using crf, when it's "a bit" quite faster scene, the screen became rough, it's really noticable in crf 25 but not 27.. in 2pass also like that, i don't know why it's like that, the example is when the green girl(forgot the name) opened her cloth, it suddenly became rough, i've tested with several encode settings and and badapt=2 also but it's still like that

so it has 3 flaws now..



i've tried to disable aq also.. it's still like that
i've tried umh and hex also, i haven't tried the two later, but it seems will take really long time but i'll try it later..

i've tried all partitions and without partitions also, the result 01:111 seems better to me, the deblock important right? from what i read from other site.. it's also enabled by default in avidemux and autox264..

the psy rdo also error, if i don't encode using mencoder, the psy rdo won't come out(it's 0.0), i don't want to use mencoder because it's automatically hardsubbing the softsub, and the sub really bigggg, ugly.. if it's automatically hardsubbed but kept the default style the i don't mind..
btw i don't move the sub to "encrust subtitle", i'm using the default "mux subtitle"

http://i44.tinypic.com/6zc9q8.jpg
it's only happening in mencoder.. and there's only 2 encoder working, the avisynth(ffmpeg) and avisynth(directshow), the others just get error here and there... i usuall y use the avisynth(ffmpeg)

edit
omg! i just realized that the "mencoder" encoder has the right color.. there's no color loss.. so it's avysynth fault then?

ori
http://img22.imageshack.us/img22/8453/oriqs5.th.jpg (http://img22.imageshack.us/my.php?image=oriqs5.jpg)

avidemux
http://img25.imageshack.us/img25/4669/avidemuxpt9.th.jpg (http://img25.imageshack.us/my.php?image=avidemuxpt9.jpg)

avisynth(ffmpeg)
http://img23.imageshack.us/img23/2774/mencoder1tg8.th.jpg (http://img23.imageshack.us/my.php?image=mencoder1tg8.jpg)

mencoder
http://img21.imageshack.us/img21/4080/mencoderkoderml8.th.jpg (http://img21.imageshack.us/my.php?image=mencoderkoderml8.jpg)



update again..
strange.. i just tried again(with avisynth ffmpeg) and the color seems fine.. omg!
i use the same settings.. very strange!


Hope you can undestand.. thanks :D

edit
Can you add script save feature? So I don't have to set up the settings everytime I want to encode.. I've tried editing the xml things but it gave me wrong settings :(

buzzqw
16th February 2009, 20:41
about the color loss: need to know if mencoder or avisynth and what is the input file (and remember if you use avisynth you can use colormatrix)
about aac audio size: please post the mencoder string that encode audio (copy and paste here from queue)
about quality and speed: sorry i cannot help, select a preset from megui , maybe are more tuned
psy-rd : fixed previus week

about subs: i have big news!
the next update (windows only) will be able to select subtitle on mkv input (and mencoder sub hardcoding issue will be resolved) and user will be able to NOT encode, or to mux and use only wanted subs

also.. read the manual...

BHH

P.S. Welcome to the Forum!

LeonLanford
17th February 2009, 03:11
1. Color Loss : The Input file is MKV h264 and avi xvid, they get color loss.. I don't know what's color matrix..

2. The Audio Size :

"D:\File Tampung Sementara\Download\AutoX264_v0.15.122.1246\applications\mencoder.exe" -mc 0 -noskip -aid 0 "C:\Documents and Settings\Leon Lanford\Desktop\encode\perlengkapan tes encode + kopirait\[CrystalNova]ARIA_The_ORIGINATION_-_Promo_[82BB8C62].mkv" -ovc frameno -oac faac -faacopts br=32:mpeg=4:object=2 -channels 1 -of rawaudio -o audiox264-pid0.aac


3. Subs : It'll be fixed? cool :D

4. Save settings : I already read the manual and there's no settings to save the profile I made :( I want to make different profile for different anime.. Like anime with slow paced scene and high paced..

buzzqw
17th February 2009, 08:46
now working on audio.. stay tuned :)

BHH

LeonLanford
17th February 2009, 15:03
Thx.. :D

If I want to update, I need to only replace the autox264.exe?

buzzqw
17th February 2009, 20:04
yes

but next update would be a full release (the rar package)

in next update audio size should be less, and i have also add the possibility to save custom x264 profile

BHH

buzzqw
18th February 2009, 08:36
update to 0.18 (windows, linux will follow)

fixed hardcoding subs when using mencoder
added support for multiple subtitle: if input is mkv user is now allowed to select any arbitrary number of subs (please check the manual)
added support for HandBrakeCLI (already present in windows full pack)
added support for saving customized x264 profiles (on More X264 Options (3)) (please check the manual)
better audio size when using aac encoder
update manual (please read it!)

BHH

LeonLanford
18th February 2009, 13:25
funny.. now there's no audio..

http://i39.tinypic.com/w226pe.jpg

And something weird is happening.. After encoding one file, when I want to encode another file, it finished suddenly, the file is the first file I encoded, it seems like it's cached.. I've deleted the queue.bat and avisynth script but it's still like that.. I've closed the application and open it again, it's still like that.. really weird..

mencoder

"D:\File Tampung Sementara\Download\AutoX264_v0.18.171.1640\applications\mencoder.exe" -vf harddup,crop=768:432:0:0,scale=512:288,hqdn3d=2:1:2 -sws 9 -aspect 1.7778 -priority normal -sid 4 -of rawvideo -o autox264.h264 -nosound -ovc x264 -x264encopts crf=25:threads=auto:bframes=3:partitions=all:8x8dct:direct_pred=auto:me=umh:subq=6:frameref=3:aq_mode=2:aq_strength=1.0:psy-rd=1.0,0.0:weight_b:mixed_refs:b_pyramid:level= -sub "C:\Documents and Settings\Leon Lanford\Desktop\encode\leon.ass" "C:\Documents and Settings\Leon Lanford\Desktop\encode\perlengkapan tes encode + kopirait\[CrystalNova]ARIA_The_ORIGINATION_-_Promo_[82BB8C62].mkv"
"D:\File Tampung Sementara\Download\AutoX264_v0.18.171.1640\applications\mp4box.exe" -add autox264.h264 -fps 29.970 "C:\Documents and Settings\Leon Lanford\Desktop\yah.mp4"


avisynth(ffmpeg) and others

"D:\File Tampung Sementara\Download\AutoX264_v0.18.171.1640\applications\x264.exe" --crf 25 --threads auto --thread-input --no-psnr --progress --bframes 3 --partitions all --8x8dct --direct auto --pbratio 1.30 --aud --me umh --subme 6 --ref 3 --aq-mode 2 --aq-strength 1.0 --psy-rd [1.0:0.0] --weightb --mixed-refs --b-pyramid --level --sar 1:1 --output autox264.h264 "D:\File Tampung Sementara\Download\AutoX264_v0.18.171.1640\autox264_s_[CrystalNova]ARIA_The_ORIGINATION_-_Promo_[82BB8C62].avs"
"D:\File Tampung Sementara\Download\AutoX264_v0.18.171.1640\applications\mp4box.exe" -add autox264.h264 -fps 29.970 "C:\Documents and Settings\Leon Lanford\Desktop\yah.mp4"

buzzqw
18th February 2009, 13:43
please move the file from desktop to a shorter path

what kind of file is ? With previus build were audio detected ?

last: please post a sample!

about cached... sorry .. don't understud :o

thanks

BHH

LeonLanford
18th February 2009, 13:47
It was detected(0.15)
I used the same source video like my past screenshots in previous page

Post sample? Screenshot?

What I mean by cache is, first I encode a video with mencoder(first test), then after than I tried to change to avisynth-ffmpeg(second test), but the second test really weird, after I press "start queue", it finished suddenly and there's already a file appeared, the same things keep going on third test and so on.. I closed the application and delete the queue.bat+avysynth script, but it's still like that

buzzqw
18th February 2009, 13:57
a sample video (10/20 mb), cut with mkvmerge or dgsplit

every time you click "start queue" it will start ALL queued jobs, no only the one just added

BHH

LeonLanford
18th February 2009, 14:17
I told you I already deleted the queue.bat and restart the application.. The queue is not there anymore.. Now I can't encode anything, I only get blank "autox264.h264" file

Here's a sample, the screen is not smooth.. don't know why
And the ugly subtitle still there

http://www.hotlinkfiles.com/files/2299960_q1dof/ariauy.mp4

buzzqw
18th February 2009, 14:26
even avinaptic don't detect audio in your sample
nor media player classic

subitle isn't detected too

maybe a "mux" problem ? please remux with yamb
(and post a bigger sample)

BHH

LeonLanford
18th February 2009, 14:28
There's no audio from the start.. please see my posted image above..
http://i39.tinypic.com/w226pe.jpg

buzzqw
18th February 2009, 14:32
do.. post a bigger sample, to detect subs

EDIT: there is no LEVEL specified, what is written on "More X264 Options(2)" on LEVEL

BHH

LeonLanford
18th February 2009, 14:33
Bigger sample? subs? The problem is audio not subs..

buzzqw
18th February 2009, 14:37
i must work on a more significant sample

post 20 mb sample

thanks

BHH

EDIT: please redownload the autox264.exe, LEVEL= XX should be fixed

LeonLanford
18th February 2009, 14:41
My upload speed only 3-5kb/s.. Sorry I can't do that :(

It was working on 0.15, why it's error on 0.18? :(

buzzqw
18th February 2009, 14:45
you have a PM

EDIT : ENCRUST SUBS is probably due to not audio detection

EDIT2: neither mediainfo detect audio...

BHH

nst6563
9th March 2009, 19:41
Sorry for the noobness... but it seems no matter what settings I try to encode with it seems that the final result has micro-stuttering. I've tried playing the file on my desktop (3.6Ghz C2Q, 8GB ram, Raid5 array, GTX260) as well as on my mediapc (2.4Ghz Q6600, 4GB Ram nvidia 9300) and both show the same result.

Could encoding across 4 cores be causing this? the stuttering is very minor...but once noticed it's very annoying when compared to the original source. I've tried encoding The 5th Element, SpeedRacer, The Hunt for Red October, and 8Below....all with the same result.

I can post whatever screenshots/settings/versions that will help.
Thanks

:EDIT: Just for kicks I set the affinity to 1 core and still came out with micro-stuttering. Playing the files on my IBM T-60 laptop also shows the micro-stuttering.

buzzqw
10th March 2009, 17:35
using mencoder or another encoder ?

could you try (if using windows) HDConvertToX ? (on mpeg4 gui forum)

BHH

nm
10th March 2009, 21:00
the stuttering is very minor...but once noticed it's very annoying when compared to the original source. I've tried encoding The 5th Element, SpeedRacer, The Hunt for Red October, and 8Below....all with the same result.
If those are NTSC DVDs, your problem is most likely missing IVTC. Are you perhaps deinterlacing instead?

storm20200
15th July 2009, 05:43
Hi I just tried your program on Ubuntu 9.04 32-bit and can't get it to launch, tried it from terminal and got This (http://www.imagefrog.net/show.php/27917_ScreenshotstormIcarusDesktopProgramsLinux.png) =\

I've had this problem with a lot of pre built stuff before, any chance of getting the source? Or should I just take this to the Ubuntu forums?

buzzqw
15th July 2009, 08:29
why do you launch autox264 from terminal ?

just click on executable.. and remember to install the gtk2 library

BHH

storm20200
15th July 2009, 09:34
I launch from terminal because it doesn't give me an error otherwise, instead it tries to load then nothing comes up, no error message and no sign of it in my RAM and yes I have them installed, checked with synaptic and they're installed

EDIT: If I launched via executable you wouldn't be able to see that it gives me an error :P

nm
15th July 2009, 12:01
Hi I just tried your program on Ubuntu 9.04 32-bit and can't get it to launch, tried it from terminal and got This (http://www.imagefrog.net/show.php/27917_ScreenshotstormIcarusDesktopProgramsLinux.png) =\
autox264 is a binary executable, so you can't run it with a shell interpreter. Type ./autox264 instead.

storm20200
15th July 2009, 18:02
autox264 is a binary executable, so you can't run it with a shell interpreter. Type ./autox264 instead.

GOOD GOD MAN IT WORKED! lol, thanks a lot, still don't understand why it doesn't open via clicking on it though :)

Schruppinator
24th September 2009, 10:14
Hello,

first I want to say, that your program is very good. Thanks for that :)

My question is over autox264 on Linux. I get it to run, I load a file (a mkv file) and click "Analyse with mplayer". Now, under linux I get the following output in the console.

Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x82a22a0)" of type `GString'
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Requested video codec family [wmvvc1dmo] (vfm=dmo) not available.
Enable it at compilation.
[vc1 @ 0xc22de0]Incomplete extradata
Could not open codec.
Unsupported PixelFormat -1
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Unsupported PixelFormat -1
Unsupported PixelFormat -1
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Unsupported PixelFormat -1
[vc1_vdpau @ 0xc22de0]decoding to PIX_FMT_NONE is not supported.
Could not open codec.
Cannot find codec matching selected -vo and video format 0x31435657.


I think, because the video is coded in VC1. Right? How I get it to run under Linux, to recode the video from VC1 to x264?

When I use the Windowsversion of autox264 with wine, no errors comes and I can recode the video. (After I put the "wvc1dmod.dll" in the windows/system32 folder I think)

Thanks for your help and sorry for my bad englisch! :):thanks:

buzzqw
24th September 2009, 10:33
Hi Schruppinator

try updating your mplayer build
you can also install on linux the w32codec package..

BHH

Schruppinator
24th September 2009, 11:46
Hello again.

Thanks for the fast answer.

I forgot in my first post: I have a OpenSuse system, x86.


try updating your mplayer build


At the moment I have installed the mplayer from the Packman Rep. in the version: "1.0rc2_r29116-2.pm.28.2-x86_64"

I downloaded the source directly from the mplayer page (Source1 (http://www12.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2) and Source2 (http://www12.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2)) and try to configure it and I get the following output:
Enabled optional drivers:
Input: dvdnav(internal) ftp pvr tv-teletext tv-v4l2 tv-v4l tv cddb cdda libdvdcss(internal) dvdread(internal) vcd dvb network
Codecs: xvid libavcodec(internal) real xanim faad2(internal) faac libdca libmpeg2(internal) liba52(internal) mp3lib(internal) tremor(internal) libmad gif
Audio output: alsa jack esd arts oss v4l2 sdl mpegpes(dvb)
Video output: v4l2 sdl gif89a pnm jpeg png opengl mpegpes(dvb) fbdev xvidix cvidix dga vdpau xv x11 xover yuv4mpeg md5sum tga

Disabled optional drivers:
Input: vstream radio tv-dshow live555 nemesi smb
Codecs: libschroedinger libdirac x264 libdv libopencore_amrwb libopencore_amrnb qtx win32 musepack libtheora speex toolame twolame liblzo
Audio output: sun openal pulse nas ivtv dxr2
Video output: zr zr2 ivtv dxr3 dxr2 vesa svga caca aa ggi xmga mga winvidix 3dfx xvmc dfbmga directfb bl xvr100 tdfx_vid wii s3fb tdfxfb


and a few lines later:
NOTE: Win32 codec DLLs are not supported on your CPU (x86_64) or your
operating system (Linux). You may encounter a few files that cannot
be played due to missing open source video/audio codec support.


I think this is the problem, the codecs are not running at a x86 system!?
The problem is, when I want to install the i586 version, I have to update to many other software, which depends on the mplayer.


you can also install on linux the w32codec package..


I have installed this package "w32codec-all" from the Packman Rep. The codecs are installed in "usr/lib/win32". The "wvc1dmod.dll" is also there.

Do you have any ideas, how I can handle that?:thanks:

nm
24th September 2009, 12:48
[vc1_vdpau @ 0xc22de0]decoding to PIX_FMT_NONE is not supported.
Your MPlayer/MEncoder is configured to use VDPAU for VC-1 decoding. That only works with -vo vdpau, so AutoX264 can't use it. Show us your configuration files (/etc/mplayer/mplayer.conf, /etc/mplayer/mencoder.conf, ~/.mplayer/config, ~/.mplayer/mencoder.conf).

Maybe AutoX264 should use "-vc ffh264,ffmpeg12,ffvc1,ffwmv3,ffodivx," to override user/system-wide MPlayer codec setup.

I think this is the problem, the codecs are not running at a x86 system!?
No, being unable to use w32codecs is not a problem because libavcodec has a native VC-1 decoder that works fine on x86-64.

Schruppinator
24th September 2009, 13:02
Show us your configuration files (/etc/mplayer/mplayer.conf, /etc/mplayer/mencoder.conf, ~/.mplayer/config, ~/.mplayer/mencoder.conf).


This is my mplayer.conf in /etc/mplayer/
#
# MPlayer configuration file
#
# Configuration files are read system-wide from /usr/local/etc/mplayer.conf
# and per user from ~/.mplayer/config, where per-user settings override
# system-wide settings, all of which are overrriden by the command line.
#
# The configuration file settings are the same as the command line
# options without the preceding '-'.
#
# See the CONFIGURATION FILES section in the man page
# for a detailed description of the syntax.


##################
# video settings #
##################

# Specify default video driver (see -vo help for a list).
#vo=xv

# Use SDL video with the aalib subdriver by default.
#vo = sdl:aalib

# FBdev driver:
#
# mode to use (read from fb.modes)
#fbmode = 640x480-120
#
# location of the fb.modes file
#fbmodeconfig = /etc/fb.modes

# Specify your monitor timings for the vesa and fbdev video output drivers.
# See /etc/X11/XF86Config for timings. Be careful; if you specify settings
# that exceed the capabilities of your monitor, you may damage it.
#
# horizontal frequency range (k stands for 1000)
#monitor-hfreq = 31.5k-50k,70k
#
# vertical frequency range
#monitor-vfreq = 50-90
#
# dotclock (or pixelclock) range (m stands for 1000000)
#monitor-dotclock = 30M-300M

# Start in fullscreen mode by default.
#fs=yes

# Change to a different videomode when going fullscreen.
#vm=yes

# Override the autodetected color depth, may need 'vm=yes' as well.
#bpp=0

# Enable software scaling (powerful CPU needed) for video output
# drivers that do not support hardware scaling.
#zoom=yes

# standard monitor size, with square pixels
#monitoraspect=4:3

# Use this for a widescreen monitor, non-square pixels.
#monitoraspect=16:9

# Keep the player window on top of all other windows.
#ontop=yes


##################
# audio settings #
##################

# Specify default audio driver (see -ao help for a list).
#ao=oss

# Use SDL audio driver with the esd subdriver by default.
#ao = sdl:esd

# Specify the mixer device.
#mixer = /dev/mixer

# Resample the sound to 44100Hz with the lavcresample audio filter.
#af=lavcresample=44100


##################
# other settings #
##################

# Pretend to be Window Media Player.
# Fixes playback when playlist and media file use the same URL.
#user-agent=NSPlayer/4.1.0.3856

# Drop frames to preserve audio/video sync.
#framedrop = yes

# Specify your preferred skin here (skins are searched for in
# /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>).
#skin = Abyss

# Resample the font alphamap.
# 0 plain white fonts
# 0.75 very narrow black outline (default)
# 1 narrow black outline
# 10 bold black outline
#ffactor = 0.75

# cache settings
#
# Use 8MB input cache by default.
#cache = 8192
#
# Prefill 20% of the cache before starting playback.
#cache-min = 20.0
#
# Prefill 50% of the cache before restarting playback after the cache emptied.
#cache-seek-min = 50

# DVD: Display English subtitles if available.
#slang = en

# DVD: Play English audio tracks if available.
#alang = en

###################
# DVDNAV Settings #
###################
#vc=ffmpeg12,

# You can also include other configuration files.
#include = /path/to/the/file/you/want/to/include
fontconfig=yes


The file named in the configfile (/usr/local/etc/mplayer.conf) doesnt exists.

This file: ~/.mplayer/config I have on my system, but its empty (only one comment, that I can override the system-wide config).

nm
24th September 2009, 13:21
Ok, I reread your first log and looks like MPlayer tries ffvc1 first, like it should:
[vc1 @ 0xc22de0]Incomplete extradata

Libavcodec seems to fail on your file. Can you post a sample clip?

Schruppinator
24th September 2009, 14:05
Can you post a sample clip?

Thats not so easy, I have this file from a BluRay and its "a little bit" to huge to upload it.

MediaInfo gives me these infos about the video:
Video
ID : 1
Format : VC-1
Format profile : AP@L3
Codec ID : WVC1
Codec ID/Hint : Microsoft
Duration : 2h 23mn
Bit rate : 12.4 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.249
Stream size : 12.4 GiB (89%)

Do you know any short example clips for VC1 (directly from Microsoft or something) that I can download and try it with these files?

Edit:
Here are infos from another file, also to huge for upload :-(
Video
ID : 1
Format : VC-1
Format profile : AP@L3
Codec ID : WVC1
Codec ID/Hint : Microsoft
Duration : 1h 34mn
Bit rate : 21.2 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.427
Stream size : 14.0 GiB (86%)

nm
24th September 2009, 14:31
Use tsMuxeR (http://www.smlabs.net/tsmuxer_en.html) to cut a small (30-second) piece.

Does the file play in MPlayer if you try it outside AutoX264? Also try mplayer -demuxer lavf file.m2ts

Schruppinator
24th September 2009, 15:21
Use tsMuxeR (http://www.smlabs.net/tsmuxer_en.html) to cut a small (30-second) piece.

Does the file play in MPlayer if you try it outside AutoX264? Also try mplayer -demuxer lavf file.m2ts

OK, I mux one minute in an m2ts file, mplayer plays the file well. When I open the mkv file, this message come:
"Cannot find codec mathing selected -vo and video format 0x..."

I will try to demux the whole movie in m2ts and use this file in autox264.
When this dont work, I upload an little file.

Edit: Now, with the m2ts file I get this output from autox264:
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x829eda0)" of type `GString'
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
[mpegts @ 0x1425820]invalid dts/pts combination
Requested video codec family [wmvvc1dmo] (vfm=dmo) not available.
Enable it at compilation.


I can play the file with mplayer.

Here (http://rapidshare.com/files/284376683/vc1_file.m2ts.html) is a 10 second example of the file (13,5MiB), muxed in m2ts with tsmuxer from the original mkv file, which I get from MakeMKV.