Jump to content

Search the Community

Showing results for tags 'TVHeadend'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android Mobile
    • Android TV / Fire TV
    • Emby Theater
    • iOS
    • Apple TV
    • Kodi
    • Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • LG Smart TV
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Ember for Emby
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Other
    • General Discussion
    • Developer API
    • Hardware
    • Media Clubs
    • Legacy Support


  • Emby Blog

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

Found 23 results

  1. huantxo

    No channels with TVHeadend plugin

    Hello. I'm trying to set up the TVHeadend plugin, and I got to the point where I can see the scheduled recordings, and play any archived recording. But I cannot see any live channel, the list is just empty. I can confirm EPG is working in the TVH web interface, and I can see TV streams through the .m3u address. I have tried by clicking on "Refresh EPG" in the Emby admin panel, with no luck. I am attaching logs. Any Help, please? embyserver.txt
  2. Hi all, I had to rebuild my TVHeadend VM and am trying to get LiveTV working again. The problem I'm having is that Emby seems to use all the old channel data, and I can't get it to reliably refresh things like the channel name and icon after updating it in TVHeadend. I have tried deleting all channels from TVHeadend and doing a refresh, and I have tried deleting metadata/livetv/*, but no dice so far. Every time I reinstall the TVH plugin and do a Guide Refresh I'm stuck with the old channel names and no icons. Is there a query I can run against a DB or something, or am I looking in the wrong places? How can I make sure all live tv data is cleared so I can ensure I get a fresh lineup? Any ideas, @@Tolotos ? Thanks,
  3. robrhedrick

    Live TV with HDHomeRun

    Are there plans to utilize the ip stream from HDHomeRun devices to remove the encrypted channel limitation? We currently use TVHeadEnd to handle this problem. With the addition of guide data to Emby Premiere, encrypted channels are the only hold up for ditching tvheadend.
  4. Hi! I've finally got my DVR working well enough that I'm happy with it, though still have a few kinks to work out. Two of such kinks are as follows: 1) Is there any way to hide the "TVHeadend Recordings" section? Since the recordings are visible within the LiveTV section's Recordings area, this seems kind of redundant. 2) Once I start recording a program, I can't stop the recording via the WebUI or the Roku Beta app (i.e. playback via web, hit record, and now I can't stop the recording). Can this be fixed? Otherwise, everything seems to be working fine! Thanks!
  5. adwuk

    Emby and TVHeadend play nicely

    Thanks to all the contributions in this community, I have finally been able to get a setup of Emby, TVHeadend and our LG Smart TVs that works really well for me. I had a false start with the Emby TVHeadend plugin, which I am sure is working fine for others - unfortunately for me I couldn't get the TV schedule to update reliably, and sometimes it just went blank. When searching for a fix to these issues I saw a comment from Luke suggesting the use of the M3U tuner option. So here is where I have ended up: 1) Latest version of TVHeadend 4.3 tuned to Freesat UK with a DVB-S2 USB tuner on ubuntu 18.04 - TVH 4.3 required because I make use of the MPEG-TS/Spawn streaming profile 2) Hardware/VAAPI encoding streaming profile with FFMPEG - this makes use of the QuickSync encoding available on an Intel NUC with i3-7100 processor 3) Emby server connects to TVH via the M3U tuner options in Emby Live TV 4) A post recording script quickly converts the recorded MPEG-TS files to MP4 Details of the setup: 1) You can follow the install instructions for TVHeadend. The key is to install version 4.3 (it is named unstable, but seems pretty stable to me) as I wanted to make use of the Intel's VAAPI/QuickSync hardware encoder. Once installed, I created a MPEG-TS/Spawn streaming profile called 'mp4-h264-aac' with the following properties: 2) Create a bash script in /home/hts/scripts called h264aac.sh. Don't forget to make it executable with 'chmod +x h264aac.sh'. This script uses VAAPI and takes the video stream and english audio stream and converts to H264, Level 4.1, AAC audio, deinterlaces keeping the source frame rate and reasonable quality at the highest compression. The output container is MPEG-TS which is fed to the Emby server. It uses VAAPI hardware encoding which is pretty quick, and the CPU rarely gets above 10% usage while it is running. #!/bin/bash ffmpeg -loglevel info \ -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi \ -i pipe:0 -map 0:v -map 0:m:language:eng -sn \ -c:v h264_vaapi \ -quality 0 -compression_level 1 -qp 25 -level 41 \ -vf 'format=nv12|vaapi,hwupload,deinterlace_vaapi=rate=frame:auto=1' \ -c:a aac \ -f mpegts pipe:1 3) In your Emby server, using the Live TV options, add a M3U tuner with the following URL: http://user:password@server:9981/playlist/channels.m3u?profile=mp4-h264-aac This will load all the channels from your TVHeadend server using the newly created streaming profile. You will also need to add a TV guide provider, and I find that the new Emby one for the UK works well for me. 4) Finally you will need to convert the MPEG-TS files after they are recorded. MPEG-TS isn't seekable and so if you want to fast-forward or rewind during play, MP4 is more appropriate. In the DVR section on your Emby server you can define a post processing script. I set mine to "/var/lib/emby/video/convert.sh", and here is the script: #!/bin/bash # break up the input file name file=$(basename "$1") base=$(basename "$1" .ts) dir=$(dirname "$1") # transcode the file ffmpeg -y -i "$1" -map 0 -c copy "${dir}/${base}.mp4" # get the error code RC=$? if [ "${RC}" -ne "0" ]; then # had an error, so check if the output file exists # if so, remove the output file if [ -f "${dir}/${base}.mp4" ]; then rm -f "${dir}/${base}.mp4" fi else # all OK, so check if the output file exists # if so, remove the input file if [ -f "${dir}/${base}.mp4" ]; then rm -f "$1" fi fi The post-processing script runs in a few seconds after the recording has completed. It now means that the whole process from selecting the programme to record, to it being listed and ready to play in Emby anywhere, is fully automated and simple enough for anyone to use. Hopefully this lot will prove useful to someone.
  6. Currently running Emby Server 3.2.70 and TVHeadEnd Plugin with an older HDHR (that is not compatible with Emby, therefor the tvheadend setup). At one point in time, I had all my channels icons showing up correctly (version 3.2.60) but since I've updated the docker containers for both tvheadend server (4.3-943) and emby (3.2.70) and I no longer see any channel icons. The icons do appear in Kodi and my iphone TvhClient app. Also, Icons for my other HDHomerun Duo work as expected for OTA in emby.
  7. mlapoint

    TVHeadEnd, HDHomeRun, Emby, Roku

    I have Emby, a HDHomeRun device, the TVHeadEnd (TVH) plug-in for Emby, and a WD My Cloud 4TB NAS. I am trying to set up TVH to be a DVR on my Ubuntu 16.04.2 Linux box. I have Emby set up to have TVH working and I believe I can watch live TV through Kodi, but not through Roku. I am not sure if TVH is giving me that ability to record through Kodi, but because I can't even watch TV in Roku, I am sure I can't record there. I went through the steps to set up HDHomeRun View and Config GUI on the Ubuntu box, but have run into several errors. I have contacted SiliconDust and hopefully will hear back from them in a couple days. My big question is this. Do I need to be able to view Live TV through my Ubuntu 16.04.2 box before the Emby Plug-in will work? Thank You, Mike LaPointe
  8. Hallo, I'm using Emby together with tvheadend 4.2.3 on a Debian Linux server. I've subscribed to Emby Premiere to test it before buying the lifetime pass I managed to connect these two via the Emby Plugin "TVHclient" For watching my media, I'm using the Android TV app (from the Play Store) on a Minix U9-H Android Box. My problem is: When watching TV recordings (via "Live TV" => "recordings") the recordings start, but when I want to seek forward or backwards, I only get the message "Unable to seek". The recordings are stored as H.264 + AAC files on the tvheadend server (profile "webtv-h264-aac-matroska"). As the better integration of tvheadend is my main reason for switching from Plex to Emby: How can I configure Emby and/or tvheadend to make the recordings seekable? By the way: When using the normal Android App for Emby on a Moto Z Play phone, the recording does not even start. I notice that the server starts transcoding (at least the CPU usage rises a lot), but the screen does not show anything. But as the Android TV app is more important, let's focus on this first. Thanks a lot! Kind regards Anna
  9. jacotec

    TVHeadend and radio channels

    Hi, I'm struggling to work around limitations of my AV Receiver to play my favourite internet radio stations (I'm a Radiotunes / DI premium user) because I need to use custom stream URL's which contain my customer number. One possible solution is to use DLNA streaming which my AV receiver can play. So "something" needs to convert the initial internet radio stream into a DLNA stream. Of course my first thought is "My Emby!". Oops, I can't add internet radio streams here OK, looked around yesterday, Serviio can do this but that's not pretty stable (could not get this running for more than 30 minutes without the stream stopping for some unknown reason). So I did some more workarounds. I've added my streams to my TVHeadend server as radio streams, they have a channel number, are tagged as "Radio" and I can see and play them in Kodi. So the TVH side works perfect. But now I don't see my radio streams in Emby (the plan was to use Emby as the DLNA server of the radio streams which Emby gets from my TVH server). @@Tolotos mentioned in the TVH plugin thread the plugin imports channels tagged as "HDTV", "SDTV" and "Radio". I see all my TV streams in "Live TV", but my radio streams are not there. Where do I see / access my radio streams from my TVHeadend server?
  10. batesman

    No LiveTV with TVHeadend

    Hi there @@Tolotos, I'm trying to get LiveTV on my devices but it doesn't work with any of them. TVH is connected and seems to be OK. I'm using OMV with HTS Tvheadend 4.0.9-16~g63c1034~jessie with the actual plugin and Emby-Server Version I do get EPG but no video. In the attached log I tried to play livetv within my browser and on my Sony TV. I also tried it on my chromecast ultra but also no success. A week ago I tried the inofficial vdr-plugin which at least showed a video on the chromecast. Any ideas ? THX server-63642277698_livetv.txt
  11. chattojimnow

    Refresh TV Icons

    Hey is there a way of refreshing the tv icons in live tv, just updated the icons in tvheadend, show up in everything other than Emby. Tried updating Refresh Guild. restarting server. anyone have some ideas?
  12. Hello, I just decided to go Premiere, and tried to use the Android App. It turns out the Live TV, that was working using the HTML5 in the browser, is not working on the APP. I tried both SD and HD channels. The logs show that the transcoding happens and the ffmpeg is run in both cases, but the screen stays black on the app. PC based browser streaming for the very same channel works flawlessly at the same time. I'm using TVH as backend for the tuner. Thanks for any help/hint. BR/ Andrea
  13. Hello, I got a dedicated HTPC with an Emby server runing. The problem is with the Live TV section and the pluginTVHclient 1.0.6145.42056, I set it up ok, it logs in the TVHeadend server, but it does not ask for anything, doest not get the channel list. There's no difference from the pluggin installed configured/unconfigured. 2017-02-01 00:53:23.3305 Info App: [TVHclient] HTSConnectionHandler.ensureConnection() : create new HTS-Connection2017-02-01 00:53:23.3313 Info App: [TVHclient] HTSConnectionHandler.ensureConnection: Used connection parameters: TVH Server = ''; HTTP Port = '9981'; HTSP Port = '9982'; Web-Root = ''; User = 'acmhtpc'; Password set = 'True'2017-02-01 00:53:23.3320 Info App: [TVHclient] HTSConnectionAsync.open: IPEndPoint = ''; AddressFamily = 'InterNetwork'2017-02-01 00:53:23.3320 Info App: [TVHclient] HTSConnectionAsync.open: socket connected.2017-02-01 00:53:23.3398 Info App: [TVHclient] HTSConnectionAsync.authenticate: start The TVHeadend works fine with Kodi on ubuntu and Android. How can I trace what is causing this ? emby server log https://justpaste.it/130ny Thank you.
  14. mlapoint

    Live TV, Emby, and Roku

    Emby Server Version Running on Ubuntu 16.04.2 TV Server HDHomeRun Connect IP TVHeadEnd Version 4.0.9 Storage WD My Cloud 4 TB Roku version 2 With the above setup, I am trying to get Live TV running through my Roku. I want to get not only live TV, but also DVR/PVR capabilities so I can record from TV (mostly sports games). I have already gotten Emby server loaded onto my Ubuntu server and it is running just fine. I know this because I have may movies on the WD device and can watch them from Emby through Roku and also Kodi (Kodi is beyond the scope of this post, I am just mentioning it to let you know Emby is working. Though Emby, I can watch Live TV through Kodi.). Through Roku, I go to the Emby channel and I go to "Live TV" and it is blank (no icon or pictures like under "Movies". The attached Picture is from my TV. When I click on the Live TV icon, it just does a "Clunk Clunk" like it is going into it, but nothing happens. Please offer me any suggestions on how I can get this working! Thank You, Mike LaPointe
  15. intellium

    ET Live TV playback not working

    Hi, Running the latest (classic) Emby Theater on Windows 10 When trying to playback Live TV (or recordings for that matter) I get greeted by an endless spinning rainbow loading icon. Playback never starts. However, I notice an ffmpeg instance is started and keeps running. The backend is running tvheadend, which has tuned to the channel and is outputting data to the ffmpeg instance. Playback of movies / shows works perfectly fine. After I try playing back Live TV, nothing works anymore after that. Not movies, not shows, nothing. Quitting the app also keeps a process running in Windows, making it unable to start again. Forcefully ending the process allows me to start it again. The ffmpeg instance keeps on running forever. On the server dashboard, this action is not visible. There is indication the client ever tried to play live tv, or that a transcode session is running. Here is the log from Emby Theater : 2016-09-16 21:12:53.8870 Info DirectShowPlayerBridge: Playing media source {"Protocol":"Http","Id":"0","Path":"http://<my tvhe server>:9981/stream/channelid/1194008199?ticket=22254B547B68C0502083E7495C5DE38C11848478","Type":"Default","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":false,"RequiresOpening":false,"RequiresClosing":true,"LiveStreamId":"1a755974de5dc3461dc6ecae8ddec68b_41c95b6de5174f82acbc56fe82d0a2f8_0","MediaStreams":[{"NalLengthSize":"0","IsInterlaced":true,"BitRate":8000000,"IsDefault":false,"IsForced":false,"Type":"Video","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false},{"DisplayTitle":"","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":8000000,"RequiredHttpHeaders":{},"TranscodingUrl":"/videos/8397741495099e9f84b88cd637506770/stream.mkv?DeviceId=<my device name>&MediaSourceId=0&VideoCodec=h264&AudioCodec=mp3,ac3,aac&AudioStreamIndex=-1&VideoBitrate=99808000&AudioBitrate=192000&PlaySessionId=8c1a91db6dd848d49bb47a456c99a0e6&api_key=16bc8ce997d94506b2ebbce53a93ba62&LiveStreamId=1a755974de5dc3461dc6ecae8ddec68b_41c95b6de5174f82acbc56fe82d0a2f8_0&CopyTimestamps=false&EnableSubtitlesInManifest=false","TranscodingContainer":"mkv","DefaultAudioStreamIndex":-1} 2016-09-16 21:12:53.9336 Info InternalDirectShowPlayer: Playing NPO 2. Audio Renderer: Default, Madvr: False, xySubFilter: True, ParentID: 2b2bca16aacc8a14d53a11bb829eafa5 2016-09-16 21:12:53.9336 Info InternalDirectShowPlayer: Playing Path https://<my emby server>:<port>/videos/8397741495099e9f84b88cd637506770/stream.mkv?DeviceId=<my device name>&MediaSourceId=0&VideoCodec=h264&AudioCodec=mp3,ac3,aac&AudioStreamIndex=-1&VideoBitrate=99808000&AudioBitrate=192000&PlaySessionId=8c1a91db6dd848d49bb47a456c99a0e6&api_key=16bc8ce997d94506b2ebbce53a93ba62&LiveStreamId=1a755974de5dc3461dc6ecae8ddec68b_41c95b6de5174f82acbc56fe82d0a2f8_0&CopyTimestamps=false&EnableSubtitlesInManifest=false 2016-09-16 21:12:53.9506 Info InternalDirectShowPlayer: Configure LAV Splitter 2016-09-16 21:12:53.9506 Info InternalDirectShowPlayer: SetSubtitleMode: 2016-09-16 21:12:53.9506 Info InternalDirectShowPlayer: SetPGSForcedStream: False 2016-09-16 21:12:53.9506 Info InternalDirectShowPlayer: SetPGSOnlyForced: False Nothing after that. Here is the log from the server : 2016-09-16 21:12:53.1963 Info HttpServer: HTTP GET http://<my emby server>:8096/Users/0e88ea49810d485ab6d24dcc2a56eb74/Items/8397741495099e9f84b88cd637506770. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/2.5.21 Chrome/53.0.2785.113 Electron/1.4.0 Safari/537.36 2016-09-16 21:12:53.2224 Info HttpServer: HTTP Response 200 to Time: 26ms. http://<my emby server>:8096/Users/0e88ea49810d485ab6d24dcc2a56eb74/Items/8397741495099e9f84b88cd637506770 2016-09-16 21:12:53.2301 Info HttpServer: HTTP GET http://<my emby server>:8096/Users/0e88ea49810d485ab6d24dcc2a56eb74/Items/8397741495099e9f84b88cd637506770/Intros. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/2.5.21 Chrome/53.0.2785.113 Electron/1.4.0 Safari/537.36 2016-09-16 21:12:53.2642 Debug XmlSerializer: Deserializing file /config/config/cinemamode.xml 2016-09-16 21:12:53.2704 Info HttpServer: HTTP Response 200 to Time: 40ms. http://<my emby server>:8096/Users/0e88ea49810d485ab6d24dcc2a56eb74/Items/8397741495099e9f84b88cd637506770/Intros 2016-09-16 21:12:53.3162 Info HttpServer: HTTP GET http://<my emby server>:8096/Playback/BitrateTest?Size=1000000. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/2.5.21 Chrome/53.0.2785.113 Electron/1.4.0 Safari/537.36 2016-09-16 21:12:53.3502 Info HttpServer: HTTP GET http://<my emby server>:8096/Playback/BitrateTest?Size=2400000. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/2.5.21 Chrome/53.0.2785.113 Electron/1.4.0 Safari/537.36 2016-09-16 21:12:53.3513 Info HttpServer: HTTP Response 200 to Time: 35ms. http://<my emby server>:8096/Playback/BitrateTest?Size=1000000 2016-09-16 21:12:53.3924 Info HttpServer: HTTP POST http://<my emby server>:8096/Items/8397741495099e9f84b88cd637506770/PlaybackInfo?UserId=0e88ea49810d485ab6d24dcc2a56eb74&StartTimeTicks=0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/2.5.21 Chrome/53.0.2785.113 Electron/1.4.0 Safari/537.36 2016-09-16 21:12:53.3983 Info HttpServer: HTTP Response 200 to Time: 48ms. http://<my emby server>:8096/Playback/BitrateTest?Size=2400000 2016-09-16 21:12:53.4352 Debug LiveTvMediaSourceProvider: MediaSources: [{"Protocol":"Http","Id":"8397741495099e9f84b88cd637506770","Path":"[url=]","Type":"Default","Name":"NPO[/url] 2","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":true,"OpenToken":"LiveTvChannel_8397741495099e9f84b88cd637506770_8397741495099e9f84b88cd637506770","RequiresClosing":false,"BufferMs":1500,"MediaStreams":[],"PlayableStreamFileNames":[],"Formats":[],"RequiredHttpHeaders":{}}] 2016-09-16 21:12:53.4811 Info App: Cannot direct play due to unknown content bitrate 2016-09-16 21:12:53.4811 Info App: Cannot direct play due to unknown content bitrate 2016-09-16 21:12:53.4811 Info App: Profile: Unknown Profile, Path: [url=][/url], isEligibleForDirectPlay: False, isEligibleForDirectStream: False 2016-09-16 21:12:53.4929 Info App: RemoteClientBitrateLimit: 4000000, RemoteIp:, IsInLocalNetwork: True 2016-09-16 21:12:53.4929 Info App: Cannot direct play due to unknown content bitrate 2016-09-16 21:12:53.4929 Info App: Cannot direct play due to unknown content bitrate 2016-09-16 21:12:53.4929 Info App: Profile: Unknown Profile, Path: [url=][/url], isEligibleForDirectPlay: False, isEligibleForDirectStream: False 2016-09-16 21:12:53.5137 Info HttpServer: HTTP Response 200 to Time: 122ms. http://<my emby server>:8096/Items/8397741495099e9f84b88cd637506770/PlaybackInfo?UserId=0e88ea49810d485ab6d24dcc2a56eb74&StartTimeTicks=0 2016-09-16 21:12:53.5196 Info HttpServer: HTTP POST http://<my emby server>:8096/LiveStreams/Open?UserId=0e88ea49810d485ab6d24dcc2a56eb74&StartTimeTicks=0&ItemId=8397741495099e9f84b88cd637506770&PlaySessionId=8c1a91db6dd848d49bb47a456c99a0e6. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) EmbyTheater/2.5.21 Chrome/53.0.2785.113 Electron/1.4.0 Safari/537.36 2016-09-16 21:12:53.5563 Info App: Opening channel stream from TVHclient LiveTvService, external channel Id: 1194008199 2016-09-16 21:12:53.5636 Info App: Live stream info: {"Protocol":"Http","Id":"0","Path":"http://<my tvhe server>:9981/stream/channelid/1194008199?ticket=22254B547B68C0502083E7495C5DE38C11848478","Type":"Default","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":true,"LiveStreamId":"41c95b6de5174f82acbc56fe82d0a2f8_0","MediaStreams":[{"IsInterlaced":true,"IsDefault":false,"IsForced":false,"Type":"Video","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false},{"DisplayTitle":"","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false}],"PlayableStreamFileNames":[],"Formats":[],"RequiredHttpHeaders":{}} 2016-09-16 21:12:53.5743 Debug MediaSourceManager: Live stream opened: {"Protocol":"Http","Id":"0","Path":"http://<my tvhe server>:9981/stream/channelid/1194008199?ticket=22254B547B68C0502083E7495C5DE38C11848478","Type":"Default","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":true,"LiveStreamId":"1a755974de5dc3461dc6ecae8ddec68b_41c95b6de5174f82acbc56fe82d0a2f8_0","MediaStreams":[{"NalLengthSize":"0","IsInterlaced":true,"BitRate":8000000,"IsDefault":false,"IsForced":false,"Type":"Video","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false},{"DisplayTitle":"","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":8000000,"RequiredHttpHeaders":{}} 2016-09-16 21:12:53.6038 Info App: Profile: Unknown Profile, Path: http://<my tvhe server>:9981/stream/channelid/1194008199?ticket=22254B547B68C0502083E7495C5DE38C11848478, isEligibleForDirectPlay: True, isEligibleForDirectStream: True 2016-09-16 21:12:53.6087 Info App: Profile: Unknown Profile, No direct play profiles found for Path: http://<my tvhe server>:9981/stream/channelid/1194008199?ticket=22254B547B68C0502083E7495C5DE38C11848478 2016-09-16 21:12:53.6087 Info App: RemoteClientBitrateLimit: 4000000, RemoteIp:, IsInLocalNetwork: True 2016-09-16 21:12:53.6088 Info App: Profile: Unknown Profile, Path: http://<my tvhe server>:9981/stream/channelid/1194008199?ticket=22254B547B68C0502083E7495C5DE38C11848478, isEligibleForDirectPlay: True, isEligibleForDirectStream: True 2016-09-16 21:12:53.6088 Info App: Profile: Unknown Profile, No direct play profiles found for Path: http://<my tvhe server>:9981/stream/channelid/1194008199?ticket=22254B547B68C0502083E7495C5DE38C11848478 2016-09-16 21:12:53.6166 Info HttpServer: HTTP Response 200 to Time: 97ms. http://<my emby server>:8096/LiveStreams/Open?UserId=0e88ea49810d485ab6d24dcc2a56eb74&StartTimeTicks=0&ItemId=8397741495099e9f84b88cd637506770&PlaySessionId=8c1a91db6dd848d49bb47a456c99a0e6 2016-09-16 21:12:54.2484 Info HttpServer: HTTP GET http://<my emby server>:8096/videos/8397741495099e9f84b88cd637506770/stream.mkv?DeviceId=<my device name>&MediaSourceId=0&VideoCodec=h264&AudioCodec=mp3,ac3,aac&AudioStreamIndex=-1&VideoBitrate=99808000&AudioBitrate=192000&PlaySessionId=8c1a91db6dd848d49bb47a456c99a0e6&LiveStreamId=1a755974de5dc3461dc6ecae8ddec68b_41c95b6de5174f82acbc56fe82d0a2f8_0&CopyTimestamps=false&EnableSubtitlesInManifest=false. UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729) 2016-09-16 21:12:54.2695 Debug MediaSourceManager: Getting live stream 1a755974de5dc3461dc6ecae8ddec68b_41c95b6de5174f82acbc56fe82d0a2f8_0 2016-09-16 21:12:54.3542 Info App: /bin/ffmpeg -fflags +genpts -i "http://<my tvhe server>:9981/stream/channelid/1194008199?ticket=22254B547B68C0502083E7495C5DE38C11848478" -sn -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -vf "yadif=0:-1:0" -pix_fmt yuv420p -preset superfast -crf 23 -b:v 8000000 -maxrate 8000000 -bufsize 16000000 -vsync -1 -map_metadata -1 -threads 0 -codec:a:0 libmp3lame -ab 192000 -af "aresample=async=1" -y "/config/transcoding-temp/e37257fdaa45c3c2bd03ea79cfed67c2.mkv" And here is the ffmpeg log : http://<my emby server>:8096/videos/8397741495099e9f84b88cd637506770/stream.mkv?DeviceId=<my device name>&MediaSourceId=0&VideoCodec=h264&AudioCodec=mp3,ac3,aac&AudioStreamIndex=-1&VideoBitrate=99808000&AudioBitrate=192000&PlaySessionId=8c1a91db6dd848d49bb47a456c99a0e6&api_key=16bc8ce997d94506b2ebbce53a93ba62&LiveStreamId=1a755974de5dc3461dc6ecae8ddec68b_41c95b6de5174f82acbc56fe82d0a2f8_0&CopyTimestamps=false&EnableSubtitlesInManifest=false {"Protocol":"Http","Id":"0","Path":"http://<my tvhe server>:9981/stream/channelid/1194008199?ticket=22254B547B68C0502083E7495C5DE38C11848478","Type":"Default","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":true,"LiveStreamId":"1a755974de5dc3461dc6ecae8ddec68b_41c95b6de5174f82acbc56fe82d0a2f8_0","MediaStreams":[{"NalLengthSize":"0","IsInterlaced":true,"BitRate":8000000,"IsDefault":false,"IsForced":false,"Type":"Video","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false},{"DisplayTitle":"","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":8000000,"RequiredHttpHeaders":{}} /bin/ffmpeg -fflags +genpts -i "http://<my tvhe server>:9981/stream/channelid/1194008199?ticket=22254B547B68C0502083E7495C5DE38C11848478" -sn -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -vf "yadif=0:-1:0" -pix_fmt yuv420p -preset superfast -crf 23 -b:v 8000000 -maxrate 8000000 -bufsize 16000000 -vsync -1 -map_metadata -1 -threads 0 -codec:a:0 libmp3lame -ab 192000 -af "aresample=async=1" -y "/config/transcoding-temp/e37257fdaa45c3c2bd03ea79cfed67c2.mkv" ffmpeg version 3.1.1-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (Debian 5.4.0-4) 20160609 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libmfx --enable-libzimg --cc=gcc libavutil 55. 28.100 / 55. 28.100 libavcodec 57. 48.101 / 57. 48.101 libavformat 57. 41.100 / 57. 41.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 47.100 / 6. 47.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 1.100 / 2. 1.100 libpostproc 54. 0.100 / 54. 0.100 [h264 @ 0x5c1e5a0] Increasing reorder buffer to 2 Input #0, matroska,webm, from 'http://<my tvhe server>:9981/stream/channelid/1194008199?ticket=22254B547B68C0502083E7495C5DE38C11848478': Metadata: title : NPO 2 encoder : Tvheadend Matroska muxer Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default) Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s (default) Stream #0:2(dut): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default) Stream #0:3: Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s (default) Stream #0:4(dut): Subtitle: dvb_subtitle (default) Stream #0:5(dut): Subtitle: dvb_subtitle (default) Stream #0:6(dut): Subtitle: subrip (default) [libx264 @ 0x5f6cfa0] using SAR=1/1 [libx264 @ 0x5f6cfa0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 [libx264 @ 0x5f6cfa0] profile High, level 4.0 [libx264 @ 0x5f6cfa0] 264 - core 148 r276 3f5ed56 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=8000 vbv_bufsize=16000 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00 [matroska @ 0x5cebda0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. Last message repeated 1 times Output #0, matroska, to '/config/transcoding-temp/e37257fdaa45c3c2bd03ea79cfed67c2.mkv': Metadata: encoder : Lavf57.41.100 Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 8000 kb/s, 25 fps, 1k tbn, 25 tbc (default) Metadata: encoder : Lavc57.48.101 libx264 Side data: cpb: bitrate max/min/avg: 8000000/0/8000000 buffer size: 16000000 vbv_delay: -1 Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: encoder : Lavc57.48.101 libmp3lame Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:2 -> #0:1 (ac3 (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help frame= 8 fps=0.0 q=0.0 size= 0kB time=00:00:01.89 bitrate= 0.0kbits/s speed=3.78x frame= 19 fps= 18 q=0.0 size= 0kB time=00:00:02.37 bitrate= 0.0kbits/s speed=2.29x frame= 44 fps= 29 q=25.0 size= 600kB time=00:00:03.33 bitrate=1472.8kbits/s speed=2.16x frame= 51 fps= 22 q=25.0 size= 751kB time=00:00:03.67 bitrate=1673.8kbits/s speed=1.61x frame= 78 fps= 28 q=23.0 size= 1455kB time=00:00:04.65 bitrate=2559.1kbits/s speed=1.67x frame= 83 fps= 22 q=24.0 size= 1584kB time=00:00:04.94 bitrate=2624.3kbits/s speed=1.34x frame= 110 fps= 26 q=24.0 size= 2272kB time=00:00:05.90 bitrate=3150.8kbits/s speed=1.41x frame= 119 fps= 24 q=24.0 size= 2439kB time=00:00:06.38 bitrate=3128.4kbits/s speed=1.27x frame= 142 fps= 26 q=25.0 size= 2982kB time=00:00:07.32 bitrate=3336.5kbits/s speed=1.32x frame= 151 fps= 24 q=26.0 size= 3152kB time=00:00:07.65 bitrate=3372.0kbits/s speed=1.22x frame= 174 fps= 26 q=27.0 size= 3849kB time=00:00:08.57 bitrate=3679.2kbits/s speed=1.26x frame= 183 fps= 23 q=26.0 size= 4084kB time=00:00:08.95 bitrate=3736.0kbits/s speed=1.13x frame= 207 fps= 25 q=25.0 size= 4742kB time=00:00:09.91 bitrate=3918.5kbits/s speed=1.18x frame= 223 fps= 25 q=26.0 size= 5097kB time=00:00:10.53 bitrate=3962.1kbits/s speed=1.17x frame= 248 fps= 26 q=24.0 size= 5825kB time=00:00:11.54 bitrate=4132.6kbits/s speed=1.21x ^^ repeated forever until I manually kill the process Live TV playback works fine in the webapp. This is the first time I've ever tried the Emby Theater app and on 2 Windows 10 machines, the results are the same
  16. I'm looking at the best way to distribute a TV feed across a number of identical smart devices in my home. I have a dual TV tuner hooked up to TVHeadend, using the relevant plugin to provide TV Guide and Live Streaming. My question relates to how best to keep hardware utilization down - transcoding the stream is CPU intensive, each stream using up to 25% of all available CPU time on the retired i7 2nd gen laptop I've put in place to run this. Assuming 2 or more of the devices want to watch the same live channel - is there a way that each can receive the same transcoded 'chunk' of data? Latency differences between the devices would be minimal, and in different rooms, I don't see this being an issue anyway if it meant they went out of sync. I'd quite like to put this forward at my workplace - they have recently gone through the process of licensing us for TV and relevant performance rights etc. and have put Roku's on each TV so we can stream sporting events such as the Euros, Wimbledon and the Olympics etc. but to feed the 12 screens would require some serious CPU horsepower. The network is up to it, but I'm not sure I'd have the compute to cope. I look forward to your insight. James
  17. sempreceibe


    Antes de nada presentarme y agradecer vuestra ayuda en esta primera pregunta de novato. Tras añadir la Epg de movistar y activar el pluging de TVheadend con la última beta, me actualiza todos los picons y casi todas las películas, importando los metadata. El problema lo tengo con las series. Aunque tengo activado Themoviedb y buscandolas en la web aparecen, ni con la busqueda manual ni poniendo el id me las actualiza. Me explico, si voy en cualquier capítulo de la serie a editar y despues a Identify siempre se queda buscando. No me hace nada. Se queda siempre buscando... La serie aparece en Themoviedb.org Y si intento poner el ID manualmente no funciona lo pruebo y me carga una dirección tipo themoviedb.org/movie/ID En cambio de pongo cualquier ID de una película y actualiza correctamente. ¿Sabéis si hay que configurar la EPG de alguna forma para que el Emby distinga entre peliculas y series en Live TV? Lo digo porque eso se lo puedo añadir en un script que tengo para importar el xml de la guía. Lo raro es que me detecta todas las series dentro de Movies. Y las series que no me detecta dentro de Movies no me deja colocar el ID de Themoviedb,org Adjunto el archivo de log de cuando no me encuentra la serie. server-63594892800.txt Muchas gracias por adelantado y saludos.
  18. troyscorer

    LiveTV and TVHeadend Client

    I set all this up last night and it was all working fine from both my Kodi TVH PVR Plugin and the WebCLient. today i opened up the webclient and there was no guide info, attempting to actually watch a channel popsup a "The given key was not present in the dictionary." error I checked the server and was presented with a "Status: Unavailable (The given key was not present in the dictionary.)" Then I checked the TVHeadend server and its running fine and is even reporting successful registration and elevation of priveliges for the client. May 07 11:34:30.951 htsp: Got connection from May 07 11:34:30.952 htsp: Identified as user ozhound May 07 11:34:30.952 htsp: [ ozhound ]: Welcomed client software: TVHclient (HTSPv17) May 07 11:34:30.953 htsp: [ ozhound | TVHclient ]: Privileges raised May 07 11:34:31.229 htsp: [ ozhound | TVHclient ]: Welcomed client software: TVHclient (HTSPv17) May 07 11:35:39.309 htsp: [ ozhound | TVHclient ]: Welcomed client software: TVHclient (HTSPv17) Ive restarted the TVHeadend service and the windows 7 pc that the server runs on with no effect. it still successfully authenticates at the TVH server but doesnt want to work on the Emby Server. Snippet of the error log 2015-05-07 11:35:14.4396 Info - App: [TVHclient] LiveTvService.ensureConnection: Priority was out of range [0-4] - set to 2 2015-05-07 11:35:14.4396 Info - App: [TVHclient] LiveTvService.ensureConnection: Used connection parameters: TVH Server = ''; HTTP Port = '9981'; HTSP Port = '9982'; User = 'ozhound'; Password set = 'True' 2015-05-07 11:35:14.4396 Info - App: [TVHclient] HTSConnectionAsync.authenticate: start 2015-05-07 11:35:14.4396 Error - App: Error getting service status info from TVHclient *** Error Report *** Version: 3.0.5597.1 Command line: C:\Users\Theatre\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1 Processor count: 4 64-Bit OS: True 64-Bit Process: False Program data path: C:\Users\Theatre\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\Theatre\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe The given key was not present in the dictionary. System.Collections.Generic.KeyNotFoundException at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at TVHeadEnd.HTSP.HTSMessage.getBigInteger(String name) at TVHeadEnd.HTSP.HTSMessage.getLong(String name) at TVHeadEnd.HTSP.HTSConnectionAsync.authenticate(String username, String password) at TVHeadEnd.LiveTvService.ensureConnection() at TVHeadEnd.LiveTvService.<GetStatusInfoAsync>d__91.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Server.Implementations.LiveTv.LiveTvManager.<GetServiceInfo>d__22a.MoveNext() server-63566595081.txt
  19. Hi all, i would like to buy a Raspberry PI model 3 B, install ubuntu and tvheadend and attach to the raspberry pi my usb DVB-T tuner. After that i would like to configure emby in my nas to talk with tvheadend. I have only a doubt, is it possible to record directly on nas's disks using emby? some suggestions? Thanks so much guys, Cheers, Marco
  20. spaeck

    Emby not showing TVHeadend Channels

    Hi Folks, my Emby-Server is successfully connecting to my tvheadend-server via htsp, but it is not showing any channels. Recordings are displayed correctly. Hope you guys can help. greetings, spaeck log.txt
  21. Hi, All channels with channel number > 1000 are missing from Live TV -> Guide. I don't have access to any other TV cards, so workout out if it's emby or TVheadend plugin. Using the latest TVheadend plugin & emby Server. Regards, Russ
  22. Drew333

    ANSWERED TV Guide not showing.

    Hello everyone, I have Emby (3.0.5781.3) on Ubuntu Server (14.04) with TVHeadend Server (4.0.7), and the TVHeadend plugin for Emby (TVHclient 1.0.5628.29938). I have Schedules Direct setup for my guide provider, and I have an active membership. I have subscribed to my local antenna channels in Schedules Direct, and I setup Scheduled Direct as a guide provider in Emby using my login, my ZIP code, and using the antenna lineup. Live TV is working, but my guide is not working within Emby. I have tried refreshing the guide data, and even restarting the host machine. What do I need to do to get my guide working?
  23. Drew333

    ANSWERED Trouble with live TV.

    Hello all, I am having trouble getting live TV to work with Emby. I have Emby (3.0.5781.3) on Ubuntu Server (14.04) with TVHeadend Server (4.0.7), and the TVHeadend plugin for Emby (TVHclient 1.0.5628.29938). I have TVHeadend server setup with my channels, and the network streams work in VLC using the channel URL. I created a user in the access entry named "emby" with a password, and it works because I tested with VLC. When I put the settings into the TVHclient plugin on Emby, it shows the status as "OK". Emby doesn't show any channels on the live TV tab. Am I doing something wrong? Is there a better server for LiveTV setup on linux?
  • Create New...