20:33:16 Wed 29 [~] elfreak : pts/6 on machine $ yt "http://www.youtube.com/watch?v=1ZvCqslpp6M" MPlayer SVN-r31774-4.5.0 (C) 2000-2010 MPlayer Team 158 audio & 340 video codecs Playing http://www.youtube.com/get_video?video_id=1ZvCqslpp6M&t=vjVQa1PpcFOoqGwpVRIy9cfN57JrQuZ8rvLNfyXM5lQ=&eurl=&el=&ps=&asv=&fmt=22. Resolving www.youtube.com for AF_INET6... Couldn't resolve name for AF_INET6: www.youtube.com Resolving www.youtube.com for AF_INET... Connecting to server www.youtube.com[74.125.77.190]: 80... Resolving v17.lscache8.c.youtube.com for AF_INET6... Couldn't resolve name for AF_INET6: v17.lscache8.c.youtube.com Resolving v17.lscache8.c.youtube.com for AF_INET... Connecting to server v17.lscache8.c.youtube.com[74.125.8.82]: 80... Resolving r17.ams04s02.c.youtube.com for AF_INET6... Couldn't resolve name for AF_INET6: r17.ams04s02.c.youtube.com Resolving r17.ams04s02.c.youtube.com for AF_INET... Connecting to server r17.ams04s02.c.youtube.com[74.125.8.96]: 80... Cache size set to 320 KBytes Cache fill: 0.00% (0 bytes) libavformat file format detected. [lavf] stream 0: audio (aac), -aid 0, -alang und [lavf] stream 1: video (h264), -vid 0 VIDEO: [H264] 1280x720 24bpp 29.917 fps 1105.0 kbps (134.9 kbyte/s) Clip info: major_brand: mp42 minor_version: 0 compatible_brands: isomavc1mp42 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) AUDIO: 44100 Hz, 2 ch, s16le, 125.6 kbit/8.90% (ratio: 15697->176400) Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [xv] 1280x720 => 1280x720 Planar YV12 [fs] [ASPECT] Warning: No suitable new res found! [ASPECT] Warning: No suitable new res found! Exiting... (Quit)
Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?
You must be signed in to comment.
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for:
yt "http://www.youtube.com/watch?v=1ZvCqslpp6M"
(The quotation signs are needed because zsh interprets the '?' as a special character)