|
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 |
#21
|
|||
|
|||
Currently installing mingw-w64 on my Ubuntu box to see if I can cross-compile this using the script with updated paths.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#22
|
|||
|
|||
As Narflex mentioned, the executable that you already have in the installer (the V7 version of SageTVTranscoder.exe, I assume) is the same version as the code he just added to GitHub. So unless someone makes additional changes to ffmpeg, you should not need to rebuild it for Windows.
For Linux, it does need to be rebuilt in order to fix the various problems that have been reported with the old ffmpeg such as the thumbnail creation.
__________________
Server: HP DL380 G6, VMware ESXi 5.0 with HW passthrough for USB and Firewire, 4 x HD-PVR, ZFS storage SageTV: Production: 7.1.9+Java 1.6.0_32 on XP, Test: 9.0.4.291+Java 1.8.0_72 on Linux 64-bit Clients: 2 x Sage HD200 Extender, 1 x Sage HD100 Extender Sources: 4 x Motorola DCH-3200 (firewire channel changing), HD Homerun Prime, OpenDCT 0.5.7 |
#23
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#24
|
|||
|
|||
Quote:
Thanks k |
#25
|
|||
|
|||
Quote:
On my Ubuntu vm I got it to build till xvid. I started getting errors about not being able to find nasm.inc. I figured out that if I copied that file to each of the x86 folders those errors would go away. But then even though it successfully built it wasn't copying anything to staging so when it tried to compile ffmpeg it complained that it couldn't find libxvid. So, I was already in the process of getting MSYS2 set up. I think all I was missing was mingw-w64, automake, and autoconf. I can't get faac to build. The configure complains: Code:
config.status: error: cannot find input file: `common/mp4v2/Makefile.in'
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#26
|
|||
|
|||
On my Windows system I did also end up updating the third_party/GNU/config.guess file because my system was coming up as unknown.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#27
|
|||
|
|||
I see this in the configure output:
Code:
configure: *** Building WITHOUT mp4v2 *** Code:
configure: *** Building WITHOUT mp4v2 ***
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#28
|
|||
|
|||
Ok, I've got an update. I've gotten faac, faad, libxvidcore, and x264 to build. It starts to build ffmpeg but stops at libavformat/util.c. I don't see any apparent errors. It just says that the recipe for libavformat/util.o failed.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#29
|
||||
|
||||
Can you post the actual error output from running make at that point?
__________________
Jeffrey Kardatzke Founder of SageTV |
#30
|
|||
|
|||
Ok, here's the combined stdout & stderr.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#31
|
|||
|
|||
There's a error listed a few lines up from the bottom of your log file:
time_is_forbidden_due_to_security_issues It seems there is a #define for 'time' set to that which causes tb.time to not work. Google for this and there are various people asking what to do about it, some from many years ago. One suggestion was to move #include <time.h> above #include "libavcodec/internal.h". Not sure why the code is built the way it is (including time.h) especially since it seems like they don't want you using time.h at all. Last edited by wnjj; 02-20-2016 at 01:08 AM. |
#32
|
|||
|
|||
Ok, I've commented out the lines in the libavformat/internal.h that undef's time.h and that corrected that error.
I've now run into what appears to be an error with mingw32's dxva2api. It get's an error trying to compile dxva2.c. I'm am unsure how to proceed from here.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#33
|
||||
|
||||
I'm pretty sure we never included the DXVA codecs within FFMPEG in the builds we did for SageTV (I actually didn't even know they were there). What I think was happening is that the dxva2api.h header file wasn't anywhere in the build tree...and so FFMPEG's configure automatically disabled those codecs because of the missing header file (I don't see exactly where that happens; but I know when I build on Linux it has the DXVA stuff enabled; the tests in configure fail; but then ends up excluding it through config.h).
So I'd say just pass the --disable-dxva2 flag to configure to exclude those as well and it should solve the problem. OTOH, if you can actually figure out how to get them to properly compile into it, that might be really useful.
__________________
Jeffrey Kardatzke Founder of SageTV |
#34
|
|||
|
|||
Ok, that got ffmpeg built. mplayer won't start to build though. The configure script gives an error:
Code:
Unknown parameter: --ar=i686-w64-mingw32-ar
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#35
|
|||
|
|||
The built ffmpeg doesn't seem to work. When I try to play a video via Placeshifter it reports a transcoder error in the log.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#36
|
|||
|
|||
Looks like some work needs to be done to better integrate this new version of ffmpeg into SageTV. Just did a remote Placeshifter test to my 32-bit Ubuntu test box and it also gets errors when attempting playback. So it's not just a Windows/SageTVTranscoder ffmpeg problem.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#37
|
||||
|
||||
Can you post the errors you're seeing in the logs please?
__________________
Jeffrey Kardatzke Founder of SageTV |
#38
|
|||
|
|||
Ok, here's the log. I tried to play two files. One HDPVR recording and the other an HDHR one. Are there some other debug properties to enable to get a more fine grained logging?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#39
|
||||
|
||||
Set both of these and get logs again (case matters on the second one):
media_server/transcode_debug=true xcode_cmdline_debug=TRUE
__________________
Jeffrey Kardatzke Founder of SageTV |
#40
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageDTC 2.7.0.2 with ffmpeg | mtenboer | Hardware Support | 1 | 11-13-2013 02:47 PM |
Failed creating menu item-now getting error | scm | Phoenix | 2 | 07-31-2011 08:05 PM |
ffmpeg help | ChePazzo | SageTV Linux | 4 | 12-04-2006 09:52 AM |
ffmpeg v0.4.9 pre for Windows? | jsturtevant | SageTV Customizations | 14 | 06-06-2006 05:24 PM |
Creating 2300 thumbnail pictures... gets stuck at around 1200 | mkanet | SageTV Beta Test Software | 7 | 08-26-2005 10:41 AM |