Jump to content

Changing channels


Recommended Posts

paulsavo1
Posted

Is there a way to increase speed at which channels tune in/change its taking about 30 seconds for me for a channel to come on, using same setup on other formats P/Player or Tvirl its almost instantaneous, also is there a way to one touch play a channel rather than bring menu up and have to select tune or record?

im using emby server on shield and viewing on same shield

 

thanks in advance Paul

Posted

1) Make sure you have the option to direct stream Live TV enabled in the app settings

 

2) Hitting the "Play" button on your remote (or double-tapping the volume slider on Shield remote) will directly tune to a channel that is in focus in a list, grid or the guide.

paulsavo1
Posted

can you tell me what is expeced time for a channel to load? i have selected direct stream and have seen an improvement but its still about 10/15 seconds, as i said on other software it has been seamless

Posted

can you tell me what is expeced time for a channel to load? i have selected direct stream and have seen an improvement but its still about 10/15 seconds, as i said on other software it has been seamless

 

It depends on the Emby app you're using, where the channels come from, etc. That's why I asked to look at an example based on the information requested in how to report a media playback issue. thanks !

paulsavo1
Posted

i will send the logs tomorrow, just going work now

paulsavo1
Posted

ok mate sent you a log, paul.savo@me.com put on about 4 channels all taking 8 to 15 seconds to change, if you can have a look thanks

paulsavo1
Posted

I think. this is log of server for most recent channel

 

2018-06-06 18:58:47.871

Application version: 3.4.1.1

 

http://192.168.1.3:8096/emby/videos/dd98d00c3761dcb3ae11d1c5ee16dab2/live.m3u8?DeviceId=27b540f0fba12aa8&MediaSourceId=f823244dba954fbdbd1bcb2b559abd58_b3c17d7a3fc74eb5878a172d4efe2d8d&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,dts,dca,dtshd,aac,mp3&AudioStreamIndex=-1&VideoBitrate=109808000&AudioBitrate=192000&PlaySessionId=f23641c25fd645aaa686f90e5abd3f38&api_key=6bb44751ed874560be5ca68e7c94defe&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_f823244dba954fbdbd1bcb2b559abd58_b3c17d7a3fc74eb5878a172d4efe2d8d&CopyTimestamps=true&RequireAvc=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=52&hevc-profile=Main,Main10&ac3-audiochannels=8&dts-audiochannels=8&dca-audiochannels=8&dtshd-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported

 

{"Protocol":"Http","Id":"f823244dba954fbdbd1bcb2b559abd58_b3c17d7a3fc74eb5878a172d4efe2d8d","Path":"http://127.0.0.1:8888/playlist.m3u8?ch=03","Type":"Default","Container":"hls,applehttp","Size":294,"IsRemote":false,"ReadAtNativeFramerate":false,"IgnoreDts":true,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_f823244dba954fbdbd1bcb2b559abd58_b3c17d7a3fc74eb5878a172d4efe2d8d","RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"Codec":"h264","TimeBase":"1/90000","CodecTimeBase":"0/2","VideoRange":"SDR","DisplayTitle":"720PH264","NalLengthSize":"0","IsInterlaced":false,"BitRate":8000000,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":720,"Width":1280,"RealFrameRate":59.94006,"Profile":"Main","Type":"Video","AspectRatio":"16:9","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":31,"IsAnamorphic":false},{"Codec":"aac","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"AAC stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Profile":"LC","Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"Formats":[],"Bitrate":8192000,"RequiredHttpHeaders":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36"},"AnalyzeDurationMs":3000}

 

User policy for Paul: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

 

/data/data/com.emby.embyserver/files/ffmpeg_3_4_2/ffmpeg -analyzeduration 3000000 -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36" -fflags +igndts -i "http://127.0.0.1:8888/playlist.m3u8?ch=03"-map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 copy -flags -global_header -vsync -1 -codec:a:0 copy -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/bf6594fbb4198a4f750bafbec60df0a2/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/storage/emulated/0/Android/data/com.emby.embyserver/files/transcoding-temp/bf6594fbb4198a4f750bafbec60df0a2.m3u8" -y "/storage/emulated/0/Android/data/com.emby.embyserver/files/transcoding-temp/bf6594fbb4198a4f750bafbec60df0a2%d.ts"

 

ffmpeg version 4.0 Copyright © 2000-2018 the FFmpeg developers

built with Android clang version 5.0.300080 (based on LLVM 5.0.300080)

configuration: --enable-cross-compile --cross-prefix=arm-linux-androideabi- --cc=arm-linux-androideabi-clang --cxx=arm-linux-androideabi-clang++ --arch=armv7 --prefix=/home/embybuilder/Buildbot/arm_neon_android/ffmpeg-arm_neon_android/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libzvbi --enable-version3 --extra-libs='-ldl -lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -luuid -lz -lvorbis -logg -lnettle -lhogweed -lgmp -liconv -lm' --target-os=android --disable-shared --enable-static --enable-jni --enable-mediacodec --enable-omx --disable-cuda --disable-cuvid --disable-nvenc

libavutil 56. 14.100 / 56. 14.100

libavcodec 58. 18.100 / 58. 18.100

libavformat 58. 12.100 / 58. 12.100

libavdevice 58. 3.100 / 58. 3.100

libavfilter 7. 16.100 / 7. 16.100

libswscale 5. 1.100 / 5. 1.100

libswresample 3. 1.100 / 3. 1.100

libpostproc 55. 1.100 / 55. 1.100

[hls,applehttp @ 0x4ba6f000] Opening 'http://127.0.0.1:8888/chunks.m3u8?nimblesessionid=71581123&wmsAuthSign=c2VydmVyX3RpbWU9Ni82LzIwMTggNTo1NTo0NSBQTSZoYXNoX3ZhbHVlPUo4U2puTnhsUk5ZMmlqaTNnTmNXWGc9PSZ2YWxpZG1pbnV0ZXM9MjQwJmlkPXZpZXdzcy0zNzg3'for reading

[hls,applehttp @ 0x4ba6f000] Opening 'http://127.0.0.1:8888/l_11950931_8496500_1416.ts?nimblesessionid=71581123&wmsAuthSign=c2VydmVyX3RpbWU9Ni82LzIwMTggNTo1NTo0NSBQTSZoYXNoX3ZhbHVlPUo4U2puTnhsUk5ZMmlqaTNnTmNXWGc9PSZ2YWxpZG1pbnV0ZXM9MjQwJmlkPXZpZXdzcy0zNzg3'for reading

[hls,applehttp @ 0x4ba6f000] Opening 'http://127.0.0.1:8888/l_11950931_8503173_1417.ts?nimblesessionid=71581123&wmsAuthSign=c2VydmVyX3RpbWU9Ni82LzIwMTggNTo1NTo0NSBQTSZoYXNoX3ZhbHVlPUo4U2puTnhsUk5ZMmlqaTNnTmNXWGc9PSZ2YWxpZG1pbnV0ZXM9MjQwJmlkPXZpZXdzcy0zNzg3'for reading

Input #0, hls,applehttp, from 'http://127.0.0.1:8888/playlist.m3u8?ch=03':

Duration: N/A, start: 8496.500000, bitrate: N/A

Program 0

Metadata:

variant_bitrate : 4634577

Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720, 59.94 tbr, 90k tbn, 180k tbc

Metadata:

variant_bitrate : 4634577

Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp

Metadata:

variant_bitrate : 4634577

[segment @ 0x4ba6fc00] Opening '/storage/emulated/0/Android/data/com.emby.embyserver/files/transcoding-temp/bf6594fbb4198a4f750bafbec60df0a20.ts' for writing

Output #0, segment, to '/storage/emulated/0/Android/data/com.emby.embyserver/files/transcoding-temp/bf6594fbb4198a4f750bafbec60df0a2%d.ts':

Metadata:

encoder : Lavf58.12.100

Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720, q=2-31, 59.94 tbr, 90k tbn, 90k tbc

Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp

Stream mapping:

Stream #0:0 -> #0:0 (copy)

Stream #0:1 -> #0:1 (copy)

Press [q] to stop, [?] for help

frame= 152 fps=0.0 q=-1.0 size=N/A time=00:00:02.51 bitrate=N/A speed=4.29x

[segment @ 0x4ba6fc00] Opening '/storage/emulated/0/Android/data/com.emby.embyserver/files/transcoding-temp/bf6594fbb4198a4f750bafbec60df0a2.m3u8.tmp' for writing

[segment @ 0x4ba6fc00] Opening '/storage/emulated/0/Android/data/com.emby.embyserver/files/transcoding-temp/bf6594fbb4198a4f750bafbec60df0a21.ts' for writing

frame= 303 fps=275 q=-1.0 size=N/A time=00:00:05.03 bitrate=N/A speed=4.57x

[http @ 0x4ba84000] Opening 'http://127.0.0.1:8888/l_11950931_8508178_1418.ts?nimblesessionid=71581123&wmsAuthSign=c2VydmVyX3RpbWU9Ni82LzIwMTggNTo1NTo0NSBQTSZoYXNoX3ZhbHVlPUo4U2puTnhsUk5ZMmlqaTNnTmNXWGc9PSZ2YWxpZG1pbnV0ZXM9MjQwJmlkPXZpZXdzcy0zNzg3'for reading

frame= 401 fps=249 q=-1.0 size=N/A time=00:00:06.67 bitrate=N/A speed=4.14x

[segment @ 0x4ba6fc00] Opening '/storage/emulated/0/Android/data/com.emby.embyserver/files/transcoding-temp/bf6594fbb4198a4f750bafbec60df0a2.m3u8.tmp' for writing

[segment @ 0x4ba6fc00] Opening '/storage/emulated/0/Android/data/com.emby.embyserver/files/transcoding-temp/bf6594fbb4198a4f750bafbec60df0a22.ts' for writing

frame= 449 fps=202 q=-1.0 size=N/A time=00:00:07.47 bitrate=N/A speed=3.36x

frame= 466 fps=170 q=-1.0 size=N/A time=00:00:07.75 bitrate=N/A speed=2.84x

frame= 489 fps=150 q=-1.0 size=N/A time=00:00:08.14 bitrate=N/A speed= 2.5x

frame= 505 fps=134 q=-1.0 size=N/A time=00:00:08.40 bitrate=N/A speed=2.23x

frame= 522 fps=120 q=-1.0 size=N/A time=00:00:08.69 bitrate=N/A speed= 2x

frame= 543 fps=112 q=-1.0 size=N/A time=00:00:09.04 bitrate=N/A speed=1.86x

frame= 562 fps=105 q=-1.0 size=N/A time=00:00:09.35 bitrate=N/A speed=1.74x

frame= 589 fps=100 q=-1.0 size=N/A time=00:00:09.80 bitrate=N/A speed=1.67x

[segment @ 0x4ba6fc00] Opening '/storage/emulated/0/Android/data/com.emby.embyserver/files/transcoding-temp/bf6594fbb4198a4f750bafbec60df0a2.m3u8.tmp' for writing

[segment @ 0x4ba6fc00] Opening '/storage/emulated/0/Android/data/com.emby.embyserver/files/transcoding-temp/bf6594fbb4198a4f750bafbec60df0a23.ts' for writing

frame= 610 fps= 95 q=-1.0 size=N/A time=00:00:10.16 bitrate=N/A speed=1.59x

[segment @ 0x4ba6fc00] Opening '/storage/emulated/0/Android/data/com.emby.embyserver/files/transcoding-temp/bf6594fbb4198a4f750bafbec60df0a2.m3u8.tmp' for writing

frame= 616 fps= 94 q=-1.0 Lsize=N/A time=00:00:10.26 bitrate=N/A speed=1.57x

video:5924kB audio:123kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Posted

ok mate sent you a log, paul.savo@me.com put on about 4 channels all taking 8 to 15 seconds to change, if you can have a look thanks

 

Sent what kind of log to whom how?   :)

paulsavo1
Posted

sent log from my nvidia shield with username paul.savo@me.com as requested

Posted

Okay, I don't see anything unusual happening on the app end.  To start one of these streams we have to get information about it from the server and then request that it be started and then the server opens it and starts feeding data to the app.

 

The difference with us vs. what you are comparing to is mostly the fact that we have a server in the middle that will allow you to share that same channel stream with multiple clients that request it at the same time.

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...