|
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 |
#661
|
||||
|
||||
Quote:
If you've been having the kinds of issues described by Greg2dot0 and troll5501, try changing the values of sagetv.device.<unique_id>.consumer to opendct.consumer.FFmpegTransSageTVConsumerImpl with this release.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#662
|
||||
|
||||
I verified in the consumer config before I started since I had configured them for Raw to capture that bad video:
Here's what my consumers are set for: sagetv.new.default_consumer_impl=opendct.consumer.FFmpegSageTVConsumerImpl But, what I realized is that I forgot to run ./console-only so am deleting the properties and starting over. Guess that's what I get for doing this before coffee.
__________________
Production SageTV Server: ASUS P8P67-Pro, 16gb RAM, Crucial m4 256GB SSD, Unbunto 16.4.04 LTS (Server x64), WDC Red 4TB Capture: 1x HDHR Prime, 1x HDHomeRun (ClearQAM) Clients: 1x HD300, 2x HD200, 2x Placeshifters |
#663
|
||||
|
||||
Quote:
Don't worry about the ./console-only thing. You can get the same effect by starting the service and then stopping it after 30 seconds.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG Last edited by EnterNoEscape; 03-27-2016 at 07:00 AM. |
#664
|
|||
|
|||
I will install the new build today. As I was reviewing the log from today's recordings--using 0.4.37 (I've had live TV running since last night on two extenders), I noticed that 5 times the FFmpegTransSageTVConsumerImpl reported a "write failed" at exactly the time of a SWITCH, for the recording that is scheduled to end at that time. This left the open files as expected with 0.4.37, but I'm wondering why these write failures are happening at these times? There is plenty of disk space 150GB+. Is there something in the SWITCH logic that is closing or deleting the file while it is still being written to by another thread?
Also, a side effect of the open file handles issue is that the space associated with those files (even if they have been deleted) is not released back to the filesystem until the file handles are closed. Code:
02:35:00.292 [SageTVRequestHandler-6171:null] DEBUG SageTVRequestHandler - SageTV sent: 'SWITCH DCT-HDHomeRun Prime Tuner 13191941-1 Digital TV Tuner|1456289802|803|/sagedata/ThisOldHouse-NewtonCentreProject-38147811-0.ts' 02:35:00.292 [SageTVRequestHandler-6171:null] DEBUG SageTVRequestHandler - Renaming the thread 'SageTVRequestHandler-6171:null' to 'SageTVRequestHandler-6171:DCT-HDHomeRun Prime Tuner 13191941-1'... 02:35:00.292 [SageTVRequestHandler-6171:DCT-HDHomeRun Prime Tuner 13191941-1] INFO HDHRNativeCaptureDevice - Capture device is was already locked. 02:35:00.293 [SageTVRequestHandler-6171:DCT-HDHomeRun Prime Tuner 13191941-1] DEBUG SageTVRequestHandler - Switching network encoder to filename '/sagedata/ThisOldHouse-NewtonCentreProject-38147811-0.ts'. 02:35:00.296 [SageTVRequestHandler-6171:DCT-HDHomeRun Prime Tuner 13191941-1] INFO FFmpegTranscoder - SWITCH started. 02:35:01.206 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] DEBUG FFmpegTranscoder - Video key frame flag: 1 02:35:01.208 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] DEBUG FFmpegContext - avcodec_close 02:35:01.208 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] DEBUG FFmpegContext - avio_closep 02:35:01.208 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] DEBUG FFmpegContext - avformat_free_context 02:35:01.208 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] INFO FFmpegTranscoder - Initializing FFmpeg transcoder stream output. 02:35:01.208 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] DEBUG FFmpegContext - Calling avformat_alloc_output_context2 02:35:01.208 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] INFO FFmpegContext - DO Output #0, mpegts, to '/sagedata/ThisOldHouse-NewtonCentreProject-38147811-0.ts': Stream #0:0, 0, 1/90000: Video: mpeg2video, yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, max. 18000 kb/s, 90k tbn, 59.94 tbc Stream #0:1(eng), 0, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:2(spa), 0, 1/90000: Audio: ac3, 48000 Hz, mono, fltp, 96 kb/s 02:35:01.208 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] DEBUG FFmpegTranscoder - Writing header 02:35:01.208 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] DEBUG ffmpeg - [mpegts @ 0x7fc8080bf640] muxrate VBR, 02:35:01.208 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] DEBUG ffmpeg - [mpegts @ 0x7fc8080bf640] pcr every 1714569376 pkts, sdt every 0, pat/pmt every 0 pkts 02:35:01.208 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] INFO FFmpegTranscoder - Initialized FFmpeg transcoder stream output. 02:35:01.208 [FFmpegTransSageTVConsumerImpl-3782:DCT-HDHomeRun Prime Tuner 13191941-1] INFO FFmpegTranscoder - SWITCH successful: 912ms. 02:35:01.209 [SageTVRequestHandler-6171:DCT-HDHomeRun Prime Tuner 13191941-1] DEBUG SageTVRequestHandler - Replied: 'OK' 02:35:01.210 [Thread-4808] ERROR FFmpegTransSageTVConsumerImpl - File '/sagedata/EyewitnessNewsat11pmSaturday-38097062-0.ts' write failed => java.nio.channels.AsynchronousCloseException at sun.nio.ch.SimpleAsynchronousFileChannelImpl$3.run(SimpleAsynchronousFileChannelImpl.java:380) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
__________________
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 Last edited by troll5501; 03-27-2016 at 10:48 AM. Reason: Added more log entries |
#665
|
||||
|
||||
Quote:
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#666
|
|||
|
|||
Quote:
__________________
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 |
#667
|
|||
|
|||
With 0.4.38, I've seen several of the java.nio.channels.AsynchronousCloseException errors again, most recently when I stopped an active recording a few minutes ago. When this happened, it left the file open in OpenDCT (see file descriptor list below):
Code:
17:31:26.461 [SageTVRequestHandler-178:null] DEBUG SageTVRequestHandler - SageTV sent: 'STOP DCT-HDHomeRun Prime Tuner 13191941-2 Digital TV Tuner' 17:31:26.461 [SageTVRequestHandler-178:null] DEBUG SageTVRequestHandler - Renaming the thread 'SageTVRequestHandler-178:null' to 'SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2'... 17:31:26.461 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG HDHRNativeCaptureDevice - Stopping encoding... 17:31:26.461 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG HTTPCaptureDeviceServices - Stopping producer thread... 17:31:26.461 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG HTTPCaptureDeviceServices - Waiting for producer thread to stop... 17:31:26.461 [HTTPProducerImpl-95:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG HTTPProducerImpl - The socket has been closed. 17:31:26.461 [HTTPProducerImpl-95:DCT-HDHomeRun Prime Tuner 13191941-2] INFO HTTPProducerImpl - Producer thread has stopped. 17:31:26.461 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG BasicCaptureDevice - Stopping consumer thread... 17:31:26.461 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG BasicCaptureDevice - Waiting for consumer thread to stop... 17:31:26.461 [FFmpegTransSageTVConsumerImpl-97:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG FFmpegContext - FFmpeg consumer was interrupted while reading. 17:31:26.461 [FFmpegTransSageTVConsumerImpl-97:DCT-HDHomeRun Prime Tuner 13191941-2] INFO FFmpegContext - Returning AVERROR_EOF in readCallback.call() 17:31:26.461 [FFmpegTransSageTVConsumerImpl-97:DCT-HDHomeRun Prime Tuner 13191941-2] INFO ffmpeg - Last message repeated 1 time. 17:31:26.461 [FFmpegTransSageTVConsumerImpl-97:DCT-HDHomeRun Prime Tuner 13191941-2] WARN ffmpeg - [mpegts @ 0x7f20d400d1c0] PES packet size mismatch 17:31:26.477 [FFmpegTransSageTVConsumerImpl-97:DCT-HDHomeRun Prime Tuner 13191941-2] INFO FFmpegTranscoder - FFmpeg transcoder ended with code -541478725 17:31:26.478 [FFmpegTransSageTVConsumerImpl-97:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG FFmpegContext - avcodec_close 17:31:26.478 [FFmpegTransSageTVConsumerImpl-97:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG FFmpegContext - avio_closep 17:31:26.478 [FFmpegTransSageTVConsumerImpl-97:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG FFmpegContext - avformat_free_context 17:31:26.478 [FFmpegTransSageTVConsumerImpl-97:DCT-HDHomeRun Prime Tuner 13191941-2] INFO FFmpegTransSageTVConsumerImpl - FFmpeg Transcoder consumer thread stopped. 17:31:26.478 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG HDHomeRunControl - key: '/tuner2/lockkey' value: 'force' lockKey: '-1' sendLength: 40 17:31:26.480 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG HDHomeRunControl - key: '/tuner2/lockkey' value: 'null' lockKey: '0' sendLength: 26 17:31:26.482 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG HDHomeRunControl - key: '/tuner2/channel' value: 'none' lockKey: '0' sendLength: 33 17:31:26.483 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG HDHomeRunControl - key: '/tuner2/target' value: 'none' lockKey: '0' sendLength: 32 17:31:26.485 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG HDHomeRunControl - key: '/tuner2/lockkey' value: 'null' lockKey: '0' sendLength: 26 17:31:26.487 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] INFO HDHRNativeCaptureDevice - HDHomeRun is now unlocked. 17:31:26.487 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] INFO HDHRNativeCaptureDevice - Capture device is now unlocked. 17:31:26.487 [SageTVRequestHandler-178:DCT-HDHomeRun Prime Tuner 13191941-2] DEBUG SageTVRequestHandler - Replied: 'OK' 17:31:26.478 [Thread-53] ERROR FFmpegTransSageTVConsumerImpl - File '/sagedata/NCAATipOff-38100032-0.ts' write failed => java.nio.channels.AsynchronousCloseException at sun.nio.ch.SimpleAsynchronousFileChannelImpl$3.run(SimpleAsynchronousFileChannelImpl.java:380) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Code:
[root@sagelinux sagedata]# ls -al /proc/13337/fd total 0 dr-x------. 2 root root 0 Mar 27 17:23 . dr-xr-xr-x. 9 root root 0 Mar 27 17:23 .. lrwx------. 1 root root 64 Mar 27 17:23 0 -> /dev/null l-wx------. 1 root root 64 Mar 27 17:23 1 -> pipe:[55692929] lr-x------. 1 root root 64 Mar 27 17:23 10 -> /opt/opendct/lib/seamless-http-1.1.0.jar lr-x------. 1 root root 64 Mar 27 17:23 11 -> /opt/opendct/lib/seamless-util-1.1.0.jar lr-x------. 1 root root 64 Mar 27 17:23 12 -> /opt/opendct/lib/seamless-xml-1.1.0.jar lr-x------. 1 root root 64 Mar 27 17:23 13 -> /opt/opendct/lib/log4j-api-2.5.jar lr-x------. 1 root root 64 Mar 27 17:23 14 -> /opt/opendct/lib/log4j-core-2.5.jar lr-x------. 1 root root 64 Mar 27 17:23 15 -> /opt/opendct/lib/commons-cli-1.3.jar lr-x------. 1 root root 64 Mar 27 17:23 16 -> /opt/opendct/lib/jna-4.2.1.jar lr-x------. 1 root root 64 Mar 27 17:23 17 -> /opt/opendct/lib/jna-platform-4.2.1.jar lr-x------. 1 root root 64 Mar 27 17:23 18 -> /opt/opendct/lib/ffmpeg-2.8.1-1.1.jar lr-x------. 1 root root 64 Mar 27 17:23 19 -> /opt/opendct/lib/javacpp-1.1.jar l-wx------. 1 root root 64 Mar 27 17:23 2 -> pipe:[55692929] lr-x------. 1 root root 64 Mar 27 17:23 20 -> /opt/opendct/lib/ffmpeg-2.8.1-1.1-linux-x86_64.jar lr-x------. 1 root root 64 Mar 27 17:23 21 -> /opt/java/jre1.8.0_72/lib/ext/nashorn.jar l-wx------. 1 root root 64 Mar 27 17:23 22 -> /var/log/opendct/opendct.log lrwx------. 1 root root 64 Mar 27 17:23 23 -> socket:[55693772] lrwx------. 1 root root 64 Mar 27 17:23 24 -> socket:[55693774] lrwx------. 1 root root 64 Mar 27 17:23 25 -> socket:[55693894] lrwx------. 1 root root 64 Mar 27 17:23 26 -> socket:[55693915] lrwx------. 1 root root 64 Mar 27 17:23 27 -> socket:[55693963] l-wx------. 1 root root 64 Mar 27 17:23 28 -> /var/log/opendct/opendct_cling.log.lck lrwx------. 1 root root 64 Mar 27 17:23 29 -> socket:[55693880] lr-x------. 1 root root 64 Mar 27 17:23 3 -> /opt/java/jre1.8.0_72/lib/rt.jar l-wx------. 1 root root 64 Mar 27 17:23 30 -> /var/log/opendct/opendct_cling.log lrwx------. 1 root root 64 Mar 27 17:23 31 -> socket:[55693964] lrwx------. 1 root root 64 Mar 27 17:23 32 -> socket:[55693895] lr-x------. 1 root root 64 Mar 27 17:23 33 -> pipe:[55693896] l-wx------. 1 root root 64 Mar 27 17:23 34 -> pipe:[55693896] lrwx------. 1 root root 64 Mar 27 17:23 35 -> anon_inode:[eventpoll] lrwx------. 1 root root 64 Mar 27 17:23 36 -> socket:[55693897] lrwx------. 1 root root 64 Mar 27 17:23 37 -> socket:[55693905] lrwx------. 1 root root 64 Mar 27 17:23 38 -> socket:[55693916] lrwx------. 1 root root 64 Mar 27 17:23 39 -> socket:[55693918] lrwx------. 1 root root 64 Mar 27 17:23 4 -> socket:[55692782] lrwx------. 1 root root 64 Mar 27 17:23 40 -> socket:[55693917] lrwx------. 1 root root 64 Mar 27 17:23 41 -> socket:[55693095] lr-x------. 1 root root 64 Mar 27 17:23 42 -> /opt/java/jre1.8.0_72/lib/ext/localedata.jar lr-x------. 1 root root 64 Mar 27 17:23 43 -> /opt/java/jre1.8.0_72/lib/ext/cldrdata.jar lrwx------. 1 root root 64 Mar 27 17:23 44 -> socket:[55693953] lrwx------. 1 root root 64 Mar 27 17:23 45 -> socket:[55693965] lrwx------. 1 root root 64 Mar 27 17:23 46 -> socket:[55739320] l-wx------. 1 root root 64 Mar 27 17:23 47 -> /sagedata/NCAATipOff-38100032-0.ts lrwx------. 1 root root 64 Mar 27 17:23 48 -> socket:[55739318] lrwx------. 1 root root 64 Mar 27 17:23 49 -> socket:[55741569] lr-x------. 1 root root 64 Mar 27 17:23 5 -> pipe:[55692929] l-wx------. 1 root root 64 Mar 27 17:23 6 -> pipe:[55692929] lr-x------. 1 root root 64 Mar 27 17:23 7 -> /opt/opendct/jsw/lib/wrapper.jar lr-x------. 1 root root 64 Mar 27 17:23 8 -> /opt/opendct/lib/opendct-0.4.38.jar lr-x------. 1 root root 64 Mar 27 17:23 9 -> /opt/opendct/lib/cling-core-2.1.0-S
__________________
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 |
#668
|
||||
|
||||
Quote:
I also plan on making the transcoding consumer the default if everything Greg2dot0 has been experiencing short of this issue appears to be have been fixed. Were you seeing something like that too on occasion? Are you able to confirm things are any better as far as the dts errors?
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#669
|
|||
|
|||
Quote:
Quote:
I checked the logs and from 22:10 on, OpenDCT was constantly making corrections - "DEBUG FFmpegTranscoder - fixing stream ...". I'm attaching the first logfile (there are several because of the volume of log entries) so you can look at the start of the issue. If you need subsequent logs or want the resulting recording file let me know. For the attached log, take a look at timestamp 22:10:32.530 which is when the issue started. As of 23:17 the dts corrections are still happening and it's generated over 100MB of logs so far.
__________________
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 |
#670
|
||||
|
||||
Quote:
Update: Actually after looking at this a little more closely, the discontinuity actually started because a dts matched the last dts and that's not allowed, so the program tried to fix it. It looks like some code I put in place to determine if a dts <= last dts, but the pts > last pts, to just increment the dts so it's sequential was a bad idea. The dts values cannot be the same or less than the last value, so I'm going to change it to just discard the frame if dts == last dts which is what we would have done before.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG Last edited by EnterNoEscape; 03-27-2016 at 11:19 PM. |
#671
|
||||
|
||||
OpenDCT 0.4.39-RC4
I wanted to address these issues sooner than later and get all new installs switched over to the newer FFmpeg implementation. The old one is still available and will remain available in the foreseeable future, but I have no intentions of continuing to update it along side this one.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#672
|
||||
|
||||
Downloaded and installed RC4 and for the most part everything is working great. I do see some hiccups in the logs where I'll get:
10:33:55.483 [FFmpegTransSageTVConsumerImpl-885CT-HDHomeRun Prime Tuner 13142E5A-2] DEBUG FFmpegTranscoder - fixing stream 2 timestamp discontinuity diff = 8369361152, new offset = -8369358272, dts = 8590146770, new dts 220788498, last dts = 220785618, new pts = 8590146770, pts = 220788498, last pts = 220785618 but going back and checking the video, it seems to correlate with some pixelation and some frame jumps if the problem lasts longer, but that's it. This resembles the same behavior that I notice when recording using PrimeNetEncoder on my Windows box. I'll keep testing throughout the day.
__________________
Production SageTV Server: ASUS P8P67-Pro, 16gb RAM, Crucial m4 256GB SSD, Unbunto 16.4.04 LTS (Server x64), WDC Red 4TB Capture: 1x HDHR Prime, 1x HDHomeRun (ClearQAM) Clients: 1x HD300, 2x HD200, 2x Placeshifters |
#673
|
|||
|
|||
Thanks again for the quick fixes. I installed 0.4.39 and I'm testing it now.
Out of curiosity, what is the significance of the 8707216918 value here (from FFmpegTranscoder.java)?: Code:
if (dts <= lastDtsByStreamIndex[inputStreamIndex] || dts > 8707216918L) { *NOTE: this was with 0.4.38 Code:
10:26:05.944 [FFmpegTransSageTVConsumerImpl-294:DCT-HDHomeRun Prime Tuner 13191941-0] DEBUG FFmpegTranscoder - fixing stream 0 dts increment = 4504, dts = 10107630772, new dts = 10107626268, last dts = 10107626268, pts = 10107641282, last pts = 10107626267
__________________
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 |
#674
|
|||
|
|||
Quote:
|
#675
|
||||
|
||||
Quote:
Quote:
Quote:
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG Last edited by EnterNoEscape; 03-28-2016 at 01:35 PM. |
#676
|
||||
|
||||
I just noticed that 8589934592 is 2 ^ 33. Now I don't know how I came up with that incorrect number. I'm fixing it right now. These issues coming up now are really making this not feel like a release candidate.
I also just found something else saying to just let it overflow and FFmpeg will take care of it. I'll do that in the next release.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG Last edited by EnterNoEscape; 03-28-2016 at 02:26 PM. |
#677
|
||||
|
||||
OpenDCT 0.4.40-RC5
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#678
|
|||
|
|||
I've been running 0.4.40 for a few hours. It has also gotten into a dts correction loop like the earlier version. See attached logfile starting at 20:32:06.706.
__________________
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 |
#679
|
||||
|
||||
Quote:
By the way, thank you for your aggressive persistence in testing these builds.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG Last edited by EnterNoEscape; 03-28-2016 at 09:03 PM. |
#680
|
|||
|
|||
Quote:
Quote:
Now for some better news... it looks like the open file issue has been resolved. I didn't see any leftover file handles with 0.4.39 or 0.4.40 during switch/close operations and I even ran the disk out of space (with 0.4.39) to test that scenario.
__________________
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 |
Currently Active Users Viewing This Thread: 5 (0 members and 5 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATI TV Wonder Digital Cable Tuner & SageTV | nyle | Hardware Support | 4 | 02-17-2009 10:12 PM |
ATI TV Wonder Digital Cable Tuner | rajczi | Hardware Support | 4 | 01-14-2008 08:24 PM |
ATI TV Wonder™ Digital Cable Tuner | dadams | Hardware Support | 4 | 01-09-2007 10:55 AM |
Digital Cable - one guide - need HD on one tuner reg tv on other | Kimper | SageTV Beta Test Software | 14 | 11-27-2006 08:15 PM |
Multi-tuner Digital Cable | mlbdude | SageTV Software | 0 | 06-26-2003 01:08 PM |