libvlc

Playback video in slow motion in android

爱⌒轻易说出口 提交于 2020-01-10 14:58:09
问题 - I am working on a project which needs to play video in slow motion. - I am well aware that Android doesn't provide these functionality. - I found PVPlayer Engine and libVLC which possessed these capabilities, but i didn't found any tutorial or proper documentation of including them in the android project and using them. - So i tried doing this by using Runnable and Handler , it was successful in slowing down the video but they possessed jerks during playing. public class MainActivity

VLC.DotNet Control Hosted in WPF

对着背影说爱祢 提交于 2020-01-07 06:26:38
问题 I have hosted the VLC.DotNet windows Control in a WindowsFormsHost element, inside a WPF window. The reason behind doing this, instead of using Vlc.DotNet WPF control is because the performance of the WinForms version is twice better than the WPF version. Anyway, everything works fine, except for one annoying detail; When using the WinForms version inside a WinForms App , the rendered video will exactly fit the control ; However, using the same control inside a WindowsFormsHost element,

VLC.DotNet Control Hosted in WPF

孤街醉人 提交于 2020-01-07 06:26:09
问题 I have hosted the VLC.DotNet windows Control in a WindowsFormsHost element, inside a WPF window. The reason behind doing this, instead of using Vlc.DotNet WPF control is because the performance of the WinForms version is twice better than the WPF version. Anyway, everything works fine, except for one annoying detail; When using the WinForms version inside a WinForms App , the rendered video will exactly fit the control ; However, using the same control inside a WindowsFormsHost element,

libvlc_media_player_set_hwnd doesn't work with QWidget Handle

假装没事ソ 提交于 2020-01-05 08:32:30
问题 I am using Qt4.8 Windows version to develope an application to stream video using libvlc 2.2.1. When I use libvlc_media_player_set_hwnd() to render the video on my QWidget, its rather creating a separate window to display the video. libvlc_media_player_set_hwnd(m_player, (void*)videoWidget->winId()); I have tried all versions of libvlc and all the examples related to libvlc with Qt. Also followed the steps given in https://wiki.videolan.org/LibVLC_SampleCode_Qt/ But I am not sure if I m

libvlc_media_player_set_hwnd doesn't work with QWidget Handle

不想你离开。 提交于 2020-01-05 08:32:13
问题 I am using Qt4.8 Windows version to develope an application to stream video using libvlc 2.2.1. When I use libvlc_media_player_set_hwnd() to render the video on my QWidget, its rather creating a separate window to display the video. libvlc_media_player_set_hwnd(m_player, (void*)videoWidget->winId()); I have tried all versions of libvlc and all the examples related to libvlc with Qt. Also followed the steps given in https://wiki.videolan.org/LibVLC_SampleCode_Qt/ But I am not sure if I m

VLC Python doesn't play YouTube video

感情迁移 提交于 2020-01-04 14:17:30
问题 When trying to play a YouTube URL with VLC media player via the Python bindings, the video does not actually play. Here is my code which does the playing: def play(self, mrl): self.instance = vlc.Instance() try: self.media = self.instance.media_new_location(mrl) except NameError: print('NameError: %s (%s vs LibVLC %s)' % (sys.exc_info()[1], vlc.__version__, vlc.libvlc_get_version())) self.player = self.instance.media_player_new() self.player.set_media(self.media) event_manager = self.player

VLC Python doesn't play YouTube video

喜欢而已 提交于 2020-01-04 14:17:10
问题 When trying to play a YouTube URL with VLC media player via the Python bindings, the video does not actually play. Here is my code which does the playing: def play(self, mrl): self.instance = vlc.Instance() try: self.media = self.instance.media_new_location(mrl) except NameError: print('NameError: %s (%s vs LibVLC %s)' % (sys.exc_info()[1], vlc.__version__, vlc.libvlc_get_version())) self.player = self.instance.media_player_new() self.player.set_media(self.media) event_manager = self.player

Whats the difference between stream generated by ffmpeg vs lib VLC

核能气质少年 提交于 2020-01-03 17:49:34
问题 I am trying to stream a Mp4 file to a webm file. After that I am reading this file chunk by chunk and feeding it to HTML5 viewer (video tag of html 5 viewer) in order to stream from MP4 file webm file I have had three options 1) Stream out using VLC media player application 2) Stream using libVLC through C code How to stream video using C/C++ 3) stream using ffmpeg commandline ffmpeg -i test.mp4 -c:v libvpx -c:a libvorbis -pix_fmt yuv420p -quality good output.webm While comsuming this webm

Writing video file and simultaneously playing it

二次信任 提交于 2019-12-31 01:15:07
问题 In my fun project, I'm downloading video file from youtube, and writing to a file on local disk. Simultaneously I want to play it. The objective is to cache the file on local disk, so that when I want to see the video again, the app can play it locally, thereby saving bandwidth. I'm using Python 3.3.1 , PyQt4/Phonon and LibVLC. So far, I'm able to do the following things: Given a youtube watch url, I can download the video file and then play it using both PyQt4/Phonon and LibVLC,

Android: vlc-android-sdk increase 60MB to my apk file size

谁说我不能喝 提交于 2019-12-30 07:40:10
问题 My apk file size is 5MB After add "de.mrmaffen:vlc-android-sdk:2.0.6" to gradle, apk size increase to 62MB ! How i can resolved it ? Thank you Not: i change to below code, but not work compile ("de.mrmaffen:vlc-android-sdk:2.0.6"){ exclude group: 'io.card' } 回答1: VLC uses lots of native code. As a result, it has 18-30MB of native libraries per CPU architecture. While that will be compressed somewhat in the APK, a 57MB increase in APK is actually better than I would expect. You either need to: