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: 103
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: 4,750
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 Prime Video

My Compression Book
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: 6,752
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?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 18th September 2008, 12:07   #4  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
ffdshow still uses an old version of libtheora (1.0b3 from the top of my head). So I would not recommend that one.
__________________
MPC-HC 2.1.7.2
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: 6,752
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.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   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
*****
 
Join Date: Feb 2005
Posts: 5,642
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.
__________________
MPC-HC 2.1.7.2
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: 6,752
@ 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.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   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: 6,752
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.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 22nd September 2008 at 10:24.
LigH is offline   Reply With Quote
Old 22nd September 2008, 18:54   #10  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
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: 6,752
I'll thank anyone in advance for offering a Win32 build.

Or JuanCC for linking AviSynth support into ffmpeg2theora.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 11th October 2008, 17:56   #12  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
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?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 11th October 2008 at 17:59.
LigH is offline   Reply With Quote
Old 11th October 2008, 20:47   #13  |  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   #14  |  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   #15  |  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   #16  |  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   #17  |  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   #18  |  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
Old 10th November 2008, 16:07   #19  |  Link
hellfred
FFmpeg fan
 
Join Date: Dec 2003
Location: Germany
Posts: 427
OK, now I can access those sites again, too. But I still have not idea of what was going on up to now.

Update: When having a look at the timeline of the Xiph Trac server, one can see that there was a very unusual period of inactivity from the 5th. to the 9th. of November.

Last edited by hellfred; 10th November 2008 at 20:13. Reason: Update
hellfred is offline   Reply With Quote
Old 29th March 2009, 10:21   #20  |  Link
khagaroth
Registered User
 
khagaroth's Avatar
 
Join Date: Feb 2006
Posts: 103
Theora 1.1 alpha 1 released. There are also some binaries.
khagaroth 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 11:50.


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