PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem mit transcode



darkiop
01.12.04, 11:19
Hallo alle zusammen,

ich habe anhand des HowTo's von Hunter (http://www.linuxforen.de/forums/showthread.php?t=88454) ein Video mit meiner WinTV PCI FM aufgenommen. Jetzt wollte ich das ganze mit dem "caputure2dvd" Skript encoden, bekomme allerdings nur folgenden output:

OS: Debian Sarge, vanilla 2.6.9, transcode 0.6.14



*** WARNING: The option -V is deprecated. ***
*** Transcode internal frame handling is now in YV12 / YUV420 ***
*** format by default because most codecs can only handle this format, ***
*** otherwise leading to unnecessary time and quality wasting conversions. ***
*** If you want to have to "old" behaviour (RGB24 as internal format), ***
*** then please use the new -1/--use_rgb option ***
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source test.avi (ok)
[transcode] V: import format | MJPG RIFF data, AVI (V=mplayer|A=null)
[transcode] V: import frame | 576x432 1.33:1
[transcode] V: de-interlace | (mode=2) handled by encoder (if available)
[transcode] V: new aspect ratio | 816x432 1.89:1 (-X)
[transcode] V: bits/pixel | 0.204
[transcode] V: anti-alias | (mode=2|0.33|0.50) resize effects only
[transcode] V: decoding fps,frc | 25.000,0
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x1 PCM [44100,16,2] 1411 kbps
[transcode] A: export | disabled
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7056 (7056.000000)
[transcode] A: adjustment | 0@1000
[transcode] V: IA32 accel mode | sse2 (sse2 sse 3dnowext 3dnow mmxext mmx asm C)
tc_memcpy: using mmxext for memcpy
[transcode] V: video buffer | 10 @ 816x432
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_mplayer.so] v0.0.5 (2003-03-10) (video) rendered by mplayer | (audio) rendered by mplayer
[filter_pp.so] v1.2.4 (2003-01-24) Mplayers postprocess filters #0
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
[export_mpeg2enc.so] v1.1.10 (2003-10-30) (video) MPEG 1/2
mkfifo video failed: Operation not permitted
video import module error: OPEN failed
[transcode] critical: failed to open input source
*** WARNING: The option -V is deprecated. ***
*** Transcode internal frame handling is now in YV12 / YUV420 ***
*** format by default because most codecs can only handle this format, ***
*** otherwise leading to unnecessary time and quality wasting conversions. ***
*** If you want to have to "old" behaviour (RGB24 as internal format), ***
*** then please use the new -1/--use_rgb option ***
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source test.avi (ok)
[transcode] V: import format | MJPG RIFF data, AVI (V=null|A=mplayer)
[transcode] V: import frame | disabled
[transcode] V: bits/pixel | 0.000 (unknown)
[transcode] V: decoding fps,frc | 25.000,0
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x1 PCM [44100,16,2] 1411 kbps
[transcode] A: export format | 0x50 MPEG layer-2 [48000,16,2] 224 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7056 (7056.000000)
[transcode] A: adjustment | 0@1000
[transcode] V: IA32 accel mode | sse2 (sse2 sse 3dnowext 3dnow mmxext mmx asm C)
tc_memcpy: using mmxext for memcpy
[transcode] V: video buffer | 10 @ 0x0
[import_mplayer.so] v0.0.5 (2003-03-10) (video) rendered by mplayer | (audio) rendered by mplayer
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[filter_normalize.so] v0.1.1 (2002-06-18) Volume normalizer
[export_mp2enc.so] v1.0.10 (2004-09-27) (audio) MPEG 1/2
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
[import_mplayer.so] mplayer -hardframedrop -vo null -ao pcm -nowaveheader -aofile /tmp/mplayer2transcode-audio.uymKNi "test.avi" > /dev/null 2>&1
[export_mp2enc.so] *** init-v *** !
[export_mp2enc.so] (45/4096) cmd=mp2enc -v 0 -r 48000 -b 224 -s -o "test.mpa"
encoding frames [000000-000750], 76.74 fps, EMT: 0:00:30, ( 0| 0| 9)
clean up | frame threads | unload modules | cancel signal | internal threads | done
[transcode] encoded 751 frames (0 dropped, 0 cloned), clip length 30.04 s
INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
**ERROR: [mplex] Unable to open file test.m2v for reading.

hunter
01.12.04, 12:31
Bei neuem Transcode kannst du -V weglassen, weils nun ohnehin Standard ist. Dann verschwindet die nervige Meldung (mit deinem Problem hat das aber wohl nichts zu tun).

Kannst du den File denn mit Mplayer abspielen ? Offenbar kann er es ja nicht öffnen. Eventuell ist der File aber auch größer als 2 GB und du hast keinen Large File Support für MPlayer compiliert.

darkiop
01.12.04, 22:46
Ok dann passe ich das skript bzgl. -V an.

Mein Testfile hat nur 43MB, daran kanns nicht liegen :)

Abspielen kann ich das File mit dem mplayer auch, hier die ausgabe:



mplayer test.avi
MPlayer 1.0pre5-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon 64 Clawhammer 2000 MHz (Family: 8, Stepping: 10)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Kompiliert für x86 CPU mit folgenden Erweiterungen: MMX MMX2 3DNow 3DNowEx SSE SSE2

Reading config file /usr/local/mplayer/etc/mplayer/mplayer.conf
Reading config file /home/darkiop/.mplayer/config
Reading /home/darkiop/.mplayer/codecs.conf: 73 audio & 180 video codecs
Can't load font bitmap: iso-8859-1-a.raw
Can't load font bitmap: iso-8859-1-a.raw
Failed to open /dev/rtc: Keine Berechtigung (it should be readable by the user.)
Using usleep() timing
Input config file /home/darkiop/.mplayer/input.conf parsed: 53 binds

Spiele test.avi
AVI-Dateiformat erkannt!
VIDEO: [MJPG] 576x432 24bpp 25,000 fps 10843,1 kbps (1323,6 kbyte/s)
================================================== ========================
Öffne Audiodecoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411,2 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
================================================== ========================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
================================================== ========================
Öffne Videodecoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
================================================== ========================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starte Wiedergabe...
VDec: VO wird versucht, auf 576 x 432 (Bevorzugter Farbraum: Planar 422P) zu setzen.
Konnte keinen passenden Farbraum finden - neuer Versuch mit '-vf scale'..
Öffne Videofilter: [scale]
VDec: using Planar 422P as output csp (no 1)
Film-Aspekt ist undefiniert - keine Vorskalierung durchgeführt.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using MMX2
VO: [xv] 576x432 => 576x432 Planar YV12
A: 30,0 V: 30,0 A-V: 0,040 ct: 0,031 751/751 9% 7% 0,4% 0 0 0%
Successfully enabled DPMS

Beenden... (Dateiende erreicht.)