|
Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#601
|
||||
|
||||
PNE does launch other programs. ffmpeg and hdhomerun_config both are used for the recording. You really should not be ( or have to be) running either sage or pne as superuser.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#602
|
|||
|
|||
Instructions Question
Hi,
I've been working on repeatably setting up Sage 9 on Linux. As I'm working through using PNE, I have identified something that is in the original documentation, but not in the current. Instructions Update: In the original v1.0.0 instructions, you had text to copy into the sage.properties file, that helped sage find and use the network encoder. Without this text, I could not find a way to get sage to find PNE. I could not find anything in the PNE install guide other than a statement to install network tuners. If there are other instructions somewhere, a link would be great, but after multiple searches and tries, I could not find another way. Thoughts, suggestions appreciated. |
#603
|
|||
|
|||
sudo vs chmod
Quote:
When I re-ran startsage, I got an error related to startsagecore line 47: /var/run/sagetv.pid. On my system this directory is owned by root and so startsagecore can not create the sagetv.pid file unless a) run with sudo or b) if I chmod the directory to allow everyone read/write access. (sudo chmod a+w /var/run) Are there any thoughts from the crowd on the recommended option? I did the chmod and sage is now running as non sudo. |
#604
|
|||
|
|||
I should clarify... I may not be triggering network detection correctly. I could not find any clear process of steps that would allow me to find the hardware other than adding the commands. If there are some steps someone could share, I am definitely on board.
Thanks. |
#605
|
|||
|
|||
Possible Bug Report
Possible Bug Report
While I may have managed to get the network detection to work (no idea what I did differently), it keeps configuring the "encoder_host=172.0.1.1" which is not a valid ip. should this be 172.0.0.1. Also the logs for PrimeNetEncoder (PNE) show Code:
11/27/2015 22:40:09 - Setting local IP address to: 127.0.1.1 11/27/2015 22:40:09 - Starting encoder thread: 192.168.1.176-0 Thanks. |
#606
|
||||
|
||||
Quote:
1 - Sage's network encoder discovery is not enabled in sage.properties, so it never sends out the broadcast 2 - PNE is not running when sage is started, so it doesn't respond to the broadcast. 3 - There is a firewall preventing the broadcasts and/or responses from getting between the two services.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#607
|
|||
|
|||
Quote:
Code:
InetAddress.getLocalHost().getHostAddress(); Thanks! Some reference as to why: http://www.debian.org/doc/manuals/de...ame_resolution Related Bug Report: https://bugs.debian.org/cgi-bin/bugr...cgi?bug=719621 |
#608
|
|||
|
|||
Quote:
|
#609
|
|||
|
|||
Quote:
|
#610
|
|||
|
|||
Quote:
Awesome, I'll try your write up and let ya know how it goes. Thanks for the docs you’ve already done too. |
#611
|
|||
|
|||
Comcast H264
The past week or so, I've finally noticed Comcast starting to broadcast in h264 like they promised to do several months ago (Atlanta area). Good news... PNE 1.2.5 and HDHR Prime both seem to handle the streams without issue.
I've seen it being used on Comedy Central, FXX, and AMC. And Comcast is really making use h264. 1-hr episodes of the Walking Dead were 5.2 GB w/MPEG-2 are now 1.9 GB w/h264. I'm a little concerned Comcast may be taking things a little too far with the compression, but quality seems pretty good (maybe a little softer). Anyways, no need to worry about capturing h264 streams on Comcast. |
#612
|
||||
|
||||
Wish Charter would do the same. I miss the direct h.264 streams I used to get from Dish Network.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#613
|
|||
|
|||
Quote:
-uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro | {Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast | {Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick | |
#614
|
|||
|
|||
The only way I've seen is to check the Recording Info page for recording. When it's converted you'll see:
Format: MPEG2-TS[H.264 16:9 1080i@29.97fps...] I guess the container format is still mpeg2-ts but it has a H.264 video stream instead of the standard MPEG2-Video. I think Comcast is slowly switching over channels, so far I've only seen it on the above mentioned channels and Palladia. Other cable channels like TNT, USA, ESPN are still MPEG2. Quote:
Last edited by weeber; 12-04-2015 at 12:12 PM. |
#615
|
||||
|
||||
Quote:
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#616
|
|||
|
|||
Quote:
The only problem I have now is no audio, video only, on computer clients, I do have video and audio on stuckless's Android Mini Client though but not the computer clients, both running Ubuntu and both able to connect and play files fine from my Windows Sage (ver 7) server but not my new Ubuntu Sage (ver 9) server with PNE and the HDHR Prime. |
#617
|
|||
|
|||
Quote:
When I play the video directly with mplayer (included in the sageclient directory), I get this in the output... Code:
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2) Code:
Forced video codec: ffmpeg12 ... Selected video codec: [ffmpeg12] vfm: ffmpeg (FFmpeg MPEG-1/2) ... (afm=liba52) not available. ... (afm=libac3) not available. ... (afm=hwac3) not available. Do you know if the sageclient is forcing any sort of codec use when it calls mplayer? the key difference to me appears to be the use of the ffmpeg12 codec instead of the ffmpeg2 codec. If I can find some free time, I may try and take a look.... any suggestions of where to start are of course welcome. mplayer full output Code:
libavformat version 54.20.4 (external) Mismatching header version 54.20.3 TS file format detected. VIDEO MPEG2(pid=256) AUDIO A52(pid=257) NO SUBS (yet)! PROGRAM N. 1 VIDEO: MPEG2 528x480 (aspect 3) 29.970 fps 3170.0 kbps (396.2 kbyte/s) Load subtitles in /var/media/tv/ ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 54.35.0 (external) Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) ========================================================================== AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample) Starting playback... Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. Sage Client full mplayer output Code:
Thu 12/3 16:36:30.510 stderr:DEBUG - active_file=1 circFileSize=0 Thu 12/3 16:36:30.511 stderr:CACHE THREAD STARTING Thu 12/3 16:36:30.864 Ignoring resize command because it exceeds video dimensions rect=java.awt.Rectangle[x=0,y=0,width=720,height=480] videoDim=java.awt.Dimension[width=0,heigh t=0] Thu 12/3 16:36:30.962 stdout:FAILURE 237 err=2 newfd=3 Thu 12/3 16:36:30.962 stdout: Thu 12/3 16:36:30.963 stdout:TS file format detected. Thu 12/3 16:36:30.975 stdout:VIDEO MPEG2(pid=256) AUDIO A52(pid=257) NO SUBS (yet)! PROGRAM N. 0 Thu 12/3 16:36:30.975 stdout:ID_VIDEO_ID=256 Thu 12/3 16:36:30.975 stdout:ID_AUDIO_ID=257 Thu 12/3 16:36:31.139 stdout:TS_PARSE: COULDN'T SYNC Thu 12/3 16:36:31.190 stdout:VIDEO: MPEG2 528x480 (aspect 3) 29.970 fps 3170.0 kbps (396.2 kbyte/s) Thu 12/3 16:36:31.190 Got connection on fd: 22 Thu 12/3 16:36:31.190 stdout:ID_FILENAME=stv://sagebox//var/media/tv/DrSeussHowtheGrinchStoleChristmas-84225-1.ts Thu 12/3 16:36:31.190 stdout:ID_DEMUXER=mpegts Thu 12/3 16:36:31.190 stdout:ID_VIDEO_FORMAT=0x10000002 Thu 12/3 16:36:31.190 stdout:ID_VIDEO_BITRATE=3170000 Thu 12/3 16:36:31.190 stdout:ID_VIDEO_FPS=29.970 Thu 12/3 16:36:31.190 stdout:ID_VIDEO_ASPECT=0.0000 Thu 12/3 16:36:31.190 stdout:ID_AUDIO_FORMAT=8192 Thu 12/3 16:36:31.190 stdout:ID_AUDIO_BITRATE=0 Thu 12/3 16:36:31.190 stdout:ID_AUDIO_RATE=0 Thu 12/3 16:36:31.190 stdout:ID_AUDIO_NCH=0 Thu 12/3 16:36:31.191 stdout:ID_LENGTH=995.98 Thu 12/3 16:36:31.191 stdout:socket : /tmp/sagevideo2077265182859698370.socket Thu 12/3 16:36:31.191 stdout:Opening video filter: [pp=fd] Thu 12/3 16:36:31.191 stdout:========================================================================== Thu 12/3 16:36:31.191 stdout:Forced video codec: ffmpeg12 Thu 12/3 16:36:31.191 stdout:Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Thu 12/3 16:36:31.191 stdout:Selected video codec: [ffmpeg12] vfm: ffmpeg (FFmpeg MPEG-1/2) Thu 12/3 16:36:31.191 stdout:========================================================================== Thu 12/3 16:36:31.191 stdout:ID_VIDEO_CODEC=ffmpeg12 Thu 12/3 16:36:31.191 stdout:========================================================================== Thu 12/3 16:36:31.192 stderr:Requested audio codec family [a52] (afm=liba52) not available. Thu 12/3 16:36:31.192 stderr:Enable it at compilation. Thu 12/3 16:36:31.192 stderr:Requested audio codec family [ac3] (afm=libac3) not available. Thu 12/3 16:36:31.192 stderr:Enable it at compilation. Thu 12/3 16:36:31.192 stderr:Requested audio codec family [hwac3] (afm=hwac3) not available. Thu 12/3 16:36:31.192 stderr:Enable it at compilation. Thu 12/3 16:36:31.192 stdout:Read DOCS/HTML/en/codecs.html! Thu 12/3 16:36:31.192 stdout:Audio: no sound |
#618
|
|||
|
|||
Moved troubleshooting and progress to the "No audio from Linux sageclient" thread
http://forums.sagetv.com/forums/showthread.php?p=581420 http://forums.sagetv.com/forums/show...20&postcount=5 Last edited by SageWizdom; 12-05-2015 at 10:33 AM. |
#619
|
||||
|
||||
http://forums.sagetv.com/forums/show...&postcount=569
I have removed the 'load_at_startup' lines from the sage.properties file (although I was pretty sure that wasn't the issue, as I was running the .bat file to start PNE for testing from the command line before starting the SageTV service anyway), but am still only seeing my Colossus card. I have also rolled back PNE to 1.2.4 as others have done so to resolve their issues, but still no luck... any other ideas? Last edited by gordyp; 12-05-2015 at 08:17 PM. |
#620
|
|||
|
|||
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interest in HDHomeRun Prime Network Encoder | jvl711 | Hardware Support | 175 | 04-13-2015 01:11 PM |
Prime Encoder Script | checkbin | SageTV Linux | 14 | 03-22-2015 07:50 AM |
SageTV as a network encoder / recording on network encoder works, not from server | perfessor101 | SageTV Software | 0 | 06-21-2014 05:59 AM |
Ubuntu + HDHomerunPrime + Prime Encoder | matt91 | SageTV Linux | 2 | 03-23-2014 03:46 PM |
HDHomerun Prime? | cenwesi | Hardware Support | 26 | 04-19-2011 05:40 PM |