[Mplayer-felhasznalok] Ujra: svcd konvert

LeVA leva at fbi.hu
Tue Oct 28 17:06:08 CET 2003


Arpi írta:
> Hi,
> 
> 
>>Ugy dontottem leirom megegyszer a problemamat, mert eloszorre elegge
>>zurzavaros, es erthetetlen voltam. Most megprobalok minden lepest egymas
>>utan leirni, kozben feltenni a kerdeseket es erthetoen fogalmazni.
>>A feladatom: avi --> mpg2
>>Az avim neve: film__.avi
>>
>>mencoder -ovc lavc \
>>-lavcopts vcodec=mpeg2video:vbitrate=988:vhq \
>>-ofps 25 -vf scale=480:192,expand=480:576:0:192:0 \
>>-sws 9 -oac pcm "film__.avi" \
>>-of mpeg -o "film__.mpg"
>>
>>A kerdesem: Mit jelentenek ezek az uzenetek (a kodolas soran jelentek
>>meg, mondhatni nagyon sokszor):
>>
>>----###----
>>1 darab képkocka duplázása!!!
> 
> 
> ez azt hogy csuszna az A-V szinkrnon ha nem szurna be 1 framet.
> 
> 
>>Unknown block type, possibly non-MPEG stream!
> 
> 
> ez honnan jon?
> az avi amit atkodolsz az divx vagy mpeg streamcopy vagy micsoda?

Igen-igen divx avi, csak osszefuztem avimerge-el ket kisebb (ugyancsak 
divx) avit (remelem ez nem ront a helyzeten, marmint, hogy avimerge-t 
hasznaltam).

> 
> hol a mencoder -v ... teljes output???

Elnezest, maris irom (nagyon hosszu):

sh$  mencoder -v \
      -ovc lavc \
      -lavcopts vcodec=mpeg2video:vbitrate=988:vhq \
      -ofps 25 -vf scale=480:192,expand=480:576:0:192:0 \
      -sws 9 -oac pcm "film__.avi" -of mpeg -o "film__.mpg"

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MEncoder 1.0pre2-2.95.4 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1529 MHz 
(Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
x86-os CPU - a következő kiterjesztések használata: MMX MMX2 3DNow 
3DNowEx SSE

Reading /home/leva/.mplayer/codecs.conf: Can't open 
'/home/leva/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Befordított codecs.conf - ot használom.
A file nem található: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/leva/.mplayer/mencoder: No such file or directory
get_path('font/font.desc') -> '/home/leva/.mplayer/font/font.desc'
Font /home/leva/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 1441704124 bytes
STREAM: [file] film__.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x55EEA8BC
Ez egy AVI formátumú file!
list_end=0x146
======= AVI Header =======
us/frame: 41708  (fps=23,976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 258216   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 256
==========================
list_end=0xD4
==> Megtalált video stream: 0
====== STREAM Header =====
Type: vids   FCC: DIV3 (33564944)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976000/1000000 = 23,976
Start: 0   Len: 258216
Suggested BufferSize: 0
Quality 0
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
   biSize 40
   biWidth 640
   biHeight 256
   biPlanes 1
   biBitCount 24
   biCompression 861292868='DIV3'
   biSizeImage 491520
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x146
==> Megtalált audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 48000/1152 = 41,667
Start: 0   Len: 448498
Suggested BufferSize: 0
Quality 0
Sample size: 0
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 18375
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=1152
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===========================
list_end=0x16C
hdr=Software  size=17
Software  : transcode-0.6.10
Broken chunk?  chunksize=1664  (id=JUNK)
list_end=0x55421F14
Found movie at 0x800 - 0x55421F14
Reading INDEX block, 706714 chunks for 258216 frames (fpos=0x55421f1c)
AVI index offset: 0x0 (movi=0x800 idx0=0x800 idx1=0xB30)
Auto-selected AVI video ID = 0
Auto-selected AVI audio ID = 1
AVI: Searching for audio stream (id:1)
XXX initial  v_pts=0,000  a_pos=0 (0,000)
AVI video size=1225563349 (258216) audio size=199049088 (448498)
VIDEO:  [DIV3]  640x256  24bpp  23,976 fps  910,4 kbps (111,1 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x256  fps:23,98  ftime:=0,0417
==========================================================================
Audio dekóder meghívása: [mp3lib] MPEG layer-2, layer-3
dec_audio: 4608 + 65536 = 70144 byte allokálása bemeneti buffernek
mp3lib: made decode tables with MMX optimization
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 160 kbit Stereo, BPF: 480
Channels: 2, copyright: No, original: Yes, CRC: Yes, emphasis: 0
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 20000->192000 (160,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Video filter megnyitása: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Video filter megnyitása: [expand w=480 h=576 x=0 y=192 osd=0]
Expand: 480 x 576, 0 ; 192  (-1=autodetect) osd: 0
Video filter megnyitása: [scale w=480 h=192]
SwScale params: 480 x 192 (-1=no scaling)
==========================================================================
Video dekóder meghívása: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
AVI fejléc írása...
Setting audio input gain to 2,000000
LAME version 3.93 MMX  (http://www.mp3dev.org/)
CPU features: i387, MMX (ASM used), 3DNow! (ASM used), SIMD
Using polyphase lowpass  filter, transition band: 16452 Hz - 17032 Hz

misc:

         scaling: 2,000000
         ch0 (left) scaling: 0,000000
         ch1 (right) scaling: 0,000000
         filter type: 0
         quantization: ISO
         huffman search: normal
         experimental X=0 Y=0 Z=0
         ...

stream format:

         MPEG-1 Layer 3
         2 channel - stereo
         padding: off
         variable bitrate - ABR
         ...

psychoacoustic:

         tonality estimation limit: 8871,700195 Hz
         using short blocks: allowed
         adjust masking: 0,000000 dB
         psymodel: 1
         noise shaping: 1
          ^ amplification: 0
          ^ stopping: 0
         ATH: using
          ^ type: 2
          ^ adjust type: 0
          ^ adapt threshold type: 2
         using temporal masking effect: yes
         interchannel masking ratio: 0,000000
         ...

Limiting audio preload to 0.4s
Increasing audio density to 4
[ffmpeg] aspect_ratio: 0,000000
VDec: vo config kérés - 640 x 256 (preferált csp: Planar YV12)
Trying filter chain: scale expand expand lavc
VDec: using Planar YV12 as output csp (no 0)
A film aspect értéke nem definiált - nincs arányjavítás.
VO Config (640x256->640x256,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: Lanczos scaler, from Planar YV12 to Planar YV12 using MMX2
SwScaler: using 8-tap MMX scaler for horizontal luminance scaling
SwScaler: using 8-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 640x256 -> 480x192
REQ: flags=0x401  req=0x0
REQ: flags=0x401  req=0x0
REQ: flags=0x401  req=0x0
videocodec: libavcodec (480x576 fourcc=3267706d [mpg2])
High quality encoding selected (non real time)!
*** [lavc] Allocating mp_image_t, 480x576x12bpp YUV planar, 414720 bytes
*** [expand] Direct Rendering mp_image_t, 480x576x12bpp YUV planar, 
414720 bytes
*** [expand] Direct Rendering mp_image_t, 480x192x12bpp YUV planar, 
138240 bytes
*** [scale] Allocating (slices) mp_image_t, 640x256x12bpp YUV planar, 
245760 bytes
*** [scale] Allocating (slices) mp_image_t, 640x256x12bpp YUV planar, 
245760 bytesB/S 0/0/0
Unknown block type, possibly non-MPEG stream!   0mb  A-V:0,029 [400:81] 
A/Vms 2/28 D/B/S 0/1/1
Unknown block type, possibly non-MPEG stream!   0mb  A-V:0,039 [278:65] 
A/Vms 2/26 D/B/S 1/3/3
Unknown block type, possibly non-MPEG stream!   0mb  A-V:-0,005 [241:64] 
A/Vms 2/27 D/B/S 2/3/3
Pos:   6,2s    154f ( 0%)  30fps Trem:   0min   0mb  A-V:-0,050 [274:67] 
A/Vms 2/27 D/B/S 3/3/3

------< Control+C >------

AVI index írása...
AVI fejléc fixálása...

Video stream:  274,081 kbit/mp  (34260 bps)  méret: 211042 byte  6,160 
mp  154 képkocka

Audio stream:   67,647 kbit/mp  (8455 bps)  méret: 55200 byte  6,528 mp
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x8515798


> 
> 
>>AVI index írása...
>>Error in stream: PTS earlier than SCR!
>>Error in stream: PTS to SCR delay 0 is too little!
> 
> 
> ez is vicces, utoljara a xine irt ki ilyeneket nekem 2 eve.
> 

Es ettol nekem felnem kell, vagy ez csak olyan artatlan kis uzenet, 
amivel nem is igazan kene torodnom. Esetleg emiatt lehet, hogy csuszik a 
hang?

> 
>>Audio stream: 1536,000 kbit/mp  (192000 bps)  méret: 2066674176 byte
>>10763,928 mp
> 
> 
> a 192000 bps-bol arra kovetekztetek hogy PCM lett a hang, magyarul
> nincs betomoritve. ez megmagyarazza azt is miert nincs hangja az mpegednek.
> 
> visszanezve a fentit, -oac pcm, igy nem csoda. -oac mp3 kene inkabb.
> bar az sem az igazi, mpg-hez mpeg2 hang kene.
> 

Igen, Dénes mester scriptjet neztem, aztan abban is pcm volt, gondoltam 
nem arthat, regen copy volt helyette. De most jut csak eszembe, az jo 
otlet egyaltalan, hogy az avinak a hangjat dumpolon, es azt konvertalom 
at mp2-be (majd multiplexelem az m2v-vel), ahelyett, hogy a -oac pcm -el 
nyert - hatalmas - hangfajlt tomoritenem be mp2-ben? Emiatt mar csuszhat 
a hang igaz? Szal jobb lenne ha a pcm-es hangot konvertalnam nem?

> 
>>DEMUXER: Túl sok (4096 db, 8296276 bájt) video-csomag a pufferben!
>>Talán ez egy nem összefésült (interleaved) file vagy a codec nem működik
>>jól?
>>AVI file-oknál próbáld meg a non-interleaved mód kényszerítését a -ni
>>opcióval.
>>MPEG: Nincs hangfolyam... -> hang nélkül
>>Kódolt VOB file (libcss támogatás nincs befordítva!) Olvasd el a doksit
>>Kódolt VOB file (libcss támogatás nincs befordítva!) Olvasd el a doksit
> 
> 
> ez mar annak az eredmenye, hogy mpeg hang helyett pcm van a fileban.
> 

Ertelek. Nagyon halas vagyok es koszonom a gyors valaszt, rogton 
kiprobalom, hogy -aoc pcm helyett mp3lame -t irok.

> 
> A'rpi / Astral & ESP-team
> 
> --
> Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu
> 
> _______________________________________________
> Mplayer-felhasznalok mailing list
> Mplayer-felhasznalok at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-felhasznalok
> 
> 
>  
> 


-- 
LeVA





More information about the MPlayer-felhasznalok mailing list