bapun
January 17, 2016, 8:58am
1
Hi guys ,
I followed http://opensuse-guide.org/codecs.php guide to install multimedia codes on my opensuse leap.
After install i can play most of the files but some specific .flv files don’t play . Those files are playing fine in debian when i tested.
I am using vlc, smplayer , and dragonplayer.
/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --hwdec=no --sub-auto=fuzzy --vo=xv --ao=pulse, --no-input-default-bindings --input-x11-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=109051921 --monitorpixelaspect=1 --osd-scale=1 --sub-ass --embeddedfonts --ass-line-spacing=0 --sub-scale=1 --sub-text-font=Arial --sub-text-color=#ffffff --sub-text-shadow-color=#000000 --sub-text-border-color=#000000 --sub-text-border-size=2.5 --sub-text-shadow-offset=5 --sub-codepage=utf8:ISO-8859-1 --sub-pos=100 --volume=55 --cache=2048 --osd-level=0 --screenshot-directory=/home/mrutyunjaya/Pictures/smplayer_screenshots --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --audio-channels=2 --af-add=scaletempo --af-add=equalizer=0:0:0:0:0:0:0:0:0:0 --softvol=yes --softvol-max=110 --ytdl=no --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-aspect}
INFO_VIDEO_FPS=${=fps}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_AUDIO_FORMAT=${=audio-codec-name:${=audio-format}}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate:${=audio-samplerate}}
INFO_AUDIO_NCH=${=audio-params/channel-count:${=audio-channels}}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=demuxer}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
--term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} /home/mrutyunjaya/Downloads/1.flv
Playing: /home/mrutyunjaya/Downloads/1.flv
Failed to recognize file format.
Exiting... (Errors when loading file)
This is the error smplayer is giving to me.
Please help.
Regards
Bapun
I_A
January 17, 2016, 2:00pm
2
the generic multimedia answer/question is
do you have packman, did you do a vendor change to packman?
post your repo list
zypper lr -d
bapun
January 17, 2016, 3:07pm
3
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------+--------
1 | dvd | dvd | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/ |
2 | games | games | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_Leap_42.1/ |
3 | google-chrome | google-chrome | Yes | (r ) Yes | Yes | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
4 | http-download.opensuse.org-925e0e70 | multimedia:libs | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Leap_42.1/ |
5 | http-download.opensuse.org-9bf2b65d | multimedia:apps | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_Leap_42.1/ |
6 | http-download.opensuse.org-d0bf2ac8 | KDE:Extra | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_42.1/ |
7 | openSUSE-42.1-0 | openSUSE-42.1-0 | No | ---- | Yes | 99 | yast2 | hd:///?device=/dev/disk/by-id/scsi-0JetFlash_Transcend_8GB_058F-part2 |
8 | packman | packman | Yes | ( p) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.1/ |
9 | repo-debug | openSUSE-Leap-42.1-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/ |
10 | repo-debug-non-oss | openSUSE-Leap-42.1-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |
11 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/oss |
12 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/non-oss/ |
13 | repo-non-oss | openSUSE-Leap-42.1-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
14 | repo-oss | openSUSE-Leap-42.1-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/oss/ |
15 | repo-source | openSUSE-Leap-42.1-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/ |
16 | repo-update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/ |
17 | repo-update-non-oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/ |
This is the output of
zypper lr -d
I_A
January 17, 2016, 3:31pm
4
repo’s #4 and #5 are a bit flake as they don’t contain any restricted (patented) codecs they’re crippled and are meant for development not for end users, repo #1 is not needed after initial install of libdvdcss2, repo #13 should be enabled as it carries gstreamer-fluendo-mp3 the legal mp3 decoder that SUSE has payed for us, it looks like you followed the guide at http://opensuse-guide.org/codecs.php that one has a few errors so do this
enable #13 , do a dup with packman #8 , install if you’ve removed phonon-backend-gstreamer phonon4qt5-backend-gstreamer and remove phonon-backend-vlc phonon4qt5-backend-vlc
you can do copy/paste with the text below
zypper mr -e 13
zypper in gstreamer-fluendo-mp3 libdvdcss2 phonon-backend-gstreamer phonon4qt5-backend-gstreamer
zypper rm phonon-backend-vlc phonon4qt5-backend-vlc
zypper dup --from 8
zypper rr 1 4 5
that should make all multimedia work and clean things up a bit.
ps you do not need to run the last command (zypper rr 1 4 5) but it is recommended you remove repo’s #4 and #5 as those will brake multimedia and #1 is useless after initial install as it only has 1 package that never changes.
bapun
January 17, 2016, 5:07pm
5
I_A:
repo’s #4 and #5 are a bit flake as they don’t contain any restricted (patented) codecs they’re crippled and are meant for development not for end users, repo #1 is not needed after initial install of libdvdcss2, repo #13 should be enabled as it carries gstreamer-fluendo-mp3 the legal mp3 decoder that SUSE has payed for us, it looks like you followed the guide at 13. Multimedia Codecs - Install Support for restricted codecs including MP3, DVD, WMA, WMV, MOV etc. that one has a few errors so do this
enable #13 , do a dup with packman #8 , install if you’ve removed phonon-backend-gstreamer phonon4qt5-backend-gstreamer and remove phonon-backend-vlc phonon4qt5-backend-vlc
you can do copy/paste with the text below
zypper mr -e 13
zypper in gstreamer-fluendo-mp3 libdvdcss2 phonon-backend-gstreamer phonon4qt5-backend-gstreamer
zypper rm phonon-backend-vlc phonon4qt5-backend-vlc
zypper dup --from 8
zypper rr 1 4 5
that should make all multimedia work and clean things up a bit.
ps you do not need to run the last command (zypper rr 1 4 5) but it is recommended you remove repo’s #4 and #5 as those will brake multimedia and #1 is useless after initial install as it only has 1 package that never changes.
Thank you sir for your replay. After upgrading all installed packages to packman repo all media files are working correctly now . It seems the guide i followed had some mistakes , can u please give me a link to a correct guide of how to setup multimedia so i can use that in further installs.
Thanks for your help
I_A
January 17, 2016, 6:25pm
6
the correct guide is experience, just give it time, this thread is an OK guide, basicly all you need is packman so if multimedia fails do a full vendor switch to packman
https://en.opensuse.org/SDB:Vendor_change_update#Using_zypper_2
there is also a pinned thread here at the top of the multimedia forum page
https://forums.opensuse.org/showthread.php/452884-Multimedia-in-One-Click
but personally I don’t like the 1 click multimedia as you end up forgetting to do a full vendor change with packman and some things end-up not working
bapun
January 17, 2016, 7:12pm
7
Thanks for your replay, I should have read the man pages and other documentations before asking help, But thanks for your help i can solve the problem in future.
Thanks again for helping me out.
I_A
January 17, 2016, 7:59pm
8
if you don’t understand something ask.
Wwhen I first started using opensuse I preferred using the gui yast, then with time I found the command line zypper more to my liking, as I said it takes time.