2013/5/21 Levent SARI <[email protected]>
> Herkese Merhabalar,
> Yaz ayının da gelmeye başlaması ile yoğun iş temposundan sıyrılıp arada
> değişik ve eğlenceli şeyler yapmak için Linux üzerinde bir kaç şey denemeye
> çalışıyorum.
> Bunlardan bir tanesi çok eski ve hep nasıl yapıldığı merak konusu olan
> Linux Konsolunda filim izlemek. Ben bir şeyler yapa bilirim umudu ile
> internette arattım ama bulduklarımdan yapa bildiğim beni belli bir yere
> kadar getirdi.Belki konu ile tecrübeli arkadaşlar buradan yardımcı
> olabilir. Öyleki elimdeki Linux Mint Nadia nın tüm güncellemeleri tam
> olmasına ve gerekli codecler yüklü olmasına rağmen konsoldan
>
> Konsoldan renkli filim izlemek için verdiğim komut ve konsol çıktısı.
> bknz: http://www.fuzzyscript.com/renkli.png
> Renkli olan görüntüye biraz derinlik katabailirsem güzel olacak.
>
> 1. ls@ls ~ $ mplayer -vo caca snopy.avi
> MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing snopy.avi.
> Detected file format: AVI format (libavformat)
> [lavf] stream 0: video (mpeg4), -vid 0
> [lavf] stream 1: audio (mp3), -aid 0
> VIDEO: [MP4V] 544x416 12bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
> Clip info:
> encoder: VirtualDubMod 1.5.4.1 (build 2178/release)
> Load subtitles in .
> Opening video filter: [scale]
> [ass] auto-open
>
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Asking decoder to use 4 threads if supported.
> Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
>
> ==========================================================================
>
> ==========================================================================
> Requested audio codec family [mpg123] (afm=mpg123) not available.
> Enable it at compilation.
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 48000 Hz, 2 ch, floatle, 128,0 kbit/4,17% (ratio: 16000->384000)
> Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3
> audio)
>
> ==========================================================================
> AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
> Starting playback...
> Movie-Aspect is 1,31:1 - prescaling to correct movie aspect.
> [swscaler @ 0x7f5730ea60e0]using unscaled yuv420p -> bgr24 special
> converter
> VO: [caca] 544x416 => 544x416 BGR 24-bit
> A: 10,6 V: 10,6 A-V: -0,000 ct: 0,002 0/ 0 0% 19% 0,3% 0 0
>
>
> ##########################################
>
>
> Buda siyah beyaz izlemek için verdiğim komut ve aldığım konsol çıktısı.
> bknz:http://www.fuzzyscript.com/siyahbeyaz.png
> Siyah beyaz içinde gördüğünüz gibi koskoca konsoldan sadece çok az bir
> alanı kullanıyor
> Nette araştırdım am asorun tam olarak nedir anlayamadım.
> 2. ls@ls ~ $ mplayer -vo aa snopy.avi
> MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing snopy.avi.
> Detected file format: AVI format (libavformat)
> [lavf] stream 0: video (mpeg4), -vid 0
> [lavf] stream 1: audio (mp3), -aid 0
> VIDEO: [MP4V] 544x416 12bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
> Clip info:
> encoder: VirtualDubMod 1.5.4.1 (build 2178/release)
> Load subtitles in .
> VO: [aa] cannot open /dev/vcsa02 for writing,so we'll not use linux
> driver
> [ass] auto-open
>
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Asking decoder to use 4 threads if supported.
> Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
>
> ==========================================================================
>
> ==========================================================================
> Requested audio codec family [mpg123] (afm=mpg123) not available.
> Enable it at compilation.
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 16000->384000)
> Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3
> audio)
>
> ==========================================================================
> AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
> Starting playback...
> Movie-Aspect is 1.31:1 - prescaling to correct movie aspect.
> VO: [aa] 544x416 => 544x416 Planar YV12
> [swscaler @ 0x7f42025cf0e0]BICUBIC scaler, from yuv420p to gray using
> MMX2
>
> Important suboptions
> extended use use all 256 characters
> eight use eight bit ascii
> driver set recommended aalib driver (X11,curses,linux)
> help to see all options provided by aalib
>
> AA-MPlayer Keys
> 1 : contrast -
> 2 : contrast +
> 3 : brightness -
> 4 : brightness +
> 5 : fast rendering
> 6 : dithering
> 7 : invert image
> a : toggles between aa and mplayer control
>
> All other keys are MPlayer defaults.
> A: 18.6 V: 18.6 A-V: -0.000 ct: 0.000 0/ 0 0% 2% 0.3% 0 0
>
> Kolaylıklar Levent "SARI"
>
>
>
> _______________________________________________
> Linux-programlama mailing list
> [email protected]
> https://liste.linux.org.tr/mailman/listinfo/linux-programlama
> Liste kurallari: http://liste.linux.org.tr/kurallar.php
>
>
Şu şekilde yazdım ve çalıştı:
$ mplayer -vo caca Good.Bye.Lenin.2003.mkv
MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing Good.Bye.Lenin.2003.mkv.
libavformat version 53.21.1 (external)
Mismatching header version 53.19.0
libavformat file format detected.
[matroska,webm @ 0x7f55c5e41920]Estimating duration from bitrate, this may
be inaccurate
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang ger, AC3 5.1
VIDEO: [H264] 1908x1078 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in .
SUB: Added subtitle file (1): Good.Bye.Lenin.2003.srt
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.35.0 (external)
Mismatching header version 53.32.2
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
[swscaler @ 0x7f55c6096120]using unscaled yuv420p -> bgr24 special converter
VO: [caca] 1908x1078 => 1908x1078 BGR 24-bit
A: 5.8 V: 4.7 A-V: 1.120 ct: 0.044 0/ 0 38% 80% 0.7% 50 0
************************************************
**** Your system is too SLOW to play this! ****
************************************************
Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the
lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
A: 118.3 V: 100.0 A-V: 18.355 ct: 0.046 0/ 0 34% 81% 1.6% 2297 0
--
*Görünenler*, *gerçek olsaydı bilime* gerek kalmazdı.
_______________________________________________
Linux-programlama mailing list
[email protected]
https://liste.linux.org.tr/mailman/listinfo/linux-programlama
Liste kurallari: http://liste.linux.org.tr/kurallar.php