Thanks: 4
Results 1 to 8 of 8
-
Guide: How to playback video files?
There are always new (or less experienced) computer users, so I'll put up this guide for them. Maybe, on one day, it'll be a sticky ...
1. The theory (If you are a total newbie for this site or to video files, please read the site FAQ.)
First, please read this article about computer movie files.
To summarize that article, movie files are containers (eg. mpg,avi,mov,mp4,mkv) (read more about them here) which can hold video stream (eg. mpeg2,xvid,h264,sorenson3) (read more about them here) and audio stream (eg. ac3,mp3,aac,qdesign) (read more about them here).
To be able to play a file, a player needs:
- a splitter for the container to recognise and seperate the different streams and send them to the appropriate decoders
- a codec for the video stream
- a codec for the audio stream
These 3 components are built-in in an all-in-one player, and can be internal or external components of a directshow player (see below these categories).
To playback movie files on Windows you have 3 options:
- if a codec has an own player (like Real Codecs and Qiucktime) you can use that (these player are freely available, at least the limited versions)
- go for an all-in-one player, like MPlayer, VLC (and of course there are others, but these two are opensource and crossplatform players (MAC OSX too )), which can play all the files (and codecs in it) that it support
- or go for a directshow player, like MPC, TCMP, ZoomPlayer, Bsplayer (and of course there are others), (personally, I prefer MPC, but it's just a matter of taste, until you want play old mov files), which can play all the files which one's directshow splitters and codecs are installed on the operating system. We'll explore this category.
The DirectShow chain
A classical ds player is "only a GUI" which uses the installed splitters and codecs (of course the advanced players can contains built-in ones, like MPC do). When a file is opened, a directshow chain has created. Let's take a look at this:
Code:---> video codec ---> video filters (if any) ---> video renderer | movie-file --> splitter | ---> audio codec ---> audio filters (if any) ---> audio renderer
The order in the chain (the naming is not random ) is important. eg. the later one try to connect to the previous one if it can.
In MPC you can see this builted chain in "Play menu -> Filters".
If you install a splitter/codec/filter for a specific task, the latest installed component will work (of course if a previously installed component has a configuration surface, you can "re-register" it, so this will be working component.)
If the ds player has built-in component for the same task as an external one, these external filters are only working, if the built-in is switched off.
So with this knowledge, you can specify that which splitter, which codecs, and which filters are being used for a specific file!
2. The practice (We will use MPC, but the other ds players are good too.)
- download:
-MPC (there are downloadable multilanguage help files too), and extract to some dir- in "View -> Option -> Formats" press the video button: it registers all the video filetypes to MPC (if you double-click one of them in a file manager, MPC will open it)
- if you want to use the QuickTime engine and don't want to install the QuickTime player, download QuickTime Alternative (it also includes MPC)
- ffdshow (it's basically a ds codecs and filters collection): it has ds decoders for aac,mp3,ac3,h264,xvid,divx,sorenson3 etc.
After it installed, set these to liba* codecs in it: (audio: aac,mp3,ac3,dts,amr,flac,qdm2; video:h263,h264,svq1,svq3,ffv1,flv1,qtrle)
And here is one thing that will be important for us: 1 engine is assigned to each file extension group (at theirs right). See "Quicktime file" group and see that the default engine is QuickTime. Here you can change the renderer to directshow (and back to QuickTime) if you want. Set this to Directshow.
- "View -> Option -> Output": here you can specify the video and the audio renderer (look back to the upper directshow chain diagram if you don't know what it is).
- At the "DirectShow" part it can stay at "Overlay Mixer".- "View -> Option -> Internal filters": here you can see the built-in splitters (Source filters) and codecs (Transform Filters), and here you can disable one if you want by uncheck it.
- At the "QuickTime video" part set to "DirectX 7". This section specifies which renderer should be used if QuickTime engine is selected within the "Formats"
What is important for us is the "MP4/MOV" splitter: this is the best directshow mov splitter available (but it's not perfect: some files will not play, or have no audio. In this case change back to QuickTime engine.)
- "View -> Option -> Internal filters": here you can add any external video or audio filter in the ds chain (which will be always loaded). Remember: the order is important. The upper is the 1st in the chain and so on...
3. Examples
- playing mov files:
- 1. in mpc set DirectShow engine in "Formats"
- 2. ensure that the built-in MP4/MOV splitter is enabled
(see if ffdshow tray icon is displayed after the playback is started)
If a mov file isn't playable in this scenario (very rare), set the engine back to QuickTime. (it takes about 10 second)
That's for now. I hope that it's useful to somebody and I have spent almost 2 hours with this article not for nothing ...
Of course, any feedback is welcomed !
-
How to playback video files on Mac?
It's basically a placeholder for now, because I haven't used a Mac.
But till then, when some mac users will post the results:
try the above mentioned mplayer and VLC player!
VLC looks promising, since it has multichannel and S/PDIF output!Last edited by chros; 09-18-2006 at 03:31 AM.
-
Sample files
Here are 2 sample mp4 files and 1 mkv (which is the same as the corresponding mp4) to verify their playability on Mac and on Windows (but I know it works on Windows with MPC, mplayer, vlcplayer ... ).
I made anamorphic encoding, so the resolution of these files are the same as on the DVD!
These encodes are created with the best settings of x264 codec in quality mode (no max. bitrate or max filesize limitation was applied) (so QuickTime player will not play these). Audio is aac (bitrate VBR 160 kbps ...)
SDAR: the Source Display Aspect Ratio
DAR: Display Aspect Ratio
The letters means in the filename:
x : x264 codec
a : anamorphic
syriana-tlr_x704a-pds.mp4 and syriana-tlr_x704a-pds.mkv
23MB, 704x352, SDAR: 16:9, DAR: 47:20
alien_resurrection-tsr_x704a-pds.mp4
18MB, 704x368, SDAR: 4:3, DAR: 16:9Last edited by chros; 10-19-2006 at 03:01 PM.
-
Question:
What is the best way to play this silly FLV-files? I try MPC v6.4.9.0 rev 611 and Riva Player. Some movies works and some not. I used Win98. Thanks.
-
Is there any direct link to the problematic flv file(s)?
FLV is an another container.
MPC has a built-in FLV4 decoder, and ffdshow has an FLV1 decoder, so if the flv file contains these it can be decoded. If don't, try a standalone Flasplayer, maybe it playback them...
In MPC you can view which codecs the container contains, in:
File -> Properties -> Details ... (if the splitter recognise them)
eg. FLV Player 1.3.3 http://www.martijndevisser.com/blog/...player-updated
download: http://www.download.com/FLV-Player/3...-10467082.html
It can playback On2 VP6 encoded FLV files ..."How to playback movie, trailer files?"
Short answer: on Windows use MPC and ffdshow, on Mac try VLC or MPlayer.
Long answer: see this topic.
-
http://www.axe.de/smgm/download/smgm_60_hi.flv
I hear the sound, but I see nothing.
A tip for a good one?
-
It works for me ...
Aha: you're probably using the latest official build, which is on sf.net (6.4.9.0)
In this case, see this post:
http://www.movie-list.com/forum/show...755#post127755
I can play with FLVPlayer 1.3.3 too ...
-
Thanks. I will try both new player version.
Similar Threads
-
MPC - Media Player Classic
By ZUBi in forum General Chatter - Non-Movie RelatedReplies: 70Last Post: 09-15-2006, 04:51 PM -
Video encoding position with Buena Vista/Disney Burbank
By amr.ramadan in forum General Chatter - Movie RelatedReplies: 5Last Post: 06-20-2004, 10:52 AM -
video stutter on playback
By laracroft8290 in forum Technical ProblemsReplies: 9Last Post: 04-10-2003, 12:38 PM
Bookmarks