BeBits Information Developer Central Submit Application Your Account Web Links Contact Us
BeBits
3ivx MPEG-4
Talkback
 Go back to the 3ivx MPEG-4 page
 Post a new Talkback comment!
Thanks
 By nutela - Posted on April 1, 2008 - 11:37:07   (#22669)
 Current version when comment was posted: 5.0.2
Nice of you to port it to BeOS and Haiku. Someone must still use it for video encoding / playback then?

I haven't sinc there is an awful lot of WMV files around for which VLC is the only option AFAIK and is too slow for RT playback.

XP of course plays it back fine on the same PC :-(

No Seeking in MP4 sorry
 By dmcpaul - Posted on March 31, 2008 - 11:01:56   (#22667)
 Current version when comment was posted: 5.0.2
The mp4 extractor does not do seeking, I am working on that at the moment.

The container has details about where sync points are in the file for seeking. So to seek to an arbitrary frame the sync frame and the required frame are passed to the decoder which decodes from the sync frame forward to the required frame.

The AVI and MOV extractors that are in BeOS will do this and the 3ivx.decoder will seek as requested.

The MP4 extractor I wrote does not yet do the seek requests. Partly because of a problem I have not yet been able to fix and because the aac decoder does not seek either (no point seeking video without audio).

Cheers
David

from converted file
 By AlienSoldier - Posted on March 29, 2008 - 21:11:37   (#22653)
 Current version when comment was posted: 5.0.2
i was able to convert files, from mpeg to 3ivx mp4. Those seek ok. Perhaps the one i was having was not standard. Is this because mp4 itself does not have seeking and need a container to do it proprely? In mov it seem to seek better than avi, so i guess it's very container dependent. But at the same time, my mpegs seek fine.

Can't say how good the size convertion is as it only convert to raw audio in avi or adaptive pcm in mov.

HIgh CPU at start is normal
 By dmcpaul - Posted on March 29, 2008 - 08:37:34   (#22650)
 Current version when comment was posted: 5.0.2
High CPU usage at start on MP4 files is normal. I am looking at improving the process of detecting the buffer size needed.

With MediaConverter+ if you select the 3ivx encoder and hit the convert button, the config screen will be shown, select the desired options and close it. The conversion should happen automatically.

I have noticed that you cannot convert from MP4 this way though. I will look into that.

from what i tested so far
 By AlienSoldier - Posted on March 29, 2008 - 07:35:20   (#22649)
 Current version when comment was posted: 5.0.2
tested with R5 bone. I guess many problems might be caused by mediaplayer itself and not the codec or the mediakit, so perhaps a new haiku mediaplayer would solve those.

Some mp4 work, some don't. Seem the big ones eat cpu and the HD don't light (it's almost like a hang). So far i found a 18M one i'm able to run. I don't have many small mp4 as mpeg or avi are usually used for those.

Seeking worked great the other day "i think", but now it seem that anyway i seek, backward or forward, it always go forward, perhaps i need a reboot after testing too much videos.

Seem to use more cpu than VLC, probably related to lack of ASM.

Video take time to start it seem, lot more than VLC take to start a video (not sure it's only buffering related).

Unlike VLC, it's possible to change time with mediaplayer running and not have audio suffer from this.

Now about encoding:
That don't seem to work in videopro i can see the first frame in preview, then i get an error message.

With MediaConverter+ i get it to create the file on disk but it stop there. I see the config panel but i can't do nothing to make anything start from there, i only see a default button (no "start" anything). Seem i can only close the window and nothing happen.

Supported formats
 By dmcpaul - Posted on March 29, 2008 - 05:53:37   (#22648)
 Current version when comment was posted: 5.0.2
AAC audio and MP4V video should be supported in MP4 files.

It would be most helpful if you could supply links to files you cannot read so I can test them and fix problems.

Be aware, mp4 files can contain ALAC, AMR and MP3 audio which is not supported. Also AVC video is not supported.

I am working on adding support for ALAC, AMR and AVC and the more files I have to test against the better.

Send any details about failed mp4 files to dlmcpaul AT gmail DOT com

MediaConverter+ is probably the best program to use the 3ivx encoder with as it will display the config screen. VideoPro will also display the config screen but some people have problems with it.

Cheers
David

Sample mpeg 4 clips needed.... R5 MediaPlayer?
 By KJF - Posted on March 28, 2008 - 20:52:39   (#22644)
 Current version when comment was posted: 5.0.2
Using R5's MediaPlayer ... I'm not getting this to work.
Could someone suggest a known good mpeg 4 file?

Also is the R5 MediaPlayer the correct app to be testing this with?

MediaPlayer errors out every time with 'unknown codec' or similar messages.
I've seen it complain about audio too... is audio supported inside the decoder?
-MB2

slowest
 By Bardulas - Posted on March 28, 2008 - 18:33:01   (#22642)
 Current version when comment was posted: 5.0.2
ver 5.02 slower than ver 4.5,
mp4 and acc not work (on BeOS 5.05 bone)
:(

Up
 By ljr - Posted on March 28, 2008 - 16:17:33   (#22641)
 Current version when comment was posted: 5.0.2
Nice to see an new release ! thanks Haiku marketeers ;-)

Watch this space
 By dmcpaul - Posted on March 24, 2008 - 09:54:21   (#22618)
 Current version when comment was posted: 4.5
Something comes this way :-)

3ivx is a video decoder only
 By dmcpaul - Posted on April 17, 2004 - 07:10:12   (#12087)
 Current version when comment was posted: 4.5
The 3ivx codec available for BeOS is a video codec only. It does not deal with audio at all.

The 3ivx software that you get for MacOS and Windows also includes the AAC codec. This software has not been ported to BeOS at this stage.

Cheers
David

Works nicely except audio
 By sqglm - Posted on April 12, 2004 - 04:39:02   (#11926)
 Current version when comment was posted: 4.5
I installed the codec, and Divx files played well except audio.

I took the audio decoder from Hybrid Divx and that worked fairly well, but the audio skips. This is probably to be expected on a K6-2 machine, but I would like to try 3ivx's audio decoder.

Does anyone know what the problem might be?

AVI problems abd frame droppings
 By s_d - Posted on January 7, 2004 - 18:14:33   (#10420)
 Current version when comment was posted: 4.5
What i noticed is fact, that in BeOS most important part
for more or less good playback isn't just CPU power, but
file access priority.
We should fed up all those decoders with content extracted from media track, and if file input isn't well-buffered and with lower thread priority than decoders, - there will be nothing to do for those even very performative decoders quite soon.

Unfortunately, media track reading from file and its demultiplexing is outside of BeOS decoders scope, so i really doubt that can be do something about it in decoder code:(

3ivX for Windows has the same problem
 By BeAR - Posted on January 7, 2004 - 18:08:13   (#10419)
 Current version when comment was posted: 4.5
2 dmcpaul:
I've just tried 3ivX for Windows and yes, those artifacts appears here too. But there is no problem with audio/video sync.

3ivX for Windows has the same problem
 By BeAR - Posted on January 7, 2004 - 18:06:32   (#10418)
 Current version when comment was posted: 4.5
2 dmcpaul:
I've just tried 3ivX for Windows and yes, those artifacts appears here too. But there is no problem with audio/video sync.

Artifacts in anime
 By dmcpaul - Posted on January 7, 2004 - 12:33:48   (#10416)
 Current version when comment was posted: 4.5
If you have access to a windows or Mac machine could you test the anime using the 3ivx decoder on those machines.

I would like to know if the problem is specific to the BeOS decoder or not so I can raise the appropriate bug report.

Cheers
David

Sync issues
 By dmcpaul - Posted on January 7, 2004 - 12:31:58   (#10415)
 Current version when comment was posted: 4.5
Unfortunately the R5 media kit has several issues relating to audio/video sync. Generally it is AVI containers that experience this the most.

The 3ivx decoder can still be at fault here though, we don't drop frames very well and this can cause drift. If your CPU is up to the task of decoding and managing the load you are running then you should not drop frames though.

When you get this issue could you check if frames were dropped?

Cheers
David

defects
 By BeAR - Posted on January 6, 2004 - 17:03:17   (#10395)
 Current version when comment was posted: 4.5
Hello, thank you for your work! 3ivX decoder in general takes less CPU cycles for playback than other codecs/players, but... I've founded some defects in it.
I have artifacts during playback of some DIV3, DIVX files. They are small (but annoying) glitches around text, moving objects and so on. The same files plays w/out glitches by ffmpeg, HybridDivX and VLC. Btw, there is an unsync between audio and video during playback of some DIV3 files.
PS. Artifacts appears, for example, in anime series: Last Exile (Anime-Kraze), Onegai Twins (Anime Empire & Anime Keep).
PPS. Maybe it's a bug of BeOS MediaKit or at least MediaPlayer: try in MediaPlayer hit play/pause button ('space' key on keyboard) as fast as you can for about 2-3 seconds and you'll get audio/video unsync with ANY codec.

dmcpaul
 By Diver - Posted on January 5, 2004 - 15:27:42   (#10355)
 Current version when comment was posted: 4.5
Heya!
Thanks for a grate job with this codec!
It works perfect with 'div5' movies, but with div3 it just can't play audio and video in sync, i didn't tried others FOURCC's 'coz i don't have them now, so i can't tell how it works. If you need some addition info just ask, i could make any tests if needed.
Thanks again, man!

AMD Athlon XP and SSE2
 By dmcpaul - Posted on December 20, 2003 - 11:51:20   (#10058)
 Current version when comment was posted: 4.5
Sorry but AMD does not support SSE2 in the AMD Athlon XP

/Quote
SSE compatibility — AMD says the Palomino includes 52 new instructions that comprise something called "3DNow! Professional." These instructions just happen to correspond to the instructions the original Athlon needed in order to be compatible with Intel's SSE, or streaming SIMD extensions. These extra instructions do not provide compatibility with the Pentium 4's new SSE2 instructions, but they should yield improved performance in applications optimized for SSE but not for AMD's competing 3DNow! extensions

Cheers
David

SSE2
 By Masque - Posted on December 20, 2003 - 08:51:32   (#10056)
 Current version when comment was posted: 4.5
>But the only Intel specific coding is the SSE2 routines that no AMD chip has yet.

This isn't correct, Athlon XPs and Durons > 1GHz can use SSE2 instructions.

Athlon optimisation
 By dmcpaul - Posted on December 20, 2003 - 04:55:14   (#10052)
 Current version when comment was posted: 4.5
>I wonder that, because it uses ~ 39 % CPU for big
>movie in XviD, while the ffdecoders (from beshare)
>only use < 18 % CPU for the same video.

Lack of overlay is probably the issue here. The decoder is compile with x586 optimisations on (There is some benefit to using x686 but not significant).

When not using overlay the decoder has to do a YUV to RGB conversion and this is a significant CPU hit. There are SSE versions of these routines but I suspect that these are not being used on your Athlon 800?

There are still a number of mixed asm/C modules that do not compile on BeOS which would some machines.

But the only Intel specific coding is the SSE2 routines that no AMD chip has yet.

Cheers
David

AAC decoder
 By dmcpaul - Posted on December 20, 2003 - 04:45:55   (#10051)
 Current version when comment was posted: 4.5
>Any plan to bring also another proud of 3vix, Audio
>Decoder Suite? to BeOS?

I have started to port the 3ivx AAC encoder/decoder suite as well. However it needs additional quicktime atoms to be supported by the quicktime extractor. So at this stage it is too difficult.

I am expecting to do this work for the OpenBeOS project as we will have an actual mp4 extractor.

Cheers
David

Unoptimized for Athlons?
 By BiPolar - Posted on December 20, 2003 - 04:24:12   (#10050)
 Current version when comment was posted: 4.5
I wonder that, because it uses ~ 39 % CPU for big movie in XviD, while the ffdecoders (from beshare) only use < 18 % CPU for the same video.

Specs:
Athlon Thunderbird @ 900 MHz.
Crappy video card (SiS730) with no overlay.

This decoder uses Single buffered bitmap mode, the ffdecoders uses Double Buffered mode, FYI.

--BiPolar

AAC
 By s_d - Posted on December 19, 2003 - 13:04:15   (#10045)
 Current version when comment was posted: 4.5
Any plan to bring also another proud of 3vix, Audio Decoder Suite? to BeOS?

Capture
 By dmcpaul - Posted on December 19, 2003 - 04:58:29   (#10040)
 Current version when comment was posted: 4.5
I am in contact with Axel to sort out all issues with using Capture and 3ivx.

Select Quicktime Mov as the file type and don't use the set encoder parameters button at this time.

This will allow you to use 3ivx in constant quality mode where the quality is set by the quality slider.

Hopefully we will be able to resolve the problems with the encoder parameters button.

Cheers
David

Capture by Pink Software - no luck(
 By s_d - Posted on December 19, 2003 - 04:12:24   (#10039)
 Current version when comment was posted: 4.5
I think that Axel Doerfler will be more responsive than abandoned VideoPro author, in order to add required bits to his software - http://bebits.com/app/2336.
Though, i could't use 3vix encoders with "Capture" at moment - something reports "Cannot Create Media Track (-1)" if i set one of 3vix codecs for AVI (when trying to press EncoderParameters button or pushing Record button). Intel encoders work well.

It rules, even on K6-2
 By s_d - Posted on December 19, 2003 - 01:18:30   (#10038)
 Current version when comment was posted: 4.5
tested it on my K6-450 on R5 PRO.
Best result among other options (HybridDivX and VLC) with MPEG-4.
Videocards - various ATIs from RageII to Radeon7000 (all with HW Overlay support).
Soundcard - old flaky ISA (!) 16bit/41KHz Opti. But even AAC movies with 48 Kbit sound play well.
Though, i tested it with "new" avi.extractor (MKB).
My friend tested CPU consumption:
http://ccfit.nsu.ru/~panasyuk/files/3ivx45_vs_vlc070.jpg
3viX versus VLC 0.70


VideoPro errors
 By dmcpaul - Posted on December 18, 2003 - 23:04:50   (#10037)
 Current version when comment was posted: 4.5
>I just want to let you know videoPro contains an error that prevents
>it from working at all on the openBeOS Matrox, NeoMagic
>and nVidia driver.
>
>VideoPro writes outside (beyond) the overlay bitmaps it creates in
>the Graphicscard memory. This results in a segfault on these
>drivers.

I am running the openBeOS nVideo driver and I don't get this segfault with VideoPro.

Is there a specific operation that causes the problem (Full screen mode or encoding)?

Cheers
David

RE; timkoh
 By zenja - Posted on December 18, 2003 - 22:35:56   (#10036)
 Current version when comment was posted: 4.5
The reason you have slow data transfer of a FAT32 partition is mainly due to using PIO4 mode for data transfer vs UltraDMA2 (or similar). That is, BeOS hasn't initialised the hard disk to use UltraDMA as a data tranfer mode, instead its using PIO mode which is heaps slower, and consumes insane CPU power. The best way to check is to run one of the idestatus tools in the experimental folder on your hard disk (if you have R5). Zeta doesn't ship with those tools, so you can pester YellowTab about that... You can also check the BeTips server for some advice on how to enable UltraDMA mode.

half a meg per second
 By dmcpaul - Posted on December 18, 2003 - 22:14:24   (#10035)
 Current version when comment was posted: 4.5
>As for the encoding, i gave it a shot, and tried recording a .mov
>file, but the file size it makes is too large for my purposes.
>
>Is it meant to use about half a meg per second?
>I used VideoRecorder to test encoding.

That would of course depend on the settings.
I just did a test record with VideoRecorder capturing TV at 320x240 25fps with 75% quality and that records at about 0.1 meg per second

Cheers
David

VideoPro
 By dmcpaul - Posted on December 18, 2003 - 22:07:13   (#10034)
 Current version when comment was posted: 4.5
The nice thing about VideoPro is that it supports the GetParameterView function of the encoder API.

The 3ivx encoder uses this to let people configure the encoder options.

All other programs just use the quality setting which defaults the encoder to a Constant Quality encode which can still be good but you miss out on all the other nice features such as bitrate control

Unfortunately an unregistered VideoPro will stamp a flashing scrolling text across the encode which will pretty much ruin compression.

Cheers
David

VideoPro error
 By rudolfc - Posted on December 18, 2003 - 18:10:25   (#10031)
 Current version when comment was posted: 4.5
Hi there,

I just want to let you know videoPro contains an error that prevents it from working at all on the openBeOS Matrox, NeoMagic and nVidia driver.

VideoPro writes outside (beyond) the overlay bitmaps it creates in the Graphicscard memory. This results in a segfault on these drivers.

I contacted the author of videoPro about this error. He did not update the app unfortunately, as he nolonger has any interest in BeOS as he more or less put it.

Maybe someone should try to gain access to the videoPro sources to update the app to work as it should. Writing outside allocated memory is a very bad thing to do..

Best regards,

Rudolf Cornelissen.
(openBeOS Matrox, NeoMagic and nVidia drivers)

k6-2 goodness
 By Jess - Posted on December 18, 2003 - 16:27:16   (#10028)
 Current version when comment was posted: 4.5
Indeed k6-2 are great general purpose chips but in Be they won't cut it for a decent quality divx rip. I use a K6-2 500 in windows for a movie machine over by my TV. I can play my movies fine, BUT k6-2 does have weak floating point. It's why they also don't do 3d games well in any OS. However my K6-2 550 running Be can't play a lot of the movies I have while my k6-2 500 in windows can. My k6-2 400 also coudln't cut it in any OS for decent rips but in any os. 100mhz dif is generally not goig to show any differance but in this case it does & my 500 is just eeking it out. Some insane rips over 1gig I can't play but come on. If you can't get a tv quality rip one one cd your a freak :) (Tv quality... hmm kinda a contradition)

re Playing in slow motion
 By edmundf - Posted on December 18, 2003 - 16:12:29   (#10027)
 Current version when comment was posted: 4.5
dmcpaul, I don't know if I get overlay with other codecs, I never looked at it. The speed is fine on my 800 MHz TNT2.

re amd k6-2 and divx
 By edmundf - Posted on December 18, 2003 - 16:06:23   (#10026)
 Current version when comment was posted: 4.5
timkoh, I tried an 800MHz AMD with TNT2, speed is OK here,
but still no sound. ( must be some windows-only codec )
About the slower AMD, the funny/strange thing is that it is playing smoothly but to slow, no skipping frames or anything.

amd k6-2 and divx
 By timkoh - Posted on December 18, 2003 - 15:18:57   (#10025)
 Current version when comment was posted: 4.5
edmundf, AMD cpus that are around 300mhz or 400mhz can't play high quality divx. If you try playing the same divx file in windows, you'll probably also be unable to play that file.

I have a laptop that is an AMD K6-2 400MHz and it's unable to play divx smoothly except for 320x240 files.

I read on some forums that it has to do with low floating point performance in older AMD cpus.

(I took that from: http://forums.projectmayo.com/viewtopic.php?topic=3839&forum=3)


slow playback (mistake)
 By timkoh - Posted on December 18, 2003 - 15:10:08   (#10024)
 Current version when comment was posted: 4.5
Hiya,
I wrote before that the codec played a bit slow on a high quality divx on my Athon XP 1800+.

It seems that i was playing the file from my fat partition and therefore half my cpu usage was from reading the file from the fat partition resulting in slower playback and frame skipping.

I re-tested it after copying the video over to a BeFS and it seems to play smoothly with no frame skipping.

By the way, it seems that the hybrid divx codecs also suffer from the same slow playback from fat partitions. So it must be something wrong with the fat driver.

Anyways, it seems to work like a charm now :P
Keep up the good work.

As for the encoding, i gave it a shot, and tried recording a .mov file, but the file size it makes is too large for my purposes.

Is it meant to use about half a meg per second?
I used VideoRecorder to test encoding.

Thanks.

Playing in slow motion
 By dmcpaul - Posted on December 18, 2003 - 14:52:58   (#10023)
 Current version when comment was posted: 4.5
Well from the output "Application asked for RGBA32" you are not getting hardware overlay.

If you did get overlay you would have a message like "Application asked for Ybr422"

Do you get overlay with codecs other than 3ivx?

640x336 on an AMD300 without overlay can be tough to play at 25fps

Cheers
David

Play's in Slow Motion
 By edmundf - Posted on December 18, 2003 - 12:30:59   (#10021)
 Current version when comment was posted: 4.5
I have some Windows created movie from a fiend so I can't give you more info about the exact format.
Picture quality is perfect, but it play in slomo.
AMD 300 MHz
Some small( slow ) S3 Video card

Hardware overlay enabled
65 MB BeOS 5.03 Pro

640X336 25 fps

Sound unknown codec 0.85 could not handle
Terminal output:

$ MediaPlayer "movie.avi"
3ivx decoder loaded
ThrivxDecoder instantiated
Initialising ThrivxDecoder
Initialising INTEL specific functions
Initialising INTEL MMX specific functions
ThrivxDecoder::Sniffer Called
output_format=cvideo;1062;1;1;65536;(25;0;1;640;336;0;TopLR;1;1)
IsA Media Encoded Video that is Encoded with a codec id of "XVID"
Width:Height:FrameRate 640:336:25.000000
ThrivxDecoder::Reset Current Frame 0 inout time 0 Required Time 0
Seek by time Skipping 0 Frames
ThrivxDecoder::Format Called
Application asked for unsupported format
ThrivxDecoder::Format Called
Application asked for unsupported format
ThrivxDecoder::Format Called
Application asked for RGBA32
ThrivxDecoder::Reset Current Frame 141 inout time 12000000 Required Time 12000000
Seek by time Skipping 0 Frames
ThrivxDecoder::Reset Current Frame 447 inout time 24000000 Required Time 24000000

thanks

Comment Pages:    << prev  |  1  |  2  |  next >>
 
The Green Board
  Recent Downloads  -  # 82
Total Downloads  -  # 70
Total Views  -  # 85
User Ratings  -  # 491
  Misc. Video Tools
Video Conversion
Video Playback
1.  BePodder - 9.80
2.  QEMU - 9.68
3.  ScummVM - 9.57
4.  cpu_fix - 9.42
5.  Jukebox - 9.40
6.  libdl.so - 9.40
7.  Haiku AGP busm... - 9.35
8.  vim6 - 9.31
9.  Beezer - 9.26
10.  HandBrake - 9.25
1.  BeOS 5 Perso... - 13,528
2.  Realtek RTL8... - 13,071
3.  Ati Radeon G... - 12,499
4.  Ensoniq Audio... - 7,529
5.  ATI Rage 128... - 7,425
6.  USB Joystick... - 5,629
7.  Broadcom 440x... - 5,394
8.  USB Serial dr... - 4,699
9.  S3 Trio 64 v2... - 4,693
10.  Intel Extreme... - 4,457
You are not logged in.
 Login

 
Unless otherwise noted, everything is copyright © 1999-2009 Haikuware. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.