Video playback issue and drivers

Post Reply
whoiswho
Posts: 1
Joined: Wed May 22, 2019 8:12 pm
languages_spoken: english, swedish
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Video playback issue and drivers

Unread post by whoiswho » Sun Jul 14, 2019 6:06 pm

Hi,

I purchased my N2 on launch and have been very happy with it so far, working nicely as a dedicated server/NAS/web server/etc. However I've had a few issues, first of all getting video playback to work.

My setup is based on the Ubuntu Minimal 20190329 image (installed on a uSD card) and after the usual system update I installed ubuntu-mate-core. The DE works fine and I'm getting a proper 1080p signal outputted to the display (TV). Attempting to play a video file with c2play, I get the following output:

Code: Select all

added device: /dev/input/event1
added device: /dev/input/mouse0
added device: /dev/input/event0
added device: /dev/input/mice
Device: /dev/input/event1
	bustype=3, vendor=1133, product=16461, version=273
	name=Logitech K400 Plus
InputDevice entering running state.
Device: /dev/input/mouse0
device open failed. (/dev/input/mouse0)
Device: /dev/input/event0
	bustype=16, vendor=7054, product=3308, version=1
	name=cec_input
InputDevice entering running state.
Device: /dev/input/mice
device open failed. (/dev/input/mice)
Using input device: Logitech K400 Plus
Using input device: cec_input
Could not open /dev/tty0
FBIOGET_FSCREENINFO failed.
terminate called after throwing an instance of 'Exception'
Aborted (core dumped)
I've tested with multiple different video files and formats, also tested with kplayer and although it doesn't crash per se, it does not output video/audio so I presume it just decodes.

I'm assuming this is an issue with drivers or config. How should I proceed to get this working?

Another issue is that apt seems to want to remove lighttpd on system update since a couple of months, which puts me off updating. I'm assuming packages are set to be removed if the system does not recognise them as being used at all, but why would it think lighttpd is not used when it's running service(s) etc. (as mentioned, using the N2 as a web server)?

/whoiswho

User avatar
mad_ady
Posts: 6178
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 123 times
Been thanked: 89 times
Contact:

Re: Video playback issue and drivers

Unread post by mad_ady » Sun Jul 14, 2019 8:52 pm

Most likely lighthttpd was installed as a dependency of something else (which was uninstalled in the mean time). You need to try to install it manually (sudo apt-get install lighthttpd) to show the system you want to keep it around.

crashoverride
Posts: 4471
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 52 times
Contact:

Re: Video playback issue and drivers

Unread post by crashoverride » Sun Jul 14, 2019 10:49 pm

whoiswho wrote:
Sun Jul 14, 2019 6:06 pm
Attempting to play a video file with c2play, I get the following output:
Either use 'sudo' or add the user to the "video", "audio", and "input" groups. Permissions/groups may also need to be set for the video codecs. c2play is not supported with a desktop on N2.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests