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. |
|
|
#1 | Link |
|
Moderator
![]() Join Date: Nov 2001
Posts: 9,780
|
ffmpeg2theora with derf's theora codec support
j^ has ported his ffmpeg2theora tool to be able to be used with derf's theora encoder which makes use of the full features theora offers and not only the ones which were also there in vp3 (as supported in the reference theora encoder)
the sources can be found here: ffmpeg2theora-exp and derf's encoder anyone wanting to make a compile for testing this?
__________________
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 |
|
|
|
|
|
#2 | Link |
|
Registered User
Join Date: Oct 2002
Posts: 89
|
You can get one here: http://4nykey.nm.ru/bin/ffmpeg2theora-svn.exe
|
|
|
|
|
|
#3 | Link |
|
Moderator
![]() Join Date: Nov 2001
Posts: 9,780
|
thx, but are you sure that this is with derf's encoder? did you do the compiles?
__________________
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 |
|
|
|
|
|
#5 | Link |
|
Moderator
![]() Join Date: Nov 2001
Posts: 9,780
|
thanks a lot!
__________________
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 |
|
|
|
|
|
#6 | Link |
|
FFmpeg fan
Join Date: Dec 2003
Location: Germany
Posts: 413
|
cropping comand
I just cant get ffmpeg2theora to crop my clip
![]() ffmpeg2theora -h states: Code:
ffmpeg2theora-exp 0.13-svn
usage: ffmpeg2theora-exp [options] input
Output options:
--output,-o alternative output
--width, -x scale to given size
--height,-y scale to given size
--aspect define frame aspect ratio: i.e. 4:3 or 16:9
--crop[top|bottom|left|right] crop input before resizing
...
Code:
::ffmpeg2theora --crop=8:8:8:8 -o out.ogg prodigy90_med.mpg
::ffmpeg2theora -croptop 32 -cropbottom 32 -cropleft 32 -cropright 32 -o out.ogg Suzuka.avi
::ffmpeg2theora -o out.ogg Suzuka.avi
::ffmpeg2theora -i Suzuka.avi -croptop 32 -cropbottom 32 -cropleft 32 -cropright 32 -o out.ogg
::ffmpeg2theora --crop 8|8|8|8 -o out.ogg Suzuka.avi > out.txt
::ffmpeg2theora --crop 8 | 8 | 8 | 8 -o out.ogg Suzuka.avi > out.txt
::ffmpeg2theora --crop [8 | 8 | 8 | 8] -o out.ogg Suzuka.avi > out.txt
::ffmpeg2theora --crop [8|8|8|8] -o out.ogg Suzuka.avi > out.txt
::ffmpeg2theora --crop=[8|8|8|8] -o out.ogg Suzuka.avi > out.txt
::ffmpeg2theora --crop=[8 | 8 | 8 | 8] -o out.ogg Suzuka.avi > out.txt
::ffmpeg2theora --crop 8:8:8:8 -o out.ogg Suzuka.avi > out.txt
ffmpeg2theora --crop=8:8:8:8 -o out.ogg Suzuka.avi > out.txt
PAUSE
E:\Rechner\Neu\Import\ffmpeg2theora>ffmpeg2theora --crop=8:8:8:8 -o out.ogg Suzu
ka.avi 1>out.txt
ffmpeg2theora: ambiguous option -- crop
Input #0, avi, from 'Suzuka.avi':
Duration: 00:24:03.8, start: 0.000000, bitrate: 1018 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x480, 23.98 fps
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
Resize: 640x480
Resample: 48000Hz => 44100Hz
0:00:00.04 audio: 0kbps video: 7480kbps
Can anybody please enlighten me, how to set cropping values. Hellfred EDIT: Googling for "ffmpeg2thora crop" brought up the solution: Code:
ffmpeg2theora --croptop 16 --cropbottom 16 --cropright 32 --cropleft 16 -o out.ogg Suzuka.avi > out.txt Last edited by hellfred; 28th July 2005 at 09:37. |
|
|
|
|
|
#8 | Link | |
|
FFmpeg fan
Join Date: Dec 2003
Location: Germany
Posts: 413
|
Quote:
Hellfred |
|
|
|
|
|
|
#9 | Link | |
|
Moderator
![]() Join Date: Nov 2001
Posts: 9,780
|
hellfred, i also struggled with its crop option and this is how it works:
Code:
--croptop 82 --cropbottom 78 ![]() Quote:
but derfs decoder is both faster and complete
__________________
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 |
|
|
|
|
|
|
#10 | Link |
|
FFmpeg fan
Join Date: Dec 2003
Location: Germany
Posts: 413
|
Yes, last night I encoded the same clip already used for testing derfs encoder with standardt ffmpeg2theora, featuring the mmx-enhanced reference encoder. Derfs encode was a little bit sharper (only set quality with -v 10 to max) but had much more block artefacts e.g. in the sky and more ringing. Source was a vob that needed to be deinterladed (-d).
|
|
|
|
|
|
#12 | Link |
|
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
how about AviSynth support???
__________________
BeHappy - AviSynth-based audio transcoding tool Audio encoding via AviSynth On2 VP7 is great in quality but it is unusable for long-term video backup puposes! Sincerely Yours, MCPD/MCTS |
|
|
|
|
|
#13 | Link |
|
FFmpeg fan
Join Date: Dec 2003
Location: Germany
Posts: 413
|
Quality on analog capture
Hi
I have made yet anoter test comparing the two ffmpeg2theora. This time the source was a video clip, captured with my analog tv-card. The Source has only low quality, was captured als lossless MJPEG and was being properly deinterlaced croped and resized (modolo16) before encoding. Deinterlacing was done using kerneldeint. Again, derf showed much more blocks as the mmx-enhanced reference encoder. Hellfred |
|
|
|
|
|
#14 | Link | ||
|
Moderator
![]() Join Date: Nov 2001
Posts: 9,780
|
Quote:
Quote:
and ffdshow already includes the theora reference encoder and can even output to .ogg! (yeah .ogg, not .ogm)
__________________
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 |
||
|
|
|
|
|
#18 | Link | |
|
Registered User
Join Date: Oct 2002
Location: Canada
Posts: 8,732
|
Quote:
__________________
download RealAnime and Bencos |
|
|
|
|
|
|
#20 | Link |
|
Registered User
Join Date: Oct 2002
Location: Canada
Posts: 8,732
|
Is there a way to pipe video and audio from .avs at the same time?
__________________
download RealAnime and Bencos |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|