Jump to content

"Freeview" Radio Channels From HDHomerun Wont Play


maegibbons

Recommended Posts

maegibbons

Hi
 

@ebr

 

Can you have a look at this post

 

https://emby.media/community/index.php?/topic/42324-music-channels-in-hdhomerun-cause-errors/&do=findComment&comment=404961

 

and see if we can get "freeview" radio channels from HDHomerun playing on Amazon/Fire TV!

 

Luke has got it to work on other platforms now.

 

My wife will be very grateful!

 

Many thanks

 

Krs

 

Mark

 

Link to comment
Share on other sites

maegibbons

Hi

 

@ebr

 

I have done that - log sent around 20:28 - Tests started at approx 20:26 GMT - user was emby.

 

I pressed magic "!" a few times until "too many errors" - no joy.

 

Server log for time period attached herewith

 

Many thanks for looking.

 

KR's

 

Mark

server-radio-ftv.txt

Link to comment
Share on other sites

CBers

I didn't realise that the Freeview radio channels didn't work, but I've just confirmed it here.

 

Just get a spinning circle.

 

Also just submitted logs from with the app, user = Master.

 

Just tried in the HDHomeRun app and it plays straight away.

  • Like 1
Link to comment
Share on other sites

Okay, thanks.  The app is getting tripped up by the lack of a video stream.  I'll have to look at it.

Link to comment
Share on other sites

Since I don't have any channels like this, it may take some trial and error to get this fully solved but a new beta (.16) is heading up as the first attempt.  CBers, you will probably have easiest access to it with one of your Google boxes so let me know if you get a chance to try it.  Thanks.

Link to comment
Share on other sites

Latchmor

Since I don't have any channels like this, it may take some trial and error to get this fully solved but a new beta (.16) is heading up as the first attempt.  CBers, you will probably have easiest access to it with one of your Google boxes so let me know if you get a chance to try it.  Thanks.

 

I'm giving it a whirl just now. Spinning circle so far... (I have got .16)

Cheers

Link to comment
Share on other sites

Latchmor

Mmm, restarted to get clean log and it actually played for about 5 seconds then stopped (still web client)

Link to comment
Share on other sites

CBers

Transcoding log.

 

http://192.168.1.140:8096/emby/videos/2c58b38d6a7e1ed42ff31174ea34d77b/stream.ts?DeviceId=c52890e176bbb811&MediaSourceId=ac1b4dab702744b4be1c3a1dc14eb52d_native_3139284676dcd4ae7d3fbe8bac8fa14e&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=0&VideoBitrate=109522286&AudioBitrate=192000&MaxAudioChannels=8&MaxFramerate=60&Level=51&Profile=high&PlaySessionId=eef222b8007c4ff19ab0d10f111129c3&api_key=47a32199a7ec42f1be0ba27593d4b439&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_ac1b4dab702744b4be1c3a1dc14eb52d_native_3139284676dcd4ae7d3fbe8bac8fa14e&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&RequireAvc=false

{"Protocol":"Http","Id":"ac1b4dab702744b4be1c3a1dc14eb52d_native_3139284676dcd4ae7d3fbe8bac8fa14e","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/708dc2a0d70e449bb88e4d9e370589a9/stream.ts","Type":"Default","Container":"mpegts","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"SupportsProbing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_ac1b4dab702744b4be1c3a1dc14eb52d_native_3139284676dcd4ae7d3fbe8bac8fa14e","BufferMs":0,"MediaStreams":[{"Codec":"mp2","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"Eng MP2 stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":192000,"RequiredHttpHeaders":{},"DefaultAudioStreamIndex":0}

C:\Users\Media\AppData\Roaming\MediaBrowser-Server\ffmpeg\20160410\ffmpeg.exe -fflags +genpts -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/708dc2a0d70e449bb88e4d9e370589a9/stream.ts" -vn -map 0:0 -map -0:s -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -pix_fmt yuv420p -preset medium -crf 23 -maxrate 109522286 -bufsize 219044572 -vsync -1 -profile:v high -level 4.1 -x264opts:0 subme=0:rc_lookahead=10:me_range=4:me=dia:no_chroma_me:8x8dct=0:partitions=none -flags -global_header -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -af "aresample=async=1" -y "C:\Users\Media\AppData\Roaming\MediaBrowser-Server\transcoding-temp\6283cb68115a10cd9b377f015f15e162.ts"


ffmpeg version N-79277-g0c90b2e Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 20.100 / 55. 20.100
  libavcodec     57. 34.100 / 57. 34.100
  libavformat    57. 32.100 / 57. 32.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 41.100 /  6. 41.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mpegts @ 00000000004ba5c0] Could not find codec parameters for stream 1 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 00000000004ba5c0] Could not find codec parameters for stream 2 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 00000000004ba5c0] Could not find codec parameters for stream 3 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 00000000004ba5c0] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'http://127.0.0.1:8096/LiveTv/LiveStreamFiles/708dc2a0d70e449bb88e4d9e370589a9/stream.ts':
  Duration: N/A, start: 63691.255911, bitrate: 192 kb/s
  Program 6784 
    Stream #0:0[0x44e](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0:1[0x1c2a]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:2[0x1c21]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:3[0x1c24]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:4[0x1ce9]: Unknown: none ([11][0][0][0] / 0x000B)
Codec AVOption preset (Configuration preset) specified for output file #0 (C:\Users\Media\AppData\Roaming\MediaBrowser-Server\transcoding-temp\6283cb68115a10cd9b377f015f15e162.ts) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Codec AVOption crf (Select the quality for constant quality mode) specified for output file #0 (C:\Users\Media\AppData\Roaming\MediaBrowser-Server\transcoding-temp\6283cb68115a10cd9b377f015f15e162.ts) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Codec AVOption x264opts (x264 options) specified for output file #0 (C:\Users\Media\AppData\Roaming\MediaBrowser-Server\transcoding-temp\6283cb68115a10cd9b377f015f15e162.ts) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Codec AVOption profile () specified for output file #0 (C:\Users\Media\AppData\Roaming\MediaBrowser-Server\transcoding-temp\6283cb68115a10cd9b377f015f15e162.ts) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Output #0, mpegts, to 'C:\Users\Media\AppData\Roaming\MediaBrowser-Server\transcoding-temp\6283cb68115a10cd9b377f015f15e162.ts':
  Metadata:
    encoder         : Lavf57.32.100
    Stream #0:0: Audio: aac (LC), 48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      encoder         : Lavc57.34.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
size=      81kB time=00:00:03.11 bitrate= 213.4kbits/s speed=6.22x    
size=     216kB time=00:00:08.14 bitrate= 217.6kbits/s speed= 7.5x    
size=     234kB time=00:00:08.74 bitrate= 219.4kbits/s speed=5.31x    
size=     249kB time=00:00:09.25 bitrate= 220.3kbits/s speed=4.31x    
size=     263kB time=00:00:09.77 bitrate= 220.6kbits/s speed=3.69x    
 
  • Like 1
Link to comment
Share on other sites

Getting transcoded/VLC playback.

 

Sent you internal app logs, user = Master.

 

So it is working...?

Link to comment
Share on other sites

maegibbons

Mmm, restarted to get clean log and it actually played for about 5 seconds then stopped (still web client)

 

Hmm, with the work Luke did earlier in the week I do not (or more precisecl "did" not) have a problem with web client.

 

Cannot test at moment as both Tuners are in use by the family!!

 

Will double check later.  Thanks for testing

 

Krs

 

Mark

Link to comment
Share on other sites

maegibbons

So it is working...?

 

 

You beat me to ask the same question by a minute!!  I cannot check at the moment as both Tuners are in use and I would be killed if i interrupt Saturday night viewing. 

 

I will do my own tests Later.  Thanks for working on this it is really appreciated.

 

Krs

 

Mark

Edited by maegibbons
Link to comment
Share on other sites

maegibbons

I have caused WAR but Ive just kicked everybody off the system and tested on Fire TV and it works.  Thank You.

 

I am just going to check my other clients now.

 

Krs

 

Mark

Link to comment
Share on other sites

maegibbons

Ok

 

Fire TV - Looking good

Qbox - Looking good

 

MIBOX - Not sure initial test failed - unable to test further at the moment - will do later when there is a cease fire.

 

Jane, the wife, says thank you very much for getting it working.  She uses the Qbox currently so shes very happy.

 

I will do more exhaustive testing tomorrow.

 

THANKS!

 

kRs

 

Mark

  • Like 1
Link to comment
Share on other sites

maegibbons

Ok

 

The MIBOX works too! So looks like 100% success here!

 

Seeing a few channels coming up as mono which is strange.

 

However let me investigate that.

 

In the meantime, consider this issue resolved.

 

Many thanks once again

 

Krs

 

Mark

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...