1ntroduc3 4 Posted May 2, 2016 Posted May 2, 2016 (edited) Hi there. Hopefully here someone can help me out. I'm trying to stream TS files in a m3u playlist on my emby devices from my emby server and I have a m3u playlist with TS files inside of it. If I load the M3u in VLC it works like a charm, but unfortunately, it's not working through Emby. It stops playing after 2-5 seconds. I'm doing this on a 2GHZ Quadcore with 8 GB DDR3 RAM and win7, where beside Emby the following apps are running: sabnzbd filezilla FTP Here's the log: http://localhost:8096/emby/videos/efcc7f21e30fa7e8cdca3152bee06849/stream.mkv?DeviceId=36b113428e0d3ecadba3a4e8ecfdeaa2797a9a73&MediaSourceId=27ee4b36cac04caca9709c0f9809f66a&VideoCodec=h264&AudioCodec=mp3&AudioStreamIndex=-1&VideoBitrate=9680001&AudioBitrate=320000&MaxAudioChannels=6&Level=41&Profile=high&PlaySessionId=a58a330d0a71469cad7253196a7f4c98&api_key=bf63136743f84c4ca3a8494b0defa4e7&CopyTimestamps=true&ForceLiveStream=false {"Protocol":"Http","Id":"27ee4b36cac04caca9709c0f9809f66a","Path":"http://www.x-media.tv:58080/live/paulkm/satlover.com/478.ts","Type":"Default","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"BufferMs":1500,"MediaStreams":[{"IsInterlaced":true,"IsDefault":false,"IsForced":false,"Type":"Video","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false},{"IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false}],"PlayableStreamFileNames":[],"Formats":[],"RequiredHttpHeaders":{}} C:\Users\Media\AppData\Roaming\Emby-Server\ffmpeg\20160401\ffmpeg.exe -fflags +genpts -noaccurate_seek -i "http://www.x-media.tv:58080/live/paulkm/satlover.com/478.ts" -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 9680001 -maxrate 9680001 -bufsize 19360002 -vsync vfr -profile:v high -level 41 -map_metadata -1 -threads 3 -codec:a:0 libmp3lame -ac 2 -ab 320000 -af "aresample=async=1" -y "C:\Users\Media\AppData\Roaming\Emby-Server\transcoding-temp\08e195a7c7225c5570336d3d69f07de4.mkv" ffmpeg version N-79173-gbe746ae 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. 19.100 / 55. 19.100 libavcodec 57. 32.100 / 57. 32.100 libavformat 57. 29.101 / 57. 29.101 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 40.102 / 6. 40.102 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 [mpegts @ 00000000003ba760] PES packet size mismatch Input #0, mpegts, from 'http://www.x-media.tv:58080/live/paulkm/satlover.com/478.ts': Duration: N/A, start: 8306.800000, bitrate: N/A Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 117 kb/s [libx264 @ 00000000031eaae0] using SAR=64/45 [libx264 @ 00000000031eaae0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX LZCNT BMI1 SlowPshufb [libx264 @ 00000000031eaae0] profile High, level 4.1 [libx264 @ 00000000031eaae0] 264 - core 148 r2665 a01e339 - 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=3 lookahead_threads=1 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=9680 vbv_bufsize=19360 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00 Output #0, matroska, to 'C:\Users\Media\AppData\Roaming\Emby-Server\transcoding-temp\08e195a7c7225c5570336d3d69f07de4.mkv': Metadata: encoder : Lavf57.29.101 Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 9680 kb/s, 25 fps, 1k tbn, 25 tbc Metadata: encoder : Lavc57.32.100 libx264 Side data: cpb: bitrate max/min/avg: 9680000/0/9680000 buffer size: 19360000 vbv_delay: -1 Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 320 kb/s Metadata: encoder : Lavc57.32.100 libmp3lame Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help frame= 30 fps=0.0 q=22.0 size= 253kB time=00:00:01.28 bitrate=1611.4kbits/s speed=2.53x [aac @ 000000000339f4c0] Input buffer exhausted before END element found Error while decoding stream #0:1: Invalid data found when processing input frame= 52 fps= 49 q=-1.0 Lsize= 654kB time=00:00:02.00 bitrate=2677.7kbits/s speed=1.88x video:577kB audio:75kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.287483% Edited May 2, 2016 by martheijnen
Luke 42083 Posted May 3, 2016 Posted May 3, 2016 Hi, thanks, I'm adding a change to see if we can address this. If you can switch to the dev branch and help test it that would be appreciated. The change will be available tomorrow. Thanks.
Pauluzz 0 Posted May 3, 2016 Posted May 3, 2016 Hi, thanks, I'm adding a change to see if we can address this. If you can switch to the dev branch and help test it that would be appreciated. The change will be available tomorrow. Thanks. Could you share what's being changed? I've had this in the past and am curious. Seems something related to the AAC buffer size. Is there an option to change this buffer size? Or is this related to something else?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now