Solution to the problem that the video file cannot be opened by mplayer in Ubuntu7.10

Source: Internet
Author: User
The mplayer is updated in Ubuntu7.10, and the error message "failedtoopenfile: // path" is returned when the video file cannot be opened. after MPlayer is updated in rmvbGNOME, it is found that the audio and video files cannot be played by directly clicking or right-clicking the menu in the file browser. The following error is reported: "Failedtoopenfile: /// home/yours/% E4 % B8 % AD % E6 % 96% 87. avi ". Through MPla

The mplayer is updated in Ubuntu7.10 and the video file cannot be opened.
Error message: failed to open file: // path. rmvb

After updating the MPlayer in GNOME, I found that the audio and video files cannot be played by directly clicking or right-clicking the menu in the file browser. The following error is reported: "Failed to open file: /// home/yours/% E4 % B8 % AD % E6 % 96% 87. avi ". You can Open the audio and video files and play the files correctly using MPlayer's menu option Open.

Later I found a bug when opening the URL path, which does not support Chinese (it is estimated that it includes other Unicode ).

Solution:
Edit mplayer. desktop

Console
$ Sudo vim/usr/share/applications/mplayer. desktop
Or ($ sudo gedit/usr/share/applications/mplayer. desktop)
Find this sentence
Exec = gmplayer % U
Modify
Exec = gmplayer % f or remove % U
Save and exit

In this way, in the file browser, the file path parameter sent to the mplayer command is modified to the local physical path instead of the URL path. If other programs have similar problems, you can refer to such a solution.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.