omega-gg / MotionBox

Video Browser for Motion Freedom
http://omega.gg/MotionBox
GNU General Public License v3.0
116 stars 14 forks source link

[bug] The last few seconds of video have no audio on Linux #7

Open TheDalaiAlpaca opened 6 years ago

TheDalaiAlpaca commented 6 years ago

Ubuntu 18.04.1 LTS Motionbox 1.4.0-7 VLC 3.0.3 Linux 4.15.0-34-generic OS type: 64bit ffmpeg version 3.4.4-0ubuntu0.18.04.1

Output of ./MotionBox

Deleting folder 2
Deleting file 2.xml
Deleting folder 3
Deleting file 3.xml
Deleting folder 4
Deleting file 4.xml
Deleting folder 5
Deleting file 5.xml
Deleting folder 6
Deleting file 6.xml
QSGContext::initialize: stencil buffer support missing, expect rendering errors
Retrying
TABS LOADED
FOLDER LOADED
FOLDER LOADED
TORRENT PROXY
TORRENT OPTIONS
TAB LOADED
FOLDER LOADED
FOLDER SAVED
FOLDER SAVED
FOLDER SAVED
FOLDER SAVED
FOLDER SAVED
FOLDER SAVED
WControllerNetwork: Connected
PLAYLIST LOADED
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/190..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/190..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/191..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/191..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/192..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/192..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/193..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/193..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/194..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/194..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/198..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/198..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/199..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/199..
DATA LOCAL SAVED
FOLDER SAVED
Get http://omega.gg/get/MotionBox/1.0.0/linux64/data.xml
QFSFileEngine::open: No file name specified
WPixmapCache::scaleImage: Failed to open file .
WPixmapCacheImageRead::run: Failed to read file .
DATA LOCAL SAVED
Retrying
FOLDER LOADED
PLAYLIST LOADED
FOLDER SAVED
FOLDER LOADED
PLAYLIST LOADED
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/51..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/51..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/53..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/53..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/84..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/84..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/56..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/56..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/57..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/57..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/58..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/58..
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/61..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/61..
FOLDER SAVED
PLAYLIST LOADED
FOLDER SAVED
PLAYLIST LOADED
FOLDER SAVED
Get https://www.youtube.com/watch?v=N7r6DvzF7_8
Get https://www.youtube.com/watch?v=H4RNaTKbIM0
Get https://www.youtube.com/watch?v=nU-rnNRnq4M
Get https://www.youtube.com/watch?v=9m1cKCBAW3s
Get https://www.youtube.com/watch?v=dvixHygtvVs
Get https://www.youtube.com/watch?v=x7QaL2BetdY
Get https://www.youtube.com/watch?v=p9_cwVDtGnI
Get https://www.youtube.com/watch?v=vAfTdDPNpSg
Get https://www.youtube.com/watch?v=mWUEnZ9LH9E
TAB SAVED
Get https://www.youtube.com/watch?v=JQmZpimwYtE
Loading Source https://www.youtube.com/watch?v=N7r6DvzF7_8
Get http://www.youtube.com/get_video_info?video_id=N7r6DvzF7_8&el=detailpage
Current source [https://r2---sn-5hne6nsk.googlevideo.com/videoplayback?sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&expire=1537740485&itag=136&keepalive=yes&mime=video%2Fmp4&source=youtube&txp=5432332&ms=au%2Crdu&mt=1537718803&mv=m&clen=13004791&lmt=1536576642887279&fvip=2&gir=yes&dur=212.845&mm=31%2C29&mn=sn-5hne6nsk%2Csn-5hnekn7s&id=o-AGTNVx8VzeQw5_vUIFFiWkFeUXvUkDzBreG4nxndr0e4&ei=ZLqnW_6OPI7pgQf3y5nACA&ipbits=0&ip=94.208.253.116&key=yt6&pl=14&requiressl=yes&signature=7CC2737F250FD3653B96B0ACA4117E4405DB631A.9AD94844841AAF3D89BE674CC3026C45B5BB052F&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&initcwndbps=1577500&c=WEB] 5 
[00007fee2003bc40] mp4 demux: Fragment sequence discontinuity detected 1 != 0
PLAYLIST SAVED
TAB SAVED
[00007fee2039db30] main decoder error: Timestamp conversion failed for 4871534: no reference clock
[00007fee2039db30] main decoder error: Could not convert timestamp 0 for FFmpeg
[h264 @ 0x7fee209a8920] get_buffer() failed
[h264 @ 0x7fee209a8920] thread_get_buffer() failed                                                                                                                                                                                                                            
[h264 @ 0x7fee209a8920] decode_slice_header error                                                                                                                                                                                                                             
[h264 @ 0x7fee209a8920] no frame!                                                                                                                                                                                                                                             
Retrying
WPixmapCache::scaleImage: Failed to open file /home/davod/.local/share/MotionBox/cache/53..
WPixmapCacheRead::run: Failed to read file /home/davod/.local/share/MotionBox/cache/53..
PLAYLIST SAVED
TAB SAVED
DATA LOCAL SAVED
FOLDER SAVED
Deleting WControllerTorrent
TORRENT SESSION BEFORE
TORRENT SESSION AFTER
Deleting WControllerMedia
Deleting WControllerPlaylist
Deleting ControllerCore
Deleting WControllerView
Deleting WControllerDeclarative
Deleting WControllerXml
Deleting WControllerPlugin
Deleting WControllerDownload
Deleting WControllerNetwork
Deleting WControllerScript
Deleting WControllerFile
Done
3unjee commented 6 years ago

Thanks for reporting @TheDalaiAlpaca, this is related to this: https://trac.videolan.org/vlc/ticket/19689.

MotionBox Youtube backend currently uses input-slave to play both video and audio sources. Unfortunately that feature is a bit broken since VLC 3.0.0.

TheDalaiAlpaca commented 6 years ago

Hi, I can live with that!

I've some other minor issues to report if you'd like, mainly affecting Linux.