[SOLVED] Smplayer sometimes "display" audio rather than video
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.
Smplayer sometimes "display" audio rather than video
First off: I have done a websearch to no avail. I have also searched on linuxquestions.org, also, to no avail.
SOME of my videos, only of MKV, do not display them as video, only as audio, when using Smplayer (currently using version 14.9.0~ds0-1) (on Debian Stable (version 8.7))
They play as normal using VLC, but I would rather use Smplayer.
Why cannot I use Smplayer on all MKV videos?
It is not a major problem, more of a minor irritation. Does anyone have any advice?
please have a look at the backend smplayer is using, then do some troubleshooting with the backend only. can you reproduce the problem?
in any case you should get useful terminal output.
also, more information on which files work as expected and which don't.
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Terminal type `unknown' is not defined.
Playing /home/kevin/Desktop/Farscape/Farscape Season 1/Farscape S01E02 Exodus from Genesis (1080p x265 Joy).mkv.
Cache size set to 2048 KiB
Cache fill: 0.00% (0 bytes)
[mkv] Unknown/unsupported CodecID (V_MPEGH/ISO/HEVC) or missing/bad CodecPrivate
[mkv] data (track 1).
[mkv] Track ID 1: video (V_MPEGH/ISO/HEVC), -vid 0
ID_AUDIO_ID=0
ID_AID_0_NAME=Surround
ID_AID_0_LANG=und
[mkv] Track ID 2: audio (A_AAC) "Surround", -aid 0, -alang und
ID_SUBTITLE_ID=0
ID_SID_0_LANG=fre
[mkv] Track ID 3: subtitles (S_TEXT/ASS), -sid 0, -slang fre
ID_SUBTITLE_ID=1
ID_SID_1_LANG=eng
[mkv] Track ID 4: subtitles (S_TEXT/ASS), -sid 1, -slang eng
[mkv] No video track found/wanted.
Detected file format: Matroska
Clip info:
CREATION_TIME:
ID_CLIP_INFO_NAME0=CREATION_TIME
ID_CLIP_INFO_VALUE0=
ENCODER: Lavf55.12.0
ID_CLIP_INFO_NAME1=ENCODER
ID_CLIP_INFO_VALUE1=Lavf55.12.0
ID_CLIP_INFO_N=2
Load subtitles in /home/kevin/Desktop/Farscape/Farscape Season 1/
ID_FILENAME=/home/kevin/Desktop/Farscape/Farscape Season 1/Farscape S01E02 Exodus from Genesis (1080p x265 Joy).mkv
ID_DEMUXER=mkv
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=24000
ID_AUDIO_NCH=6
ID_START_TIME=0.00
ID_LENGTH=3010.11
ID_SEEKABLE=1
ID_CHAPTERS=0
Selected audio codec: AAC (Advanced Audio Coding) [libavcodec]
AUDIO: 48000 Hz, 6 ch, floatle, 128.0 kbit/1.39% (ratio: 16000->1152000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=ffaac
[Mixer] No hardware mixing, inserting volume filter.
Video: no video
Starting playback...
// end =====================================================================================
Unfortunately, I cannot interpret much of these logs.
BUT it seems to me that some MKV files run under different codecs than others. IF that is the case, how can I re-"compile" the "bad" files to "good" files?
Script started on Sun 26 Feb 2017 08:04:30 AM CST
]0;kevin@Shatner: ~kevin@Shatner:~$ mplayer /home/VDO/Equilibrium.2002.720p.BrRip.x264.YIFY.mkv
[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Ckevin/Desktop/Farscape/Farscape\ Season\ 1/Farscap
pe\ S01E02\ Exodus\ from\ Genesis\ \(1080p\ x265\ Joy\).mkv
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Cannot open file '/home/kevin/.mplayer/input.conf': No such file or directory
Failed to open /home/kevin/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.
Playing /home/kevin/Desktop/Farscape/Farscape Season 1/Farscape S01E02 Exodus from Genesis (1080p x265 Joy).mkv.
[mkv] Unknown/unsupported CodecID (V_MPEGH/ISO/HEVC) or missing/bad CodecPrivate
[mkv] data (track 1).
[mkv] Track ID 1: video (V_MPEGH/ISO/HEVC), -vid 0
[mkv] Track ID 2: audio (A_AAC) "Surround", -aid 0, -alang und
[mkv] Track ID 3: subtitles (S_TEXT/ASS), -sid 0, -slang fre
[mkv] Track ID 4: subtitles (S_TEXT/ASS), -sid 1, -slang eng
[mkv] No video track found/wanted.
Detected file format: Matroska
Clip info:
CREATION_TIME:
ENCODER: Lavf55.12.0
Load subtitles in /home/kevin/Desktop/Farscape/Farscape Season 1/
Selected audio codec: AAC (Advanced Audio Coding) [libavcodec]
AUDIO: 48000 Hz, 6 ch, floatle, 128.0 kbit/1.39% (ratio: 16000->1152000)
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A: -0.0 (unknown) of 3010.1 (50:10.1) 2.0% [K
A: 0.0 (00.0) of 3010.1 (50:10.1) 1.9% [K
[K[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Cannot open file '/home/kevin/.mplayer/input.conf': No such file or directory
Failed to open /home/kevin/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.
Playing /home/VDO/Equilibrium.2002.720p.BrRip.x264.YIFY.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Equilibrium - YIFY", -vid 0
[mkv] Track ID 2: audio (A_AAC) "Equilibrium - YIFY", -aid 0, -alang und
[mkv] Track ID 3: subtitles (S_TEXT/UTF8) "Equilibrium - YIFY", -sid 0, -slang eng
[mkv] Will play video track 1.
Detected file format: Matroska
Load subtitles in /home/VDO/
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [libavcodec]
Selected audio codec: AAC (Advanced Audio Coding) [libavcodec]
AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 16000->384000)
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
VIDEO: 1280x544 23.976 fps 0.0 kbps ( 0.0 kB/s)
VO: [vdpau] 1280x544 => 1280x544 Planar YV12
[vdpau] Compositing window manager detected. Assuming timing info is inaccurate.
A: -0.0 V: 0.0 A-V: -0.001 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0 [K
A: 0.0 V: 0.0 A-V: 0.000 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0 [K
[mkv] Unknown/unsupported CodecID (V_MPEGH/ISO/HEVC) or missing/bad CodecPrivate
The "Good" file you are using is an h.264/AVC file.
The "Bad" file you are using is an h.265/HEVC file.
The smplayer backend you are trying to use (mplayer2) is not built with h.265/HEVC support. In fact, mplayer2 is basically a dead end. Install/use mpv as the backend if possible. smplayer added support for mpv backend a couple of years ago, but I have no idea if that version made it into Debian 8 or not.
I installed "mpv" but I cannot get smplayer to use it as a backend for smplayer.
I used handbrake (aka "ghb") to read a "bad" mkv file, and write a "good" mkv file, such that it displays it as a video.
BUT, it uses a butt-load of processor power, a bunch of time, and the end file size is approximately 150% of the original file. At this rate, it would take a better part of a day to process a single season.
PS: I have an 8-core processor, and 16 gigabytes of memory, so my computer is, in no way, under powered.
If I find no solution, I guess I may have to "suck it up" and start using VLC as my video client.
as it was already mentioned, it is a codec related problem. VLC is able to play/recognize your video, the other player could not handle that codec.
Probably handbrake can convert the video for you, I have no idea about that. Usually conversion needs a lot of resources, file size highly depends on the compression ratio of the codec you use, so in general 150% can be acceptable too.
Before my stroke, I had used a mix of testing/unstable version of Debian. But after the stroke, I had messed up my system and had to do a reinstall, and I switched to Stable. So, I will, CAREFULLY, install the appropriate newer version.
Thank you for your help in this matter,
and have a good day!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.