PDA

View Full Version : Multithreaded XviD - official thread


Pages : 1 2 [3]

LigH
5th September 2010, 11:46
"Demuxer: mpeg4es" -- this is an MPEG-4 "Elementary Stream". So you got the "raw" video, but not embedded in an AVI container?!

Please, please, pretty please -- post a "MediaInfo" report!

PiPPoNe92
5th September 2010, 14:44
Mediainfo report:

General
Count : 246
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Video_Format_List : MPEG-4 Visual
Video_Format_WithHint_List : MPEG-4 Visual
Codecs Video : MPEG-4 Visual
File name : film
File extension : avi
Format : MPEG-4 Visual
Format : MPEG-4 Visual
Format/Extensions usually used : mp4v
Codec : MPEG-4 Visual
Codec : MPEG-4 Visual
Codec/Extensions usually used : mp4v
File size : 303534080
File size : 289 MiB
File size : 289 MiB
File size : 289 MiB
File size : 289 MiB
File size : 289.5 MiB
File creation date : UTC 2010-09-02 13:49:31.140
File last modification date : UTC 2010-09-02 17:21:27.437

Video
Count : 133
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
Format : MPEG-4 Visual
Format profile : Streaming Video@L1
Format settings : BVOP
Format settings, BVOP : Yes
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, QPel : No
Format settings, GMC : 0
Format settings, GMC : No warppoints
Format settings, Matrix : Default
Format settings, Matrix : Default
Codec : MPEG-4V
Codec : MPEG-4 Visual
Codec/Family : MPEG-4V
Codec profile : Streaming Video@L1
Codec settings : BVOP
Codec settings, BVOP : Yes
Codec settings, QPel : No
Codec settings, GMC : 0
Codec settings, GMC : No warppoints
Codec settings, Matrix : Default
Width : 608
Width : 608 pixels
Height : 256
Height : 256 pixels
Pixel Aspect Ratio : 1.000
Display aspect ratio : 2.375
Display aspect ratio : 2.35
Frame rate : 25.000
Frame rate : 25.000 fps
Resolution : 24
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive
Writing library : XviD0057
Writing library : XviD 57
Writing library/Name : XviD
Writing library/Version : 57

hajj_3
6th September 2010, 21:33
what kind of speed improvements are people getting on core2 cpu's with the latest versions of xvid 1.3.0 compared to 1.2.2? Is there any eta on 1.3.0 final?

LigH
7th September 2010, 12:04
@ PiPPoNe92:

It may have the extension ".avi", but it is a raw MPEG-4 Video stream in your case.

If it was a RIFF AVI file, MediaInfo would have reported e.g.:

...
Format : AVI
Format : AVI
Format/Info : Audio Video Interleave
Format/Extensions usually used : avi
Format_Commercial : AVI
Format profile : OpenDML
InternetMediaType : video/vnd.avi
...

So for some reason, your xvid_encraw call did not embed the result into an AVI container.

Sharktooth
7th September 2010, 17:13
or you renamed the xvid output to .AVI...

LigH
7th September 2010, 17:58
But in his reported command lines, the option "-avi" was used?! ...

PiPPoNe92
7th September 2010, 18:18
Yes, in my command line I have "-avi "First_pass.avi""

Sharktooth
8th September 2010, 01:24
some xvid_encraw builds need aviwriter.dll in the same folder as xvid_encraw or system(32) folder.

PiPPoNe92
8th September 2010, 21:39
aviwriter.dll already there was in same folder as xvid_encraw.

P.S. I seen with small input filesize, in output I got .avi files XVID. Only with movie I got mp4v files...

Sharktooth
9th September 2010, 00:09
could you please download the xvid package from here (http://megui.org/auto/xvid_encraw-2009-05-30.zip) (and eventually replace the xvidcore.dll with version 1.3.0 if you prefer), unzip it to a folder and try with that version?

s4
10th September 2010, 08:54
Hi guys!
Is there any way to boost xvid encoding speed on i7? Trying to encode from an 1080p AVC source with the dgavc import in avs and a simple lanzcos resize but i only got 20fps for pass1
http://i51.tinypic.com/24ys9kw.jpg

Xvid thread locked to 2, x264 running on the other 6. When im running xvid in auto threads the speed is same, using AS@L5 profile at 32bit xp system, xvid 1.2.2+virtualdub but its weird.
On a prev box which was "only" Q8200 i got more than 20fps+ while encoding so i dont understand why is this limit with i7.
Also tried xvid_encraw w/o MT filter too but it wont boost the speed.
Any idea?

Rumbah
20th September 2010, 10:34
If you're resizing with Avisynth try splitting your resize to
Spline16Resize(720,last.height)
Spline16Resize(last.width, 576)
with your resize filter and resolution of course. With that I get a 10% speed boost.

In addition to that try it without the x264 process. In my tests xvid gets a massive loss of speed if there are other apps running. On my quad core encoding with xvid uses only 3 cores and I get about 40 fps. If I start running a lame process using the last core the xvid encoding speed drops from 40 fps to 2-3 although it still has 3 cores to use.

Chabb
20th September 2010, 13:44
When I expect big FPS while encoding,
I prefer to use ffdshow decoder+resizer instead of dgavc+avisynth.
Even with 1080p source it's significantly faster.

henryho_hk
21st September 2010, 07:08
To maximize CPU usage, I do a 2.05-pass XviD encode with assistance of some scripts:
1) split the movie into 4 (quad-core) or 6 (hexacore) using trim()
2) run 5% compressibility tests over these parts (dun worry, it runs very quickly)
3) from the compressibility test figures, calculate the bitrate required for each part
4) do a normal 2-pass on the parts at the same time.

For my quadcore, I will split the job into four single-threaded tasks. For your hexacore, you can try running six single-threaded tasks or three dual-threaded tasks. If your harddisk is fast enough, six single-threaded tasks will be faster. Otherwise, your harddisk will be stressed and the physical disk read/write will become the bottleneck.

srk3461
29th July 2011, 14:01
hey guys... i was wondering is there any GUI for xvid 1.2.1 or any other versions, w/o installing the actual codec!?

LigH
29th July 2011, 15:21
Any application encoding to Xvid will use the Xvid codec. In one or another format. Maybe - what you want to avoid - as installed VfW codec (usual AVI editors); maybe as called encoder executable (some xvid_encraw-using GUIs like MeGUI); maybe as linked library (Avidemux).

Selur
29th July 2011, 15:46
also a lot of mencoder and ffmpeg builds include the Xvid libraries for encoding,.. so all GUIs that use ffmpeg/mencoder are a potential hit for you ;)