Direkt zum Hauptbereich

mencoder

mit mencoder videos vom vdr konvetieren

Für mencoder wird ganz gern empfohlen das zu verwenden - das war für mich unbrauchbar (funktioniert mit vlc und mplayer):

mencoder 003.vdr -oac copy -aid 128 -ovc xvid -xvidencopts bitrate=800:aspect=1,78 -o C:\\test3.avi"

Damit wirklich aber alle player den konvertierten Film anzeigen können, vielen (Mediaplayer, Standaloneplayer, ...) fehlt die Unterstützung für sample aspect ratio ungleich 1 und damit autoscale, muss der Film resized werden:

Bsp.:
mencoder 003.vdr -oac copy -aid 128 -ovc xvid -xvidencopts bitrate=800 -vf scale=-1:-10 -o test12.avi

Doku:
0: scaled d_width/d_height
-1: original width/height
-2: Calculate w/h using the other dimension and the prescaled aspect ratio.
-3: Calculate w/h using the other dimension and the original aspect ratio.
-9: see: -1 + round to mod 16
-10: see: -2 + round to mod 16
-11: see: -3 + round to mod 16

Bsp.:
=> Hier nunr wie ich dies soweit verstanden/interpretiert habe an ein paar 'Beispielen':
-vf scale=360:-1 -> resized die Breite auf 360 und lässt die Höhe wie im Input
-vf scale=360:-9 -> resized die Breite auf 360 und resized die Höhe so das sie durch 16 teilbar ist
-vf scale=360:-2 -> resized die Breite auf 360 und resized die Höhe, so dass das DAR (Breite/Höhe)- Verhältnis das gleiche ist wie beim Input
-vf scale=360:-10 -> resized die Breite auf 360 und resized die Höhe, so dass das DAR (Breite/Höhe)- Verhältnis das gleiche ist wie beim Input und die Höhe durch 16 teilbar ist
-vf scale=360:-3 -> resized die Breite auf 360 und resized die Höhe, so dass das PAR - Verhältnis das gleiche ist wie beim Input
-vf scale=360:-11 -> resized die Breite auf 360 und resized die Höhe, so dass das PAR - Verhältnis möglichst das gleiche ist wie beim Input und durch 16 teilbar ist
(die Beispiele bis jetzt kann man auch mit Höhe&Breite vertauscht nutzen)
-vf scale=-10:-1 -> lässt die Höhe wie sie im Input ist und resized die Breite entsprechend dem DAR (hochskalieren)
-vf scale=-11:-1 -> lässt die Höhe wie sie im Input ist und resized Breite entsprechend dem PAR (hochskalieren auf PAR 1:1)
-vf scale=-1:-10 -> lässt die Breite wie sie im Input und resized die Höhe entsprechend dem DAR (runterskalieren)
-vf scale=-1:-11 -> lässt die Breite wie sie im Input und resized die Höhe entsprechend dem DAR (runterskalieren auf PAR 1:1)
http://forum.gleitz.info/showthread.php?t=38661

Edit:
Die oberen Zeilen funktinieren scheinbarn nicht... mencoder ist komisch.
Für 4:3 Streams funktioniert das:
-oac copy -aid 128 -ovc xvid -xvidencopts bitrate=800:threads=2:aspect=4/3 -vf scale -xy 720 -o
Für 16:9 Streams funktioniert das:
-oac copy -aid 128 -ovc xvid -xvidencopts bitrate=800:threads=2:aspect=16/9 -vf scale -zoom -xy 720 -o
Was noch nicht funktioniert:
Automatische Auswahl des "besten" Audiostream, also ac3 mit mehr als 2 Kanälen oder ebem pcm.

Kommentare

Beliebte Posts aus diesem Blog

Open DRM-Free Unencrypted DVB-T2 Tv and Radio in Austria

Most things in Austria terestical TV got encrypted since DVB-T got shut down, but there are still three TV channels and three Radio Channels unencrypted. I had some hard time to find out how to get it working using linux... and non existing documentation of the sender did not help. Howerver... if you have use for detailed channel setup arround vienna, take a look: Tvheadend seems to lack channel search support using DVB-T2, but puzzeling every value together works fine: Mux A-WNB Channel Frequency: 498000000 Bandwitdh: 8MHz Constellation; QAM/16 Mux B2 Channel Frequency: 578000000 Bandwitdh: 8MHz Constellation; QAM/16 Unstable Twin Tuner I am using some twin tuner. That was not supported on older kernel version, but is now supported on current versions. Great? nope. The system/tvheadend gets unstable if two tuner are enabled running for weeks. After disabling one tuner, tvheadend runs reliable for months. List of unencrypted streams Example stream info tv channel   Surround sound Too

Cleanup your windows machine

still working: Use these lines to get your windows system cleaned up a bit and free your disk from old temporary and backup files: RD %temp%\ /S /Q rd /s /q C:\Windows\ServiceProfiles\NetworkService\AppData\Local\VSEQT\QTController rd %windir%\temp\ /s /q rd C:\TEMP\ /s /q rd C:\Quarantine /s /q rd "%userprofile%\AppData\Local\Temp\"  /s /q del C:\Windows\Installer\.tmp RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v3.0\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v3.5\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\" RD /S /Q "%userprofile%\AppData\Local\Microso

pdf to dxf

if you get a cad plan in pdf format you have a problem: Pdf can not be loaded in most cad programs. I used pstoedit to solve this problem. Pstoedit is a free tool to convert pdfs to dxf. What you have to do: Install pstoedit Install ghostscript shot at your pdfs: pstoedit.exe <pdfSource> <dxfOutput> -f dxf thanks to the author of pstoedit! Here is the pstoedit.exe -help output: No output format specified (-f option) and format could not be uniquely deduced from suffix .dxf of output file Available formats :     psf:            .fps:    Flattened PostScript (no curves)     (built-in) -------------------------------------------     ps:            .spsc:    Simplified PostScript with curves     (built-in) -------------------------------------------     debug: