Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st September 2008, 07:49   #41  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
Quote:
Originally Posted by littleD View Post
so what are those DSH filters for, then?
to play back raw streams (drc files) or AVI containing raw streams...


Quote:
Originally Posted by Cruncher View Post
are those both CBR encodes ?
yes, both are CBR...Here is the command lines I used:
Code:
FFmpeg -i input.avs -vcodec libdirac -b 1152000 output.drc
Code:
FFmpeg -i input.avs -vcodec libx264 -b 1152000 output.drc
Quote:
Originally Posted by Cruncher View Post
everyone should be aware Dirac has no ABR/VBR yet it's only plain CBR
depends on the tool you use... There is a quality mode, so I assume that's VBR. About ABR: if you use FFmpeg, you can tweak tunings and use all video switches you want from this tool. So, a 2passes encoding is possible in this case.
Kurtnoise is offline   Reply With Quote
Old 21st September 2008, 07:52   #42  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by Kurtnoise13 View Post
yes, both are CBR...Here is the command lines I used:
Code:
FFmpeg -i input.avs -vcodec libdirac -b 1152000 output.drc
Code:
FFmpeg -i input.avs -vcodec libx264 -b 1152000 output.drc
Doesn't look like CBR to me.
Dark Shikari is offline   Reply With Quote
Old 21st September 2008, 08:05   #43  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
ABR, then ?

something like that :
Code:
FFmpeg -i input.avs -vcodec libdirac -b 1152000 -minrate 1152000 -maxrate 1152000 -bufsize 1000k output.drc
does it look like CBR ?
Kurtnoise is offline   Reply With Quote
Old 21st September 2008, 16:23   #44  |  Link
guada2
Registered User
 
Join Date: Jun 2005
Location: Lyon
Posts: 194
Kurtnoise13,

It is possible a GUI..
Thanks.
guada2 is offline   Reply With Quote
Old 21st September 2008, 19:17   #45  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
not from me.
Kurtnoise is offline   Reply With Quote
Old 21st September 2008, 22:34   #46  |  Link
bratao
Registered User
 
Join Date: May 2005
Posts: 146
Well, into my tests. The dirac at
>ffmpeg -i myfile.mp4 -b 1500000 -vcodec libdirac -strict -2 dirac_output.drc
Won by far the
>ffmpeg -i myfile.mp4 -b 1500000 -minrate 1500000 -maxrate 1500000 -bufsize 183k output.mp4
bratao is offline   Reply With Quote
Old 21st September 2008, 22:37   #47  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by bratao View Post
Well, into my tests. The dirac at
>ffmpeg -i myfile.mp4 -b 1500000 -vcodec libdirac -strict -2 dirac_output.drc
Won by far the
>ffmpeg -i myfile.mp4 -b 1500000 -minrate 1500000 -maxrate 1500000 -bufsize 183k output.mp4
Well obviously, how do you expect x264 to do anything at such absurd restrictions? 183k VBV bufsize?! Are you insane?

Its not fair to have a test where you use totally different VBV restrictions for each of the encoders--you're not passing any at all to Dirac, nor are you verifying that Dirac's stream abides by the same restrictions you've passed to x264.

Surprise surprise, when you massively cripple x264 but don't cripple Dirac at all, Dirac looks better! Last I heard a Ford Focus can out-race a Ferrari if you lock the latter to first gear, too.
Dark Shikari is offline   Reply With Quote
Old 22nd September 2008, 01:04   #48  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Apparently he was comparing to ffmpeg4 (MPEG-4 ASP) instead of x264. Not that your remark wouldn't apply to that case too...
nm is offline   Reply With Quote
Old 22nd September 2008, 01:54   #49  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by nm View Post
Apparently he was comparing to ffmpeg4 (MPEG-4 ASP) instead of x264. Not that your remark wouldn't apply to that case too...
Oh wow, you're right, he's not even using x264. I suspect this is even more unfair then, as libavcodec's VBV code is considerably inferior to x264's.
Dark Shikari is offline   Reply With Quote
Old 12th February 2009, 08:52   #50  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
1.0.2 has been released...

Quote:
This a a minor release complying with the latest Dirac
Bytestream Specification 2.2.3.

-Improved compression performance for small picture sizes.
-Improved compression performance at low bit-rates.
-Included macros to check the API version.
-Improved motion estimation.
-New 422 <-> 420 conversion utilities for interlaced video.
-New functionality added to encoder API. The programmer's
guide has been modified accordingly.
-Fixed bugs in handling DC subband.
-DirectShow filter released to be able to play back Dirac
raw bytestreams or Dirac muxed in AVI in Windows Media
Player and MPlayer Classic.
-Released the source and win32 binary of ffmpeg2dirac, a
utility that can transcode any multimedia format that can
be decoded by FFmpeg into Dirac video and Vorbis audio (if
audio exists) muxed in Ogg.
-Note that new patches for MPlayer and FFmpeg will no
longer be released because Dirac support via Dirac and
Schroedinger libraries is available in FFmpeg.
https://sourceforge.net/project/show...roup_id=102564
Kurtnoise is offline   Reply With Quote
Old 12th February 2009, 12:24   #51  |  Link
`Orum
Registered User
 
Join Date: Sep 2005
Posts: 178
While I still think it may be a little early to do a real comparison between x264 and a Dirac encoder, I think that when one is done, they should use "real" encoding settings. If the defaults are used in the test, and never in real world encoding, what does that prove other than you shouldn't use the default settings? The harder part will be determining exactly what is fair settings balance between such wildly different codecs...
`Orum is offline   Reply With Quote
Old 12th February 2009, 12:28   #52  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by `Orum View Post
While I still think it may be a little early to do a real comparison between x264 and a Dirac encoder, I think that when one is done, they should use "real" encoding settings. If the defaults are used in the test, and never in real world encoding, what does that prove other than you shouldn't use the default settings? The harder part will be determining exactly what is fair settings balance between such wildly different codecs...
IMO the fairest thing to do is just max encoding settings quality-wise. Dirac is not meant to be fast (that's Schroedinger's job), and even then neither is nearly as speed-optimized as x264, so it would be unfair to try to compare them with same-speed settings.
Dark Shikari is offline   Reply With Quote
Old 6th March 2009, 05:10   #53  |  Link
lithoc
Registered User
 
Join Date: Jan 2004
Posts: 95
I'm encoding some video with ffmpeg2dirac 0.1.0 on quad core

Average CPU usage is 30% . I think the encoder is not multi-threaded / efficient enough to use all CPU.
Secondly, it doesn't support .avs file

Any idea when is the features will implemented?
lithoc is offline   Reply With Quote
Old 3rd July 2009, 09:13   #54  |  Link
nakTT
Registered User
 
Join Date: Dec 2008
Posts: 415
Last time I heard, the research version is better in term of quality. Any truth in this?
nakTT is offline   Reply With Quote
Reply

Tags
dirac, schroedinger, slashdot, vlc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.