|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Imported videos timeline show 0 length
Recently all my Videos show a timeline length of 0 rather than their actual length. They play just fine, but if I hit the ff or rev keys, they the payback ends and jumps back to the Video menu. I've tried rescanning the import directory, alo tried changing the properties file line force_full_content_reindex=true". Nothing has helped. I'm currently using v9 on Ubuntu after many years with the Windows version. Also using Phoenix Fanart for SageTV plugin along with CMT and BMT, the combination of which has always worked fine.
Any ideas what could be causing the timeline issues? Thanks!
__________________
Dave S Windows 10, Sagetv 9.2.1 64b, OpendDCT 0.5.29, 8gb ram, HDHR Prime, 3 HD300 |
#2
|
||||
|
||||
Take a look at the sagetv_0.txt log file when you do the rescan (or just post it here). Usually when this problem happens, it's because there's a problem when it's running the FFMPEG binary to get this information. You can also try just running the ffmpeg binary manually that's in the SageTV folder and see if it executes...if it doesn't, then there's your answer.
__________________
Jeffrey Kardatzke Founder of SageTV |
#3
|
|||
|
|||
Thank you, I will try this later this week.
__________________
Dave S Windows 10, Sagetv 9.2.1 64b, OpendDCT 0.5.29, 8gb ram, HDHR Prime, 3 HD300 |
#4
|
||||
|
||||
FWIW when I encountered this same issue it was due to unmet dependencies with ffmpeg... ldd should tell you if the ffmpeg binary in /opt/sagetv/server is missing a library it needs to function or not.
__________________
AMD Ryzen 7 1700 w/ SageTV Server Linux V9.1.8.774 - Ubuntu 16.04LTS AMD64 -- 1x HDHomeRun Prime -- 1x HDHR-DT -- 1x HD-PVR 2x SageTV HD-300 Media Extenders 1x NVIDIA ShieldTV |
#5
|
|||
|
|||
Thank you very much for the help. I found that ffmpeg was not installed correctly. I'll try reinstalling Sage.
__________________
Dave S Windows 10, Sagetv 9.2.1 64b, OpendDCT 0.5.29, 8gb ram, HDHR Prime, 3 HD300 |
#6
|
|||
|
|||
A while ago I reinstalled FFMEG but that didn't solve the problem. I put it aside for months and then just recently updated to the newest version for Linux. The 0 duration timeline for some imported movies continues to be an issue. I've posted the log right after I started an imported video with a 0 timeline, watched it for a few seconds (it played fine), then hit the fast forward button which caused the video to end and Sage to go back to the previous menu. Can anyone determine the problem from the log posted here?
sagetv_0.zip
__________________
Dave S Windows 10, Sagetv 9.2.1 64b, OpendDCT 0.5.29, 8gb ram, HDHR Prime, 3 HD300 |
#7
|
|||
|
|||
fwiw, i think the video I played was a Bourne movie. I searched toward the end of the attached file and found this entry. I'm not sure what it means or if it's even related to the issue I'm experiencing...
Sun 6/11 16:13:57.493 [LibraryImporter@2971b8e1] ERROR parsing metadata number of:java.lang.NumberFormatException: For input string: ""
__________________
Dave S Windows 10, Sagetv 9.2.1 64b, OpendDCT 0.5.29, 8gb ram, HDHR Prime, 3 HD300 |
#8
|
||||
|
||||
It still looks like an issue running FFMPEG...are you able to execute FFFMPEG manually if you try to run it from a terminal in the SageTV folder? (be sure you are also executing that one by typing ./ffmpeg rather than just ffmpeg)
__________________
Jeffrey Kardatzke Founder of SageTV |
#9
|
||||
|
||||
I am seeing this "zero" length issue as well. It seems to be related to imported files. I tried the "move the files, move them back trick" (from another thread).
That didn't seem to fix things. As suggested above, when I tried running ./ffmpeg I get the following message: Code:
./ffmpeg: error while loading shared libraries: libfaad.so.2: cannot open shared object file: No such file or directory My questions: 1/ How do I install that file? 2/ Or should I reinstall ffmpeg? 3/ If ffmpeg should be reinstalled, how do I do that? 4/ What might be causing it to not install properly in the first place? Thanks! Scott |
#10
|
|||
|
|||
Quote:
I tested this today. I think I have the same issue and result as Scott above. The problem only surfaces when I play movies that I've imported that were originally on DVD. TV recordings converted to videos work fine. While in /opt/sagetv/server/, if i type ffmpeg it runs fine. While in the same directory if I type ./ffmpeg I get an error message "./ffmpeg error while loading shared libraries: \libfaad.so.2 cannot open shared object file: No such file or directory. I'm a complete novice with Linux. I suspect this means that the needed files are not where they are supposed to be. Is that correct, and if so, how do I fix that? I'm sorry for the newbie questions. I am much more comfortable in Windows, but I've fund 64b Linux to be more responsive and it manages my JVM Heap Size much better.
__________________
Dave S Windows 10, Sagetv 9.2.1 64b, OpendDCT 0.5.29, 8gb ram, HDHR Prime, 3 HD300 Last edited by DaveS; 06-17-2017 at 02:57 PM. |
#11
|
||||
|
||||
I think there's something wrong with the way FFMPEG gets built sometimes in that it is depending on the system libfaad.so file rather than having one merged into it statically. When I run 'ldd' on the FFMPEG in my SageTV folder it doesn't have a libfaad.so dependency.
__________________
Jeffrey Kardatzke Founder of SageTV |
#12
|
||||
|
||||
Quote:
Code:
# Build FFMPEG cd ../../../../ffmpeg make clean ./configure --disable-ffserver --disable-ffplay --enable-gpl --enable-pthreads --enable-nonfree --enable-libfaac --enable-libx264 --enable-libxvid --disable-devices --disable-bzlib --disable-demuxer=msnwc_tcp --enable-libfaad "--extra-cflags=-I. -I`readlink -f ../codecs/faad2/include` -I`readlink -f ../codecs/faac/include` -I`readlink -f ../codecs/x264` -I`readlink -f ../codecs/xvidcore/src`" "--extra-ldflags=-L`readlink -f ../codecs/faac/libfaac/.libs` -L`readlink -f ../codecs/faad2/libfaad/.libs` -L`readlink -f ../codecs/x264` -L`readlink -f ../codecs/xvidcore/build/generic/=build`" || { echo "Build failed, exiting."; exit 1; } make -j32 || { echo "Build failed, exiting."; exit 1; }
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#13
|
||||
|
||||
Yeah, feel free to change that. I just rebuilt it all and the only thing that's not static in FFMPEG is libfaad. I tried changing libfaad to only compile the static version, but then ffmpeg failed in configure. Hopefully somebody else can figure it out. (I would but I'm busy with other things right now)
__________________
Jeffrey Kardatzke Founder of SageTV |
#14
|
||||
|
||||
[SOLVED]
I was able to solve the "0:00 timeline" on imported videos issue with the following method: (or something very close to this) Linux 16.04 LTS server SageTV 9.x 1/ Make sure everything is up-to-date. A/ sudo apt-get update B/ sudo apt-get upgrade2/ Install "libfad2" A/ sudo apt-get install libfaad2 NOTE: This gets the "missing" libfaad.so.2 file installed onto the server.3/ Reboot the server A/ sudo reboot4/ Move the "problem" files, then move them back. A/ I followed Turak's post (using my own folder names) found here (Post #13)5/ Verified everything was working! ADDITIONAL NOTE: I also discovered that I could NOT convert a file prior to implementing these instructions. I seem to be able to do that now too! Scott Last edited by SVinzant; 07-07-2017 at 07:37 AM. Reason: Formatting, typo |
#15
|
|||
|
|||
Following Scott's instructions above I was successful in correcting the issue also. Thank you Scott!
__________________
Dave S Windows 10, Sagetv 9.2.1 64b, OpendDCT 0.5.29, 8gb ram, HDHR Prime, 3 HD300 |
Tags |
fast forward, timeline |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How does Sage calculate/determine show length for imported shows?? | mgpaulus | SageTV Software | 1 | 07-13-2013 09:30 PM |
Some Imported videos do not show up as HD | dvd_maniac | SageTV Software | 1 | 09-26-2012 07:03 PM |
Only MP4 files show up in Media Center Imported Videos? | highlands | SageTV Software | 8 | 06-27-2007 11:15 PM |
Some Google / YouTube videos don't work, -00:00:00 length on timeline | FZ1 | SageTV Software | 13 | 05-18-2007 05:38 PM |
bug reporting wrong play length in 15 imported movies Please help! | darksoul | SageTV Beta Test Software | 6 | 04-12-2004 07:57 PM |