Jump to content

Need Help with M3U playing


Recommended Posts

Posted

I tryied to add a M3u channel to my Live tv, but i got this error NO COMPATIBLE STREAMS AT THIS MOMENT, PLEASE CONTACT YOUR ADMIN

 

the log of my emby server is:

 

DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzcxLjAuMzU3OC45OCBTYWZhcmkvNTM3LjM2fDE1NDY4NTA2ODI1MDA1&MediaSourceId=56a2098f7d114f53f7e0962d9c7ca956&VideoCodec=h264&AudioCodec=mp3,aac&VideoBitrate=79808000&AudioBitrate=192000&PlaySessionId=cf29d8cadf2943558d993cba731d225f&api_key=de8ba24c94a34db1ba4a8d95271b14d6&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_56a2098f7d114f53f7e0962d9c7ca956&AudioStreamIndex=-1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&TranscodeReasons=ContainerNotSupported&allowVideoStreamCopy=false&allowAudioStreamCopy=false

{"Protocol":"Http","Id":"56a2098f7d114f53f7e0962d9c7ca956","Path":"http://189.203.173.21/LIVE/H01/CANAL111/PROFILE05.m3u8","Type":"Default","IsRemote":true,"ReadAtNativeFramerate":false,"DiscardCorruptPts":true,"FillWallClockDts":true,"IgnoreDts":false,"IgnoreIndex":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_56a2098f7d114f53f7e0962d9c7ca956","RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"VideoRange":"SDR","DisplayTitle":"","IsInterlaced":true,"BitRate":20000000,"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}],"Formats":[],"Bitrate":20000000,"RequiredHttpHeaders":{"User-Agent":"VLC/3.0.1"},"AnalyzeDurationMs":3000}

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

Affected codecs:
>>>>>> libx264 Software Encoder
Color Formats: YUV420P, YUVJ420P, YUV422P, YUVJ422P, YUV444P, YUVJ444P, NV12, NV16, NV21, YUV420P10LE, YUV422P10LE, YUV444P10LE, NV20LE
Profiles: Baseline Profile (Level 6.2), Main Profile (Level 6.2), High Profile (Level 6.2), High 10 Profile (Level 6.2), High 4:2:2 Profile (Level 6.2), High 4:4:4 Profile (Level 6.2)


>>>>>> FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: 0
Info FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)
Info Encoder supports input stream
Info FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'

>>>>>> FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: 0
Info FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)
Info Encoder supports input stream
Info FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'

/opt/emby-server/bin/ffmpeg -analyzeduration 3000000 -user_agent "VLC/3.0.1" -fflags +discardcorruptts+fillwallclockdts -i "http://189.203.173.21/LIVE/H01/CANAL111/PROFILE05.m3u8"-map_metadata -1 -map_chapters -1 -threads 0 -sn -c:v:0 libx264 -pix_fmt yuv420p -maxrate 20000000 -bufsize 40000000 -preset veryfast -profile high -level 4.1 -crf 23 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -vf "yadif=0:-1:0" -vsync -1 -codec:a:0 libmp3lame -disposition:a:0 default -ac:a:0 2 -ab:a:0 192000 -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/8465488d0db56898e86f33c394aa6d9f/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/lib/emby/transcoding-temp/8465488d0db56898e86f33c394aa6d9f.m3u8" -y "/var/lib/emby/transcoding-temp/8465488d0db56898e86f33c394aa6d9f%d.ts"

ffmpeg version 4.0.2-emby_2018_12_09 Copyright © 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)
configuration: --cc=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-vdpau --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 --enable-libsmbclient --enable-cuda --enable-cuvid --enable-libmfx --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --target-os=linux --enable-shared --disable-static
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
[http @ 0x1b82700] HTTP error 404 Not Found
http://189.203.173.21/LIVE/H01/CANAL111/PROFILE05.m3u8:Server returned 404 Not Found

 

 

the channel url is working fine, you can check on any browser

http://189.203.173.21/LIVE/H01/CANAL111/PROFILE05.m3u8

 

thanks in advance

samuelqwe
Posted

When I try your link, it leads to “404 not found”. It is exactly as Emby is reporting in the log.

Posted

Hi there, can you please attach the complete emby server and ffmpeg log? thanks.

Posted

2019-01-09 03:44:47.173 Error MediaSourceManager: Error probing live tv stream
    *** Error Report ***
    Version: 3.6.0.84
    Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
    Operating system: Unix 4.15.0.43
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 6
    Program data path: /var/lib/emby
    Application directory: /opt/emby-server/system
    System.Exception: System.Exception: ffprobe failed for "http://189.203.173.21/LIVE/H01/CANAL107/PROFILE05.m3u8"- streams and format are both null:
    {
    
    }
    
    
    ffprobe version 4.0.2-emby_2018_12_09 Copyright © 2007-2018 the FFmpeg developers
     built with gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)
     configuration: --cc=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-vdpau --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 --enable-libsmbclient --enable-cuda --enable-cuvid --enable-libmfx --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --target-os=linux --enable-shared --disable-static
     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
    [http @ 0x1b89780] HTTP error 404 Not Found
    http://189.203.173.21/LIVE/H01/CANAL107/PROFILE05.m3u8:Server returned 404 Not Found
    
    
     at Emby.Server.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken)
     at Emby.Server.Implementations.Library.MediaSourceManager.AddMediaInfoWithProbe(MediaSourceInfo mediaSource, Boolean isAudio, String cacheKey, Boolean addProbeDelay, Boolean isLiveStream, CancellationToken cancellationToken)
     at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken)
    Source: Emby.Server.MediaEncoding
    TargetSite: Void MoveNext()
     at Emby.Server.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken)
     at Emby.Server.Implementations.Library.MediaSourceManager.AddMediaInfoWithProbe(MediaSourceInfo mediaSource, Boolean isAudio, String cacheKey, Boolean addProbeDelay, Boolean isLiveStream, CancellationToken cancellationToken)
     at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken)
    

Posted

Again this is only a portion of a log file. What I'd really like to see is the entire log file. Can you please attach that? Thanks !

Posted

here you go, your iptv url is returning 404 not found:

[http @ 0x1b89780] HTTP error 404 Not Found
http://189.203.173.21/LIVE/H01/CANAL107/PROFILE05.m3u8: Server returned 404 Not Found

Posted

That one also returned 404 not found:

[http @ 0x121b780] HTTP error 404 Not Found
http://189.203.173.21/LIVE/H01/CANAL107/PROFILE05.m3u8: Server returned 404 Not Found


  • 4 weeks later...
Posted

Hi Luke, now I have another M3U with support for 20 connections, Im facing another issue, the server is working well some time, then suddenly stop the streaming and user can not conect to channels, I disabled on all users the transcoding video and audio, so, all the users play the channels with direct streaming... but, about 1 hour after, the channels stop working, the weird thing here is that when it happends, I just go to my ubunutu server and do "service emby-server restart" and channels works again, so, my question here, did I need to do any extra settings on my server? Im running emby as root, I dont have the emby user added to my server and I did install ffmpeg library and the matroskas mkvmerge. any help or hint will be aprecciated... 

My server is core i5, 32gb ram, 4 tb hard drive and 1gps bandwhit... 

 

thanks in advance 

Posted

We'd have to look at an example using the same set of log files as before. thanks !

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