Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i tried using mencoder to encode some files using lavc (mpeg4). I followed the mmplayer man pages and documentation, and produced xvid files that were playable by mplayer, but no other player. Xine, totem, and no Windows media players could recognize it.
I later experimented, and found the problem was that I didn't include the option -ffourcc XVID (-ffourcc dvix also works). That seemed to fix everything.
I have a number of questions:
1. If that option is so important, why is it not featured or even included in the mplayer documentation?
2. what does ffourcc do? Does it produce some sort of label or tag for video players to identify?
3. what ffourcc label do i give to mpeg1 and mpeg2 video files?
-ffourcc <fourcc>
Can be used to override the video fourcc of the output file.
EXAMPLE:
-ffourcc div3
will have the output file contain 'div3' as video fourcc.
The problem you have is odd. I have made divx files that are playable in mplayer, xine, totem, kaboodle, etc. I haven't tried wmp, though. Perhaps you could list the full command you use?
I kept things simple just to ge things to work, but i consistently ran into problems. only mplayer could play the files.
I also noticed in Gnome that the nautilus file manager, which usually shows a preview snapshot of video files, did not show such a preview for my mencoded files.
In any case, this is just a gripe by me. The problem seems to be solved by expressly setting ffourcc.
The above (if I remembered the command exactly) produces files playable in other linux media players. The main difference from yours is that I explicity set the video and audio bit rates.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.