PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : hilfe bei mencoder



tobias83
05.10.09, 16:42
Hi,

ich bin noch recht neu in der Linux und mencoder Welt.

Habe mir vor einiger Zeit unter Windows eine DVD gebastelt mit allem Schnikschnak.

Es handelt sich um eine DVD mit Familien aufnahemen (also nichts kopiergeschütztes)

jetzt würde mich mal interessieren wie ich aus den einzelnen VOB´s ein hochauflösendes avi erstellen. Habe momentan leider nur die VOB´s auf dem Rechner, da mein Linux momentan kein DVD-Laufwerk besitzt.

Habe mich jetzt schon ein wenig in mencoder einlesen können, anscheined aber nicht genug. :)

habe es jetzt geschafft einzelne VOB´s umzuwandeln.

und zwar so:


mencoder VOBdatei -alang de -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=850:vhq:vqmin=2:vqmax=10:key int=240 -vf scale=640:480 -oac mp3lame -lameopts cbr:br=128:vol=2 -o film.avi

es gibt aber insgesamt 4 VOB´s die würde ich gerne zu einem avi zusammen fassen. kann ich mit dieser methode eigenlich auch irgendwie die quali des films verbesser z.B mit dem h264 codec?

bin leider noch nicht so ganz duch die Syntax gestiegen.

Bin für jede Hilfe sehr dankbar

Gruß

-Tobi

Manoman
05.10.09, 17:41
gaanz einfach, nenne die 4 VOB's als input also mencoder VOBdatei1 VOBdatei2 VOBdatei3
event. kannst fertige avi's "zusammen kopieren" mit


mencoder -ovc copy -oac copy -o "Fertig.avi" 1.avi 2.avi 3.avi 4.avi


bye

buzz768
05.10.09, 18:23
Wenn eine ordentliche DVD-Struktur (also mit IFO-Dateien) vorliegt, würde ich es so machen


mencoder dvd:// -dvd-device /pfad/zum/dvd-verzeichnis/ ...

tobias83
05.10.09, 18:32
Wenn eine ordentliche DVD-Struktur (also mit IFO-Dateien) vorliegt, würde ich es so machen


mencoder dvd:// -dvd-device /pfad/zum/dvd-verzeichnis/ ...


Hi,

diese Lösung geht aber nur wenn ich ein DVD laufwerk habe, oder stehe ich da gerade auf dem Schaluch?

Das Verzeichnis ist eine exakte Kopie der DVD enthält also auch eine IFO Datei.

buzz768
05.10.09, 18:38
Du brauchst dafür kein DVD-Laufwerk, du musst mencoder nur den Pfad zum Verzeichnis angeben (andernfalls würde er versuchen auf /dev/dvd zuzugreifen).

tobias83
05.10.09, 18:46
Also ich glaube ich stehe gerade sehr auf dem Schlauch.

Hier mal meine Shell:


viona:/data/filme/family/VIDEO_TS# mencoder dvd:// -dvd-device /data/filme/family/VIDEO_TS/VIDEO_TS.IFO -alang de -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=850:vhq:vqmin=2:vqmax=10:key int=240 -vf scale=640:480 -oac mp3lame -lameopts cbr:br=128:vol=2 -o film.avi
MEncoder dev-SVN-r26940 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 430 @ 1.80GHz (Family: 6, Model: 22, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Couldn't open DVD device: /data/filme/family/VIDEO_TS/VIDEO_TS.IFO (Wrong medium type)
No stream found to handle url dvd://
Cannot open file/device.

Exiting...
viona:/data/filme/family/VIDEO_TS#

drcux
05.10.09, 18:53
-dvd-device /pfad/zum/dvd-verzeichnis/

ist ungleich

-dvd-device /data/filme/family/VIDEO_TS/VIDEO_TS.IFO

Ich würds mal mit /data/filme/family/ versuchen

buzz768
05.10.09, 18:55
Nicht die Datei VIDEO_TS.IFO mit angeben, nur das Verzeichnis, in dem diese Datei sich befindet, also


mencoder dvd:// -dvd-device /data/filme/family/VIDEO_TS/

Es reicht auch /data/filme/family/ oder, wenn du zuvor schon in das Verzeichnis /data/filme/family gewechselt bist, ein einzelner Punkt (steht für das aktuelle Verzeichnis)


cd /data/filme/family/
mencoder dvd:// -dvd-device .

tobias83
05.10.09, 19:07
Also irgendwie bekomme ich es nicht hin.


viona:/data/filme/family/VIDEO_TS# mencoder dvd:// -dvd-device . -alang de -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=850:vhq:vqmin=2:vqmax=10:key int=240 -vf scale=640:480 -oac mp3lame -lameopts cbr:br=128:vol=2 -o film.avi
MEncoder dev-SVN-r26940 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 430 @ 1.80GHz (Family: 6, Model: 22, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
There are 12 titles on this DVD.
There are 1 angles in this DVD title.
number of audio channels on disk: 0.
number of subtitles on disk: 0
success: format: 2 data: 0x0 - 0x19800
No matching DVD audio language found!
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 2000.0 kbps (250.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.000 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=640 h=480]
================================================== ========================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
================================================== ========================
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 5
SwScaler: reducing / aligning filtersize 6 -> 5
[swscaler @ 0x86af098]BICUBIC scaler, from yuv420p to yuv420p using MMX2
[swscaler @ 0x86af098]using 8-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x86af098]using 8-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x86af098]using n-tap MMX scaler for vertical scaling (YV12 like)
[swscaler @ 0x86af098]720x576 -> 640x480
videocodec: libavcodec (640x480 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
[mpeg2video @ 0x86c6730]ac-tex damaged at 35 10
[mpeg2video @ 0x86c6730]Warning MVs not available
[mpeg2video @ 0x86c6730]concealing 1170 DC, 1170 AC, 1170 MV errors
New_Face failed. Maybe the font path is wrong.n 0mb A-V:0.000 [0:0]
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos: 0.5s 13f (99%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
Flushing video frames.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Video stream: 94.783 kbit/s (11847 B/s) size: 5687 bytes 0.480 secs 13 frames
viona:/data/filme/family/VIDEO_TS#



hier mal der inhalt von /data/filme/family


viona:/data/filme/family/VIDEO_TS# ls -la
insgesamt 4403916
drwxr-xr-x 2 tobias tobias 4096 5. Okt 20:04 .
drwxr-xr-x 4 tobias tobias 36 14. Sep 06:14 ..
-rw-r--r-- 1 root root 1464 5. Okt 16:27 divx2pass.log
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VIDEO_TS.BUP
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VIDEO_TS.IFO
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VTS_01_0.BUP
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VTS_01_0.IFO
-rwxr--r-- 1 tobias tobias 120832 14. Sep 06:33 VTS_01_0.VOB
-rwxr--r-- 1 tobias tobias 106496 14. Sep 06:33 VTS_01_1.VOB
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VTS_02_0.BUP
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VTS_02_0.IFO
-rwxr--r-- 1 tobias tobias 120832 14. Sep 06:33 VTS_02_0.VOB
-rwxr--r-- 1 tobias tobias 2836480 14. Sep 06:33 VTS_02_1.VOB
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VTS_03_0.BUP
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VTS_03_0.IFO
-rwxr--r-- 1 tobias tobias 116736 14. Sep 06:33 VTS_03_0.VOB
-rwxr--r-- 1 tobias tobias 44853248 14. Sep 06:33 VTS_03_1.VOB
-rwxr--r-- 1 tobias tobias 55296 14. Sep 06:33 VTS_04_0.BUP
-rwxr--r-- 1 tobias tobias 55296 14. Sep 06:33 VTS_04_0.IFO
-rwxr--r-- 1 tobias tobias 456353792 14. Sep 06:33 VTS_04_0.VOB
-rwxr--r-- 1 tobias tobias 106496 14. Sep 06:33 VTS_04_1.VOB
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VTS_05_0.BUP
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VTS_05_0.IFO
-rwxr--r-- 1 tobias tobias 104448 14. Sep 06:33 VTS_05_0.VOB
-rwxr--r-- 1 tobias tobias 3477504 14. Sep 06:33 VTS_05_1.VOB
-rwxr--r-- 1 tobias tobias 20480 14. Sep 06:33 VTS_06_0.BUP
-rwxr--r-- 1 tobias tobias 20480 14. Sep 06:33 VTS_06_0.IFO
-rwxr--r-- 1 tobias tobias 98304 14. Sep 06:33 VTS_06_0.VOB
-rwxr--r-- 1 tobias tobias 73621504 14. Sep 06:33 VTS_06_1.VOB
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VTS_07_0.BUP
-rwxr--r-- 1 tobias tobias 18432 14. Sep 06:33 VTS_07_0.IFO
-rwxr--r-- 1 tobias tobias 106496 14. Sep 06:33 VTS_07_0.VOB
-rwxr--r-- 1 tobias tobias 76482560 14. Sep 06:33 VTS_07_1.VOB
-rwxr--r-- 1 tobias tobias 20480 14. Sep 06:33 VTS_08_0.BUP
-rwxr--r-- 1 tobias tobias 20480 14. Sep 06:33 VTS_08_0.IFO
-rwxr--r-- 1 tobias tobias 106496 14. Sep 06:33 VTS_08_0.VOB
-rwxr--r-- 1 tobias tobias 46309376 14. Sep 06:33 VTS_08_1.VOB
-rwxr--r-- 1 tobias tobias 20480 14. Sep 06:33 VTS_09_0.BUP
-rwxr--r-- 1 tobias tobias 20480 14. Sep 06:33 VTS_09_0.IFO
-rwxr--r-- 1 tobias tobias 108544 14. Sep 06:33 VTS_09_0.VOB
-rwxr--r-- 1 tobias tobias 77443072 14. Sep 06:33 VTS_09_1.VOB
-rwxr--r-- 1 tobias tobias 20480 14. Sep 06:33 VTS_10_0.BUP
-rwxr--r-- 1 tobias tobias 20480 14. Sep 06:33 VTS_10_0.IFO
-rwxr--r-- 1 tobias tobias 98304 14. Sep 06:33 VTS_10_0.VOB
-rwxr--r-- 1 tobias tobias 44623872 14. Sep 06:33 VTS_10_1.VOB
-rwxr--r-- 1 tobias tobias 20480 14. Sep 06:33 VTS_11_0.BUP
-rwxr--r-- 1 tobias tobias 20480 14. Sep 06:33 VTS_11_0.IFO
-rwxr--r-- 1 tobias tobias 77824 14. Sep 06:33 VTS_11_0.VOB
-rwxr--r-- 1 tobias tobias 30517248 14. Sep 06:33 VTS_11_1.VOB
-rwxr--r-- 1 tobias tobias 67584 14. Sep 06:33 VTS_12_0.BUP
-rwxr--r-- 1 tobias tobias 67584 14. Sep 06:33 VTS_12_0.IFO
-rwxr--r-- 1 tobias tobias 98304 14. Sep 06:33 VTS_12_0.VOB
-rwxr--r-- 1 tobias tobias 1073739776 14. Sep 06:33 VTS_12_1.VOB
-rwxr--r-- 1 tobias tobias 1073739776 14. Sep 06:33 VTS_12_2.VOB
-rwxr--r-- 1 tobias tobias 1073739776 14. Sep 06:33 VTS_12_3.VOB
-rwxr--r-- 1 tobias tobias 429744128 14. Sep 06:33 VTS_12_4.VOB
viona:/data/filme/family/VIDEO_TS#


Versteh ich irgendwie nicht fehlt bei mencoder noch was, muss man noch was nach installieren?

buzz768
05.10.09, 19:10
Da scheinen mehrere Titel auf der DVD zu sein, was sagt


lsdvd /data/filme/family/

Die Titelnummer dann an dvd:// anhängen, z.B. dvd://8

tobias83
05.10.09, 19:14
Ah super. Vielen Dank. Jetzt klappt es.