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 15th August 2008, 20:09   #1  |  Link
khagaroth
Registered User
 
khagaroth's Avatar
 
Join Date: Feb 2006
Posts: 104
Getting Theora competitive

It seams that development of Theora is finally getting somewhere. Hopefully, they don't stop just at this.
khagaroth is offline   Reply With Quote
Old 15th August 2008, 22:23   #2  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 2,331
Quote:
Originally Posted by khagaroth View Post
It seams that development of Theora is finally getting somewhere. Hopefully, they don't stop just at this.
Given they haven't enabled rate control for the new stuff, yes hopefully they don't just stop at this .

http://xiphmont.livejournal.com/3536...d=57635#t57635

Still, impressive gains. As always, the quality of the implementation is much more important that the codec standard itself.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Instant Video

My Compression Book

Amazon Instant Video is hiring! PM me if you're interested.
benwaggoner is offline   Reply With Quote
Old 18th September 2008, 11:48   #3  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,737
Which are, by the way, rather current and complete implementations? I would like to test Theora myself - which implementation should I prefer? I found for Win32:
  • ffmpeg2theora as CLI (do not yet know if this is able to read from AviSynth, but possibly - when used in MediaCoder and SUPER)
  • ffdshow's VfW codec (where I could use VirtualDubMod to create OGM or MKV to mux it with Ogg Vorbis audio)
Which would be your current recommendations?
__________________

German doom9 / Gleitz video board
CQME – change the Matrix!
BeSweet 1.5b31 All In One | HeadAC3he 0.24a13

Rémoulade is spoiled
LigH is online now   Reply With Quote
Old 18th September 2008, 12:07   #4  |  Link
clsid
Registered User
 
Join Date: Feb 2005
Posts: 4,626
ffdshow still uses an old version of libtheora (1.0b3 from the top of my head). So I would not recommend that one.
clsid is offline   Reply With Quote
Old 18th September 2008, 17:33   #5  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,737
Library 1.0b3 is still the most recent, according to http://theora.org/news/ ... But ffdshow has no detailed 2-pass control enabled for Theora.

I'm fine with CLI encoders. Just hope that there is a way to serve AVS to ffmpeg2theora.
__________________

German doom9 / Gleitz video board
CQME – change the Matrix!
BeSweet 1.5b31 All In One | HeadAC3he 0.24a13

Rémoulade is spoiled
LigH is online now   Reply With Quote
Old 18th September 2008, 17:39   #6  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
avs2yuv?
Sharktooth is offline   Reply With Quote
Old 18th September 2008, 18:15   #7  |  Link
clsid
Registered User
 
Join Date: Feb 2005
Posts: 4,626
Then I mixed up versions. ffdshow uses an old version from 2006. I tried updating it to latest SVN a while ago, compiled fine and all, but playback was a unstable with it. I suspect some changes are needed at the ffdshow side, due to some API changes in the library.
clsid is offline   Reply With Quote
Old 19th September 2008, 09:19   #8  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,737
@ Sharktooth:

avs2yuv sounds useful, unfortunately I seem to miss some details about the usage...

Code:
avs2yuv.exe -raw $.avs -o - | ffmpeg2theora.exe -f raw -o $.ogv -
$.avs: 720x576, 25 fps, 520 frames

File `pipe:' does not exist or has an unknown data format.
Output error: wrote only 590400 of 622080 bytes

---------------------------
avs2yuv.exe - Fehler in Anwendung
---------------------------
Die Anweisung in "0x00ac98f4" verweist auf Speicher in "0x00a97318". Der Vorgang
"read" konnte nicht auf dem Speicher durchgeführt werden.

Klicken Sie auf "OK", um das Programm zu beenden.
---------------------------
OK   
---------------------------
I am not sure if the "raw" output format from avs2yuv (I420) is compatible to the "raw" input format expected by ffmpeg2theora.
__________________

German doom9 / Gleitz video board
CQME – change the Matrix!
BeSweet 1.5b31 All In One | HeadAC3he 0.24a13

Rémoulade is spoiled
LigH is online now   Reply With Quote
Old 22nd September 2008, 10:15   #9  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,737
P.S.: "raw" may be the wrong mode, ffmpeg2theora would not know the dimensions then. Unfortunately, there is no help of available input formats ("ffmpeg2theora -f help" would be useful); so I could only assume that the little hint from avs2yuv would lead me somewhere: "Output format is yuv4mpeg, as used by MPlayer and mjpegtools". So I tried:

Code:
avs2yuv.exe $.avs -o - | ffmpeg2theora.exe -f yuv4mpeg -o $.ogv -
$.avs: 720x576, 25 fps, 520 frames

File `pipe:' does not exist or has an unknown data format.
Output error: wrote only 590400 of 622080 bytes

---------------------------
avs2yuv.exe - Fehler in Anwendung
---------------------------
Die Anweisung in "0x00ac98f4" verweist auf Speicher in "0x00a972f8". Der Vorgang
"read" konnte nicht auf dem Speicher durchgeführt werden.

Klicken Sie auf "OK", um das Programm zu beenden.
---------------------------
OK   
---------------------------
Apparently, the reason must be the pipe handling in general. Tested under Win32 (Windows XP Pro).
__

Now I tried with temporary file:

Code:
avs2yuv.exe $.avs -o $.y4m
That worked, but displayed the same crash dialog while finishing.

Now using this temporary file:

Code:
ffmpeg2theora.exe -f yuv4mpeg -o $.ogv $.y4m
Input #0, yuv4mpegpipe, from '$.y4m':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Video: rawvideo, yuv420p, 720x576, 25.00 fps(r)
  Resize: 720x576
      0:00:20.80 audio: 0kbps video: 2239kbps, time remaining: 00:00:00
So this one worked. Just not the piping.

The created Theora video looked fine.
__________________

German doom9 / Gleitz video board
CQME – change the Matrix!
BeSweet 1.5b31 All In One | HeadAC3he 0.24a13

Rémoulade is spoiled

Last edited by LigH; 22nd September 2008 at 10:24.
LigH is online now   Reply With Quote
Old 22nd September 2008, 18:54   #10  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
there is also a "reference encoder" binary for windows available, once compiling the official source itself, called encoder_example.exe

it takes avs2yuv output piped as input
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 23rd September 2008, 11:16   #11  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,737
I'll thank anyone in advance for offering a Win32 build.

Or JuanCC for linking AviSynth support into ffmpeg2theora.
__________________

German doom9 / Gleitz video board
CQME – change the Matrix!
BeSweet 1.5b31 All In One | HeadAC3he 0.24a13

Rémoulade is spoiled
LigH is online now   Reply With Quote
Old 27th September 2008, 10:44   #12  |  Link
JuanCC
Registered User
 
Join Date: May 2003
Location: Spain
Posts: 99
Quote:
Originally Posted by LigH View Post
I'll thank anyone in advance for offering a Win32 build.

Or JuanCC for linking AviSynth support into ffmpeg2theora.
I am nothing to do with ffmpeg2theora project , i only post news about ffmpeg2theora.

About ffmpeg2theora builds with avs support , in http://tirnanog.fate.jp/mirror/Misc/ repository there a few builds but there are dated in 2006.

Maybe you can ask celtic_druid (http://celticdruid.no-ip.com/phpBB3) to build the latest ffmpeg2theora with avs support.
JuanCC is offline   Reply With Quote
Old 11th October 2008, 17:25   #13  |  Link
JuanCC
Registered User
 
Join Date: May 2003
Location: Spain
Posts: 99
There is a release of ffmpeg2theora with Thusnelda encoder.
JuanCC is offline   Reply With Quote
Old 11th October 2008, 17:56   #14  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,737
Great! (BTW: "Tusnelda" is a stereotype forename for a "house dragon" kind of woman, in Germany...)

Unfortunately, no reply from celtic_druid until today. Did someone scare him off?
__________________

German doom9 / Gleitz video board
CQME – change the Matrix!
BeSweet 1.5b31 All In One | HeadAC3he 0.24a13

Rémoulade is spoiled

Last edited by LigH; 11th October 2008 at 17:59.
LigH is online now   Reply With Quote
Old 11th October 2008, 20:47   #15  |  Link
hellfred
FFmpeg fan
 
Join Date: Dec 2003
Location: Germany
Posts: 427
Theora 1.0 RC1 and plans for Thusnelda branch

Read here. The classic encoder will soon be release as Theora 1.0, the Thunsnelda encoder will become Theora 1.1.
hellfred is offline   Reply With Quote
Old 11th October 2008, 20:59   #16  |  Link
hellfred
FFmpeg fan
 
Join Date: Dec 2003
Location: Germany
Posts: 427
Thusnelda background

There was a series of five pages introducing the work done on the Thunsnelda branch:
First
Second
Third
Fourth
Latest.
Lets hope that Monty will soon find time again to work on the encoder. The progress can be monitored via xiph's trac web interface.
hellfred is offline   Reply With Quote
Old 29th October 2008, 13:57   #17  |  Link
hellfred
FFmpeg fan
 
Join Date: Dec 2003
Location: Germany
Posts: 427
Thoera 1.0 RC2

The second release candidate of the Theora codec was released[1]:
Quote:
The Xiph.Org Foundation is pleased to announce the second release candidate of libtheora 1.0. This second release candidate corrects all bugs found in final testing of the first release candidate, and will become 1.0 final in one week if no new 'blockers' are found.

[1] http://www.theora.org/news/
hellfred is offline   Reply With Quote
Old 9th November 2008, 14:06   #18  |  Link
Rasi
Registered User
 
Join Date: Nov 2001
Posts: 121
1.0 final

Theora 1.0 has finally been released...

... eagerly awaiting 1.1 with thusnelda
Rasi is offline   Reply With Quote
Old 9th November 2008, 19:47   #19  |  Link
hellfred
FFmpeg fan
 
Join Date: Dec 2003
Location: Germany
Posts: 427
Does anybody know why Xiph.org is off-line for +48 hours. At least I can not access the web pages,wiki and mailing list archive. Were they sued by some big patent holder?
hellfred is offline   Reply With Quote
Old 9th November 2008, 20:17   #20  |  Link
Rasi
Registered User
 
Join Date: Nov 2001
Posts: 121
Quote:
Originally Posted by hellfred View Post
Does anybody know why Xiph.org is off-line for +48 hours. At least I can not access the web pages,wiki and mailing list archive. Were they sued by some big patent holder?
works fine here
Rasi is offline   Reply With Quote
Reply

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 14:50.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.