09.11.09

tail für Windows

Posted in Windows at 10:13 by Phil

Wer hatte nicht auch schon das Bedürfnis ein Logfile “live” anzeigen zu lassen um es nicht ständig neu zu öffnen. Entwickler und diejenigen, die sich mit WSUS beschäftigen wissen wovon ich spreche.
Um den Windows Server Update Services zu troubleshooten muss ständig das Logfile in C:\Windows\WindowsUpdate.log neu geöffnet werden um Errormeldungen anzuschauen.

Unter Linux gibt es ein tolles Tool, mitdem man Textfiles live anschauen kann, bis Ctrl+C gedrückt wird. Dieses Tool heisst tail mit dem Switch -f werden neue Einträge im File kontinuierlich angezeigt.

Wäre doch auch gut für Windows? Gibt es!

GUI

Tail for Win32
mTail
WinTail

Command Line

Windows Server 2003 Resource Kit Tools (getestet auf Server 2008 und Windows 7!)

C:\Users\pri>tail /?
usage: TAIL [switches] [filename]*
switches: [-?] display this message
[-n] display last n lines of each file (default 10)
[-f filename] keep checking filename for new lines

09.03.09

Video konvertieren auf einem 8 Core System

Posted in IT, Windows at 12:03 by Phil

Videos konvertieren kann eine ziemlich langwierige Geschichte sein. Da die Hosting Platform, welche ich betreibe nachhezu unausgelastet ist dachte ich mir, wieso nicht mal eine 8 Core Virtual Machine erstellen und ein bisschen Spass haben. Gesagt, getan: das Resultat war überwältigend!

Für den gleichen Film auf meinem Pentium 4 3200 zu konvertieren (20 Stunden) brauchte ich auf dem 8 Core System 2 Stunden.

Screenshot 8 Core Converting

Original Format:

General
Complete name : H:\HD\test.mkv
Format : Matroska
File size : 4.37 GiB
Duration : 1h 37mn
Overall bit rate : 6 416 Kbps
Writing application : x264.exe
Writing library : mkv2rls v1.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 37mn
Bit rate : 4 778 Kbps
Nominal bit rate : 4 903 Kbps
Width : 1 280 pixels
Height : 544 pixels
Display aspect ratio : 2.35:1
Frame rate : 24.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.286
Stream size : 3.26 GiB (74%)
Writing library : x264 core 67 r1148 400740b
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=4903 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1h 37mn
Bit rate mode : Constant
Bit rate : 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
Stream size : 1.03 GiB (24%)
Title : German DTS 1509kbps
Language : German

Konvertiert:

General
Complete name : H:\HD\ps3\test.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 2.16 GiB
Duration : 1h 37mn
Overall bit rate : 3 163 Kbps
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00
Writing application : Lavf52.32.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 37mn
Bit rate mode : Variable
Bit rate : 2 992 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 fps
Minimum frame rate : 4.795 fps
Maximum frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.135
Stream size : 2.04 GiB (95%)
Language : English
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 1h 37mn
Bit rate mode : Variable
Bit rate : 165 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 115 MiB (5%)
Language : German
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00

06.04.09

RDP bricht ohne Timeout sofort ab

Posted in IT, Windows at 11:46 by Phil

Ich hatte kürzlich das Problem, dass ich mich nicht mehr via RDP auf meinen PC zuhause verbinden konnte. Nach stundenlangem herumgebastle hatte ich dann endlich die Lösung gefunden.

Das Problem:

Die Ursache war der neuste Treiber von NVIDIA (6.14.11.7519) und XP SP3, welche scheinbar nicht kompatibel sind.
Im Event Viewer erscheint der Event 26 Application Popup: Application popup:  : \SystemRoot\System32\RDPDD.dll failed to load

Die Lösung:

Manuell

In der Registry muss ein zusätzliche Eintrag gemacht werden, der die Session Image Size erhöht

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

Neuen DWORD Wert: SessionImageSize mit Wert dword:00000020 (Hex für 32)

oder Reg Datei importieren

SessionImageSize.reg (Rechtsklick -> Speichern unter)

« Previous entries Next Page » Next Page »