Am Montag, 15. Februar 2010 09:49:14 schrieb Maik Holtkamp: Hi Mike,
0n 10/02/12@12:32 Al Bogner told me:
...
mencoder -ovc x264 -x264encopts qp=28:threads=auto:pass=1 \
...
-------------------------------------------------- Mencoder 2. Durchgang --------------------------------------------------
...
VIDEO: [MJPG] 640x480 24bpp 30.000 fps 6815.3 kbps (831.9 kbyte/s)
^^^^
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG)
^^^^^
Das scheint mir aber kein x264 zu sein, was mencoder da gebaut hat, oder?
Da zeigt mencoder die Quelle an.
Habe keine Erfahrung mit x264 encoding, aber ich lass diese Tage gerade:
---cut--- From: Phil Ehrens
Subject: Re: [transcode-users] h.264 tips? Date: Mon, 1 Feb 2010 08:26:56 -0800 To: transcode Users Mailing List I put the Who? in Mishehu wrote:
I would like to use transcode to encode this file into a matroska (mkvu)container with h.264 as the video codec
Genau das wollte ich auch mit transcode probieren, da ich gelesen habe, dass es für transcode einen Stabilisator gibt, der verwackelte Videos korrigiert.
and a direct copy of the audio (no transcoding of the a52 stream). There are three options that I know of so far:
1. Use transcode selecting x264 as the video codec for -y 2. Use transcode specifying ffmpeg as the backend 3. Directly using ffmpeg and skipping the use of transcode.
I would like to try 2-pass encoding for best overall quality. The expense of encoding time is of no real consequence to me, as I can simply batch these up and run them overnight.
According to the x264 developers, 2-pass is non-functional in x264.
Soll das transcode unabhängig sein?
The passlog file, according to them, contains only null entries.
Das kann ich nicht nachvollziehen. zB von einem "Bluescreen" eines VHS-Recorders: #options: 720x576 fps=25/1 cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.0:0.0 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 mbaff=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 wpredb=1 wpredp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=23 ip_ratio=1.40 pb_ratio=1.30 aq=0 in:0 out:0 type:I q:20.00 tex:564629 mv:9548 misc:5055 imb:1620 pmb:0 smb:0 d:- ref:; in:1 out:1 type:P q:23.00 tex:10 mv:3 misc:179 imb:0 pmb:1 smb:1619 d:- ref:4 ; in:2 out:2 type:P q:23.00 tex:106937 mv:3531 misc:1532 imb:34 pmb:1094 smb:492 d:- ref:1834 25 2517 ; in:4 out:3 type:P q:23.00 tex:37333 mv:2676 misc:1783 imb:0 pmb:861 smb:759 d:- ref:2759 332 321 32 ; in:3 out:4 type:b q:25.00 tex:2743 mv:508 misc:1629 imb:0 pmb:554 smb:1064 d:- ref:202 12 ; in:6 out:5 type:P q:23.00 tex:22130 mv:2420 misc:1762 imb:0 pmb:731 smb:889 d:- ref:2087 598 151 88 ; in:5 out:6 type:b q:25.00 tex:1917 mv:523 misc:1472 imb:0 pmb:416 smb:1198 d:- ref:143 36 ; in:8 out:7 type:P q:23.00 tex:19365 mv:2402 misc:1777 imb:0 pmb:716 smb:904 d:- ref:1799 707 90 268 ; in:7 out:8 type:b q:25.00 tex:2198 mv:516 misc:1462 imb:0 pmb:411 smb:1207 d:- ref:166 70 ; DVDs mit qp=30 in x264/mkv sind IMHO durchaus akzeptabel und haben ein Größe von etwa 1 CD, kein Vergleich zu SVCD. Aber DVDs sind nicht mein Hauptthema. Interessant finde ich, dass eigen VHS-Bänder einen niedrigeren qp-Wert, dh höhere Qualität brauchen damit schnelle Bewegungen, zB beim Tanzen akzeptable sind. Ich bin dabei die VHS-Bänder meiner XSVCD nochmals zu digitialisieren und zu schauen was man mittlerweile besser machen kann. Ganz wesentlich wird sein, ob man die alten freihändigen Videos merklich stabilisieren kann und ob man den die Nebengeräusche, zB Wind beim Ton automatisch abschwächen kann.
There is some sort of aggressive lookahead option for x264 called cpb or something (I don't do x264) that they CLAIM does as good as 2-pass but in a single pass.
My own observations of many people's encodes indicate that it is easy to do a high-quality encode with x264 that is not as good as a high-quality encode done with lavc mpeg4.
Interessant, dann werde ich mich mal dort umsehen.
A real expert however can do a mind-bogglingly great encode with x264. If your content has any high-action, check the results with x264 carefully, because that's where it falls down (and that's exactly where lavc 2-pass shines). ---cut---
das 2-pass da wohl eh kaput ist.
Hat wer eine Syntax mit lavc für x264? BTW: Habe da gerade einiges entdeckt: http://videoencoding.websmith.de/encoding-praxis/linux-mencoder-encoding.htm... Hier sehen Sie nun den vollständigen Linux Befehl für Mencoder, hohe Qualität: mencoder -ovc x264 INPUT.avi -x264encopts level_idc=12:bitrate=128:bframes=16:subq=7:partitions=all:8x8dct:me=esa:me_range=23:frameref=6 :trellis=1:b_pyramid:weight_b:mixed_refs:threads=0:qcomp=0.6:keyint=250:min- keyint=25 :direct=temporal -vf scale=240:192 -oac lavc -lavcopts acodec=libfaac:abitrate=56 -srate 48000 -af channels=2 -of lavf -ofps 25 - lavfopts format=mp4 -o OUTPUT.mp4 Ich verstehe da einige der Optionen nicht, speziell -vf scale=240:192 webpin mencoder ... performing request on http://software.opensuse- community.org/ws/searchservice/ 16 results (15 packages) found for "mencoder" in openSUSE_111 * QVideoConverter: QVideoConverter is an GUI for mencoder - 0.3.1 [packman] * burn_360: Menc is an GUI to encode videos with MEncoder and transcode - 0.7.3 [packman] * divxenc: An advanced CLI shell script for MEncoder - 1.5.2 [home:/microchip8] * dvd2xvid: Ein einfach gehaltenes GUI fuer MEncoder - 0.7.0 [packman] * encode2mpeg: encode2mpeg is a front end to MPlayer/MEncoder and mjpegtools - 0.6.4 [packman] * h264enc: An advanced CLI shell script for MEncoder - 9.1.5 [home:/microchip8] * jMencode: A simple java front-end for the free MPlayer/Mencoder software - 0.64 [packman] * perl-File2DiVX3Pass2: File2DiVX3Pass - a simple perl-GTK frontend to mencoder - 2.3 [packman] * qeven: QT encoder front-end to MEncoder - 0.3.2 [home:/microchip8] * ripdvd: A simple shell script for MEncoder - 2.0.8 [home:/microchip8] * ripwrap: RipWrap is a gui wrapper for mencoder and mp4box - 0.26 [packman] * rmvb2avi: A QT4 frontend to mencoder that converts rmvb files to avi - 0.0.3 [home:/microchip8] * undvd: undvd is a simple encoding shell script for MEncoder - 0.7.5 [home:/microchip8] * xvidenc: A shell script for MEncoder - 8.3.1 [packman | home:/microchip8] * yameg: YaMeG - Yet another Mencoder Gui - 0.3.1 [packman] * sx264: A QT GUI frontend for the x264 encoder - r568 [home:/microchip8] Al -- To unsubscribe, e-mail: opensuse-multimedia-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-multimedia-de+help@opensuse.org