ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5713
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: VLC 3.0 with hardware acceleration

Fri Jan 25, 2019 8:50 am

cjan wrote:
Fri Jan 25, 2019 3:29 am
another dependency issue,
ffmpeg update to stretch version not rpt version, just like previous vlc-306 do.
Thanks. On it.

LTolledo
Posts: 1539
Joined: Sat Mar 17, 2018 7:29 am

Re: VLC 3.0 with hardware acceleration

Thu Jan 31, 2019 10:45 am

Just recently updated/upgraded my RPi3B+ (this unit am using to post to this forum)

After the update/upgrade (which included the update for VLC), I accidentally double clicked a 24-minute .mkv file.
....oh what the heck might as well try it... played in window mode.... while I browse the forum....

...then VLC stopped/closed (crashed?) after about 20 minutes......

....re-watched the .mkv file again in Kodi...and will probably continue to watch in Kodi..

...until the next VLC iteration......
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

geigercounter
Posts: 2
Joined: Wed Feb 20, 2019 12:00 am

Re: VLC 3.0 bugs

Wed Feb 20, 2019 12:07 am

gkreidl wrote:
Sun Nov 18, 2018 8:35 am
When using MMAL (overlay) output, the video size is not stretched to fill the screen. A 720p50 video will be displayed in the upper left side using the original size. And it looks even worse when you play SD video. This may not be called a "bug", but it really should be changed.
@gkreidl did you ever find a way to display the video occupying the entire screen with the mmal_vout (overlay) output? I need to play some 720p vidoes on my 1080p tv. Using the vlc zoom option (zoom=2) fills the height, but there is a big black band on the right. I'd like to show the black band equally on both left and right (which omxplayer does out of the box). Is there a way you are aware of to achieve that?

cjan
Posts: 721
Joined: Sun May 06, 2012 12:00 am

Re: VLC 3.0 with hardware acceleration

Wed Feb 20, 2019 3:20 am

vlc got updated, what improved?
test mmal_vout full screen, some can play some can not.

geigercounter
Posts: 2
Joined: Wed Feb 20, 2019 12:00 am

Re: VLC 3.0 with hardware acceleration

Wed Feb 20, 2019 6:28 pm

Thanks. I am using the latest VLC version on a headless RPi, with mmal_vout (--fullscreen does nothing). Still, the videos are shown at the original resolution in the top left corner, leaving most of the screen black.

grkblood13
Posts: 6
Joined: Sat Feb 16, 2019 2:11 pm

Re: VLC 3.0 with hardware acceleration

Fri Mar 01, 2019 12:31 am

Using @6by9's build instructions, VLC will not playback video. It only enters a "flickering" state where it appears that's it trying to do something and the timeline progresses, but no video is actually displayed. My test bed is a freshly built raspbian Stretch running on a RPI3B+.

For my build I performed the following:
1) uncommented sources in /etc/apt/sources.list
2) sudo apt update
3) sudo apt build-deps vlc
4) git clone https://github.com/RPi-Distro/vlc.git
5) cd vlc
6) ./bootstrap
7) ./configure --build=arm-linux-gnueabihf --prefix=/opt --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/arm-linux-gnueabihf --libexecdir=${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking --config-cache --disable-update-check --enable-fast-install --docdir=/usr/share/doc/vlc --with-binary-version=3.0.3-1-0+deb9u1+rpt1 --enable-a52 --enable-aa --enable-bluray --enable-avahi --enable-caca --enable-chromaprint --enable-chromecast --enable-dbus --enable-dca --enable-dvbpsi --enable-dvdnav --enable-faad --enable-flac --enable-fluidsynth --enable-freerdp --enable-freetype --enable-fribidi --enable-gles2 --enable-gnutls --enable-harfbuzz --enable-jack --enable-kate --enable-libass --enable-libmpeg2 --enable-libxml2 --enable-lirc --enable-live555 --enable-mad --enable-matroska --enable-mod --enable-mpc --enable-mpg123 --enable-mtp --enable-ncurses --enable-notify --enable-ogg --enable-opus --enable-pulse --enable-qt --enable-realrtsp --enable-samplerate --enable-sdl-image --enable-sftp --enable-shine --enable-shout --enable-skins2 --enable-sndio --enable-soxr --enable-speex --enable-svg --enable-svgdec --enable-taglib --enable-theora --enable-twolame --enable-upnp --enable-vdpau --enable-vnc --enable-vorbis --enable-x264 --enable-x265 --enable-zvbi --with-kde-solid=/usr/share/solid/actions/ --disable-aribsub --disable-d3d11va --disable-decklink --disable-directx --disable-dsm --disable-dxva2 --disable-fdkaac --disable-fluidlite --disable-goom --disable-gst-decode --disable-libplacebo --disable-libtar --disable-macosx --disable-macosx-avfoundation --disable-macosx-qtkit --disable-mfx --disable-opencv --disable-projectm --disable-schroedinger --disable-sparkle --disable-srt --disable-telx --disable-vpx --disable-vsxu --disable-wasapi --enable-alsa --enable-dc1394 --enable-dv1394 --enable-linsys --enable-nfs --enable-omxil --enable-udev --enable-v4l2 --disable-wayland --enable-libva --enable-vcd --enable-smbclient --disable-oss --disable-crystalhd --disable-mmx --disable-sse --enable-neon --enable-mmal --disable-altivec
8) make -j3
9) sudo make install
10) /opt/bin/vlc
* browsed to Tools > Preferences > Video > Display Output
* selected "MMAL-based vout plugin for Raspberry Pi"
* selected SAVE and closed player
11) Downloaded "I Am Legend" movie trailer and extracted to ~/Videos/I_Am_Legend.mp4
* source link: https://dvdloc8.com/clip.php?movieid=13599&clipid=4
12) /opt/bin/vlc -vvv /home/pi/Videos/I_Am_Legend.mp4 2>/tmp/out

The following is the generated error log:

https://gist.github.com/grkblood13/47dc ... 9f786e9681

cjan
Posts: 721
Joined: Sun May 06, 2012 12:00 am

Re: VLC 3.0 with hardware acceleration

Fri Mar 01, 2019 1:55 am

* selected "MMAL-based vout plugin for Raspberry Pi"
no one said this will work.

grkblood13
Posts: 6
Joined: Sat Feb 16, 2019 2:11 pm

Re: VLC 3.0 with hardware acceleration

Fri Mar 01, 2019 3:32 am

cjan wrote:
Fri Mar 01, 2019 1:55 am
* selected "MMAL-based vout plugin for Raspberry Pi"
no one said this will work.
No display output works, including "automatic". They all either do the same thing or crash completely.

The only way I am able to get video to play is if I disable hardware decoding from the terminal with vlc --codec="avcodec,none"

This however doesn't playback video in a speed that is watchable at all.

cjan
Posts: 721
Joined: Sun May 06, 2012 12:00 am

Re: VLC 3.0 with hardware acceleration

Fri Mar 01, 2019 5:34 am

why not mmal splitter vout?

grkblood13
Posts: 6
Joined: Sat Feb 16, 2019 2:11 pm

Re: VLC 3.0 with hardware acceleration

Fri Mar 01, 2019 3:58 pm

cjan wrote:
Fri Mar 01, 2019 5:34 am
why not mmal splitter vout?
This was not an option in the VLC interface compiled from the steps I listed. I also tried backing up the the latest 3.0.3 branch from rpi-distro, which didn't have that option either.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5713
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: VLC 3.0 with hardware acceleration

Fri Mar 01, 2019 4:29 pm

Just cloning the repo isn't enough. It's a debian package, so the patch is applied as a part of the debian build process. Otherwise, it's just a vanilla build of upstream VLC. If you want to do it manually, look in ./debian/patches

cjan
Posts: 721
Joined: Sun May 06, 2012 12:00 am

Re: VLC 3.0 with hardware acceleration

Wed Mar 13, 2019 11:44 am

try to enable omxil vout and work :D

cjan
Posts: 721
Joined: Sun May 06, 2012 12:00 am

Re: VLC 3.0 with hardware acceleration

Thu May 23, 2019 10:53 pm

ShiftPlusOne wrote:
Fri Jan 25, 2019 8:50 am
cjan wrote:
Fri Jan 25, 2019 3:29 am
another dependency issue,
ffmpeg update to stretch version not rpt version, just like previous vlc-306 do.
Thanks. On it.
update to 3.2.14, debian version over raspbian again.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6895
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: VLC 3.0 with hardware acceleration

Fri May 24, 2019 1:49 pm

cjan wrote:
Thu May 23, 2019 10:53 pm
ShiftPlusOne wrote:
Fri Jan 25, 2019 8:50 am
cjan wrote:
Fri Jan 25, 2019 3:29 am
another dependency issue,
ffmpeg update to stretch version not rpt version, just like previous vlc-306 do.
Thanks. On it.
update to 3.2.14, debian version over raspbian again.
I can't reproduce that.

Code: Select all

[email protected]rrypi:~ $ apt-cache policy vlc
vlc:
  Installed: 3.0.6-0+rpt4+deb9u1
  Candidate: 3.0.6-0+rpt4+deb9u1
  Version table:
 *** 3.0.6-0+rpt4+deb9u1 500
        500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
        100 /var/lib/dpkg/status
     3.0.6-0+deb9u1 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
Upstream Stretch doesn't list it either https://packages.debian.org/stretch/vlc (same for Buster and Sid too).
So I don't know where you've got a 3.2.14 from. Please post the output from "apt-cache policy vlc".
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

cjan
Posts: 721
Joined: Sun May 06, 2012 12:00 am

Re: VLC 3.0 with hardware acceleration

Fri May 24, 2019 11:05 pm

@6by9
we are talk about ffmpeg, sorry.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5713
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: VLC 3.0 with hardware acceleration

Fri May 24, 2019 11:33 pm

Ah, I saw VLC when I looked at it as well. Will update when I get a chance.

Return to “Raspbian”