Jump to content

VDR plugin development


Tuxx

Recommended Posts

hoppel118

Ah OK, so it is still in the thread here. It's in the first post. Guess we missed that :)

No, the zip file in the first post is not the most recent version. It should be the one in post #63 [emoji6]

 

Greetings Hoppel

Edited by hoppel118
Link to comment
Share on other sites

domenic

I would like to report this issue with ffmpeg and mpegts in North America. 

 

When ffmpeg is called this is the command:

/usr/bin/ffmpeg -fflags +genpts -i "http://192.168.0.97:8555/TS/S91.0W-256-19-197" -map_metadata -1 -threads 5 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -tune zerolatency -b:v 1308000 -maxrate 1308000 -bufsize 2616000 -vsync -1 -profile:v high -level 4.1 -force_key_frames "expr:gte(t,n_forced*3)" -vf "yadif=0:-1:0,scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -hls_base_url "hls/2fd2297cd09a8749d61d24022ed15c90/" -y "/var/lib/emby-server/transcoding-temp/2fd2297cd09a8749d61d24022ed15c90.m3u8"

it failes to run the command with this error:

cat ffmpeg-transcode-96bcd32b-8966-442d-b2cc-8fc7fcb84257.txt
http://dome12345.mooo.com:8096/emby/videos/594b6f9119e02679ef01752813a4fd24/live.m3u8?DeviceId=6370dcf39e775b9e4e5e6f40c42ec5b09c27909d&MediaSourceId=S91.0W-256-19-197&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=1308000&AudioBitrate=192000&Level=41&Profile=high&PlaySessionId=36cfc267e5a74bbf92c0177fbf3ea6c4&api_key=6a0d47b6eb0244fa96871d9198074206&LiveStreamId=1a755974de5dc3461dc6ecae8ddec68b_0fe07d085b42c9eb1538199a2a6ab92c_S91.0W-256-19-197&CopyTimestamps=false&TranscodingMaxAudioChannels=2&EnableSubtitlesInManifest=false&EnableSplittingOnNonKeyFrames=false

{"Protocol":"Http","Id":"S91.0W-256-19-197","Path":"http://192.168.0.97:8555/TS/S91.0W-256-19-197","Type":"Default","Container":"mpegts","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":true,"SupportsProbing":true,"LiveStreamId":"1a755974de5dc3461dc6ecae8ddec68b_0fe07d085b42c9eb1538199a2a6ab92c_S91.0W-256-19-197","MediaStreams":[{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"1/90000","IsInterlaced":true,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":3,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":4,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":5,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":6,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":7,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":8,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":9,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":10,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":11,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng Dolby Digital 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":12,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":13,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":14,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":15,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":16,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":17,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":18,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":19,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":20,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng Dolby Digital 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":21,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":22,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":23,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng Dolby Digital 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":24,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":25,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":26,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":27,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":28,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":29,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":30,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":31,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":32,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":33,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":34,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"1001/60000","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":480,"Width":704,"AverageFrameRate":29.97003,"RealFrameRate":59.94006,"Profile":"Main","Type":"Video","AspectRatio":"4:3","Index":35,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":8,"IsAnamorphic":false},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":36,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":37,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":38,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":39,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":40,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":41,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp2","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"MP2 stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":160000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":42,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":160000,"RequiredHttpHeaders":{},"DefaultAudioStreamIndex":1}

/usr/bin/ffmpeg -fflags +genpts -i "http://192.168.0.97:8555/TS/S91.0W-256-19-197" -map_metadata -1 -threads 5 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -tune zerolatency -b:v 1308000 -maxrate 1308000 -bufsize 2616000 -vsync -1 -profile:v high -level 4.1 -force_key_frames "expr:gte(t,n_forced*3)" -vf "yadif=0:-1:0,scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -hls_base_url "hls/2fd2297cd09a8749d61d24022ed15c90/" -y "/var/lib/emby-server/transcoding-temp/2fd2297cd09a8749d61d24022ed15c90.m3u8"


ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-avresample --disable-htmlpages --disable-podpages --enable-libutvideo --enable-libfdk-aac --enable-libx265 --enable-libiec61883 --enable-vaapi --enable-libdc1394 --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[mpeg2video @ 0x16bd460] Invalid frame dimensions 0x0.
    Last message repeated 24 times
[mpegts @ 0x16baba0] Could not find codec parameters for stream 0 (Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 1 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 3 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 4 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 5 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 7 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 8 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 9 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 10 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 11 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 12 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 13 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 14 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 15 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 16 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 17 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 18 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 19 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 20 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 21 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 22 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 23 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 24 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 25 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 26 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 27 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 28 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 29 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 30 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 31 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 32 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 33 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 34 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 35 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 36 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 37 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 38 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 39 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 40 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 41 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x16baba0] Could not find codec parameters for stream 42 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'http://192.168.0.97:8555/TS/S91.0W-256-19-197':
  Duration: N/A, start: 45033.521578, bitrate: N/A
  Program 197
    Stream #0:2[0x1111]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], max. 1326 kb/s, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:6[0x1113]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 160 kb/s
  No Program
    Stream #0:0[0x1c21]: Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv), 90k tbr, 90k tbn, 90k tbc
    Stream #0:1[0x1c23]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p
    Stream #0:3[0x1e11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:4[0x1e13]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:5[0x3db]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:7[0x3dc]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:8[0x1311]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:9[0x1315](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:10[0x1511]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:11[0x1515](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:12[0x1811]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:13[0x1815](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:14[0x1b11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:15[0x1b13]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:16[0x1813](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:17[0x1a11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:18[0x1a14](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:19[0x1a15](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:20[0x1513](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:21[0x1a13](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:22[0x1911]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:23[0x1913](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:24[0x1915](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:25[0x1711]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:26[0x1713](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:27[0x1715](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:28[0x1716](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels
    Stream #0:29[0x1d11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:30[0x1d13]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:31[0x1411]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:32[0x1413]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:33[0x1011]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:34[0x1013](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:35[0x1016](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels
    Stream #0:36[0x1211]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:37[0x1213](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:38[0x1216](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels
    Stream #0:39[0x1313](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:40[0x1611]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:41[0x1613](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:42[0x1615](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
[buffer @ 0x16bcda0] Unable to parse option value "0x0" as image size
[buffer @ 0x16bcda0] Unable to parse option value "-1" as pixel format
[buffer @ 0x16bcda0] Unable to parse option value "0x0" as image size
[buffer @ 0x16bcda0] Error setting option video_size to value 0x0.
[graph 0 input from stream 0:0 @ 0x16c44c0] Error applying options to the filter.

If I remove the map portions of the command ffmpeg can find the correct stream and play it back just fine.

/usr/bin/ffmpeg -fflags +genpts -i "http://192.168.0.97:8555/TS/S91.0W-256-19-197" -map_metadata -1 -threads 5  -codec:v:0 libx264set superfast -crf 23 -tune zerolatency -b:v 1308000 -maxrate 1308000 -bufsize 2616000 -vsync -1 -profile:v high -level 4.1 -force_key_frames "expr:gte(t,n_forced*3)" -vf "yadif=0:-1:0,scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -hls_base_url "hls/2fd2297cd09a8749d61d24022ed15c90/" -y "/var/lib/emby-server/transcoding-temp/2fd2297cd09a8749d61d24022ed15c90.m3u8"
ffmpeg version 2.6.9 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-avresample --disable-htmlpages --disable-podpages --enable-libutvideo --enable-libfdk-aac --enable-libx265 --enable-libiec61883 --enable-vaapi --enable-libdc1394 --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[mpeg2video @ 0x2110de0] Invalid frame dimensions 0x0.
    Last message repeated 8 times
[mpegts @ 0x2101be0] Could not find codec parameters for stream 0 (Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 1 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 2 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 3 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 4 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 5 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 6 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 7 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 10 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 11 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 12 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 13 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 14 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 15 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 16 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 17 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 18 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 19 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 20 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 21 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 22 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 23 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 24 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 25 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 26 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 27 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 28 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 29 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 30 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 31 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 32 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 33 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 34 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 35 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 36 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 37 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 38 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 39 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 40 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 41 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2101be0] Could not find codec parameters for stream 42 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'http://192.168.0.97:8555/TS/S91.0W-256-19-197':
  Duration: N/A, start: 45458.609578, bitrate: N/A
  Program 197
    Metadata:
      service_name    : CBCCH
      service_provider: CBCCH
    Stream #0:8[0x1111]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], max. 1062 kb/s, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:9[0x1113]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 160 kb/s
  Program 26
    Metadata:
      service_name    : YTV-W*
      service_provider: YTV-W*
  Program 63
    Metadata:
      service_name    : CBC-w
      service_provider: CBC-w
  Program 87
    Metadata:
      service_name    : TTfDv
      service_provider: TTfDv
    Stream #0:2[0x1811]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:4[0x1815](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 101
    Metadata:
      service_name    : TVARK
      service_provider: TVARK
    Stream #0:0[0x1b11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv), 90k tbr, 90k tbn, 90k tbc
    Stream #0:1[0x1b13]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p
  Program 139
    Metadata:
      service_name    : TOONF
      service_provider: TOONF
    Stream #0:2[0x1811]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:3[0x1813](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:4[0x1815](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 146
    Metadata:
      service_name    : FOYER
      service_provider: FOYER
    Stream #0:5[0x1a11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:6[0x1a14](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:7[0x1a15](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 226
    Metadata:
      service_name    : CBC-W
      service_provider: CBC-W
    Stream #0:10[0x1511]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:11[0x1513](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:12[0x1515](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 285
    Metadata:
      service_name    : FIRE
      service_provider: FIRE
    Stream #0:5[0x1a11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:13[0x1a13](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:7[0x1a15](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 311
    Metadata:
      service_name    : ENC1W
      service_provider: ENC1W
    Stream #0:14[0x1911]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:15[0x1913](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:16[0x1915](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 336
    Metadata:
      service_name    : DOCU
      service_provider: DOCU
    Stream #0:17[0x1711]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:18[0x1713](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:19[0x1715](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:20[0x1716](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels
  Program 371
    Metadata:
      service_name    : Vu21
      service_provider: Vu21
  Program 387
    Metadata:
      service_name    : VuBuy
      service_provider: VuBuy
  Program 412
    Metadata:
      service_name    : PPVu
      service_provider: PPVu
  Program 416
    Metadata:
      service_name    : GOLF
      service_provider: GOLF
  Program 440
    Metadata:
      service_name    : UFC-E
      service_provider: UFC-E
  Program 464
    Metadata:
      service_name    : NFL14
      service_provider: NFL14
  Program 470
    Metadata:
      service_name    : NBA6
      service_provider: NBA6
  Program 497
    Metadata:
      service_name    : MLB13
      service_provider: MLB13
  Program 515
    Metadata:
      service_name    : TECH
      service_provider: TECH
  Program 527
    Metadata:
      service_name    : TRAVL
      service_provider: TRAVL
  Program 552
    Metadata:
      service_name    : YTV-W
      service_provider: YTV-W
  Program 575
    Metadata:
      service_name    : CMT
      service_provider: CMT
  Program 742
    Metadata:
      service_name    : VNUS
      service_provider: VNUS
  Program 748
    Metadata:
      service_name    : VnBuy
      service_provider: VnBuy
  Program 797
    Metadata:
      service_name    : PPVu*1
      service_provider: PPVu*1
  Program 987
    Metadata:
      service_name    : POLR1
      service_provider: POLR1
  Program 988
    Metadata:
      service_name    : POLR3
      service_provider: POLR3
  No Program
    Stream #0:21[0x1d11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:22[0x1d13]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:23[0x1e11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:24[0x1e13]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:25[0x1411]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:26[0x1413]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:27[0x1011]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:28[0x1013](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:29[0x1016](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels
    Stream #0:30[0x1211]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:31[0x1213](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:32[0x1216](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels
    Stream #0:33[0x1311]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:34[0x1313](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:35[0x1315](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:36[0x1611]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:37[0x1613](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:38[0x1615](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:39[0x1c21]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:40[0x1c23]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:41[0x3db]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:42[0x3dc]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
[libx264 @ 0x23c8160] using SAR=1/1
[libx264 @ 0x23c8160] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x23c8160] profile High, level 4.1
Output #0, hls, to '/var/lib/emby-server/transcoding-temp/2fd2297cd09a8749d61d24022ed15c90.m3u8':
  Metadata:
    encoder         : Lavf56.25.101
    Stream #0:0: Video: h264 (libx264), yuv420p, 704x528 [SAR 1:1 DAR 4:3], q=-1--1, 1308 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc56.26.100 libx264
    Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      encoder         : Lavc56.26.100 aac
Stream mapping:
  Stream #0:8 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:9 -> #0:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
frame=  326 fps= 57 q=20.0 Lsize=N/A time=00:00:10.87 bitrate=N/A dup=91 drop=0
video:1690kB audio:251kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0x23c8160] frame I:4     Avg QP:17.13  size: 42681
[libx264 @ 0x23c8160] frame P:322   Avg QP:19.47  size:  4844
[libx264 @ 0x23c8160] mb I  I16..4: 25.1%  9.0% 65.9%
[libx264 @ 0x23c8160] mb P  I16..4:  1.9%  0.3%  0.2%  P16..4: 46.5%  0.0%  0.0%  0.0%  0.0%    skip:51.1%
[libx264 @ 0x23c8160] 8x8 transform intra:12.0% inter:46.1%
[libx264 @ 0x23c8160] coded y,uvDC,uvAC intra: 50.8% 79.0% 63.8% inter: 19.2% 15.7% 2.8%
[libx264 @ 0x23c8160] i16 v,h,dc,p: 63% 26% 11%  0%
[libx264 @ 0x23c8160] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 21% 25%  4%  4%  4%  4%  5%  6%
[libx264 @ 0x23c8160] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 27% 10%  5%  5%  6%  6%  5%  8%
[libx264 @ 0x23c8160] i8c dc,h,v,p: 35% 35% 26%  5%
[libx264 @ 0x23c8160] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x23c8160] kb/s:1272.72
Received signal 2: terminating.

Is there an option somewhere in Emby to remove the three MAP options: -map 0:0 -map 0:1 -map -0:s

Or does this need to be reported to the ffmpeg comunity?

 

Domenic

 

Edit: I have just updated ffmpeg to 3.2.2 and the issue still occurs...

 

Edit2: The Map commands fail since VDR provides the full stream to the application.  There is no stream 0, 1 and s (subtitle) I would think that hard coded values are bad anyway as the streams are dynamic (BTW this used to work in an older version of Emby!).  The removal of the map option allows ffmpeg to select the correct stream from the input automatically.  It would be beneficial to allow for a flag that removes the map options when a live stream is provided.  How would I get a change like this into the Emby Source Code?  Maybe some type of GUI option to turn this off and on?

Edited by domenic
Link to comment
Share on other sites

the values are not hard-coded. they are based on the indexes in the media info

{"Protocol":"Http","Id":"S91.0W-256-19-197","Path":"http://192.168.0.97:8555/TS/S91.0W-256-19-197","Type":"Default","Container":"mpegts","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":true,"SupportsProbing":true,"LiveStreamId":"1a755974de5dc3461dc6ecae8ddec68b_0fe07d085b42c9eb1538199a2a6ab92c_S91.0W-256-19-197","MediaStreams":[{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"1/90000","IsInterlaced":true,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":3,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":4,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":5,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":6,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":7,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":8,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":9,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":10,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":11,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng Dolby Digital 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":12,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":13,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":14,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":15,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":16,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":17,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":18,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":19,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":20,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng Dolby Digital 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":21,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":22,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":23,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng Dolby Digital 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":24,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":25,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":26,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":27,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":28,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":29,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":30,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":31,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":32,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":33,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":34,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"1001/60000","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":480,"Width":704,"AverageFrameRate":29.97003,"RealFrameRate":59.94006,"Profile":"Main","Type":"Video","AspectRatio":"4:3","Index":35,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":8,"IsAnamorphic":false},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":36,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":37,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":38,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":39,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":40,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":41,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp2","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"MP2 stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":160000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":42,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":160000,"RequiredHttpHeaders":{},"DefaultAudioStreamIndex":1}

so rather than remove the map args, it is better to make sure the indexes are accurate.

  • Like 1
Link to comment
Share on other sites

hoppel118

It seems VDR streams the whole transponder/mux instead of single channel. This is definitely not the way to go.

What has to be changed? Are you able to do that? ;)

 

Greetings Hoppel

Link to comment
Share on other sites

pünktchen

What has to be changed? Are you able to do that? ;)

 

Greetings Hoppel

No sorry, i can't do anything. I have no knowledge about VDR or Linux.

I'm also not sure if my statement is true, but it looks like that. By a quick look at the Kodi VDR addon sources, it seems they are using a custom demuxer to get the right channel from the stream.

A simpler approach would be to use one of VDR's UPNP/DLNA plugins to get only one channel.

Link to comment
Share on other sites

domenic

the values are not hard-coded. they are based on the indexes in the media info

{"Protocol":"Http","Id":"S91.0W-256-19-197","Path":"http://192.168.0.97:8555/TS/S91.0W-256-19-197","Type":"Default","Container":"mpegts","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":true,"SupportsProbing":true,"LiveStreamId":"1a755974de5dc3461dc6ecae8ddec68b_0fe07d085b42c9eb1538199a2a6ab92c_S91.0W-256-19-197","MediaStreams":[{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"1/90000","IsInterlaced":true,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":3,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":4,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":5,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":6,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":7,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":8,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":9,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":10,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":11,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng Dolby Digital 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":12,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":13,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":14,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":15,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":16,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":17,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":18,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":19,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":20,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng Dolby Digital 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":21,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":22,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":23,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng Dolby Digital 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":24,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":25,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":26,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":27,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":28,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":29,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":30,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":31,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":32,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":33,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":34,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"1001/60000","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":480,"Width":704,"AverageFrameRate":29.97003,"RealFrameRate":59.94006,"Profile":"Main","Type":"Video","AspectRatio":"4:3","Index":35,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":8,"IsAnamorphic":false},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":36,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","Language":"san","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"San MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":37,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":0,"Width":0,"RealFrameRate":90000,"Type":"Video","AspectRatio":"0:0","Index":38,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":-99,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":39,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":40,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/0","DisplayTitle":"Eng MP3 0 ch","IsInterlaced":false,"Channels":0,"SampleRate":0,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":41,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mp2","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"MP2 stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":160000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":42,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":160000,"RequiredHttpHeaders":{},"DefaultAudioStreamIndex":1}

so rather than remove the map args, it is better to make sure the indexes are accurate.

How is this data above created?  From my log file above, there are two valid streams (data listed below) video 0:2 and audio 0:6

 

Input #0, mpegts, from 'http://192.168.0.97:8555/TS/S91.0W-256-19-197':

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

Program 197

Stream #0:2[0x1111]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x480 [sAR 10:11 DAR 4:3], max. 1326 kb/s, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc

Stream #0:6[0x1113]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 160 kb/s

No Program

Stream #0:0[0x1c21]: Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv), 90k tbr, 90k tbn, 90k tbc

 

If ffprobe is used, then the data may not be parsed properly.... below is a log from ffprobe which shows the request for channel 201 (S91.0W-256-16-201) and shows this information

Input #0, mpegts, from 'http://192.168.0.97:8555/TS/S91.0W-256-16-201':

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

  Program 201

    Metadata:

      service_name    : CTV-H

      service_provider: CTV-H

    Stream #0:3[0x1111]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [sAR 10:11 DAR 4:3], Closed Captions, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc

    Stream #0:5[0x1113](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 160 kb/s

    Stream #0:4[0x1115](san): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, mono, s16p, 160 kb/s

 

ffprobe "http://192.168.0.97:8555/TS/S91.0W-256-16-201"
ffprobe version 3.2.2-1~bpo8+1 Copyright (c) 2007-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/usr --extra-version='1~bpo8+1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --disable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-libopencv --enable-frei0r --enable-libx264 --enable-chromaprint --enable-shared
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[mpeg2video @ 0x561930a5c560] Invalid frame dimensions 0x0.
    Last message repeated 28 times
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 0 (Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 1 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 2 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 6 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 7 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 8 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 9 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 10 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 11 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 12 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 13 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 14 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 15 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 16 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 17 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 18 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 19 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 20 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 21 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 22 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 23 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 24 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 25 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 26 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 27 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 28 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 29 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 30 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 31 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 32 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 33 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 34 (Video: mpeg2video ([2][0][0][0] / 0x0002), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 35 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 36 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 37 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 38 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 39 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 40 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x561930a57200] Could not find codec parameters for stream 41 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'http://192.168.0.97:8555/TS/S91.0W-256-16-201':
  Duration: N/A, start: 69058.253267, bitrate: N/A
  Program 201
    Metadata:
      service_name    : CTV-H
      service_provider: CTV-H
    Stream #0:3[0x1111]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], Closed Captions, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:5[0x1113](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 160 kb/s
    Stream #0:4[0x1115](san): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, mono, s16p, 160 kb/s
  Program 68
    Metadata:
      service_name    : GLSDv
      service_provider: GLSDv
    Stream #0:0[0x1a11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv), 90k tbr, 90k tbn, 90k tbc
    Stream #0:2[0x1a15](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 236
    Metadata:
      service_name    : GLB-S
      service_provider: GLB-S
    Stream #0:0[0x1a11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv), 90k tbr, 90k tbn, 90k tbc
    Stream #0:1[0x1a13](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:2[0x1a15](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 241
    Metadata:
      service_name    : CITYE
      service_provider: CITYE
    Stream #0:6[0x1311]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:7[0x1313](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:8[0x1315](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 245
    Metadata:
      service_name    : CBC-C
      service_provider: CBC-C
    Stream #0:9[0x1711]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:10[0x1713](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:11[0x1715](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 266
    Metadata:
      service_name    : CITYS
      service_provider: CITYS
    Stream #0:12[0x1511]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:13[0x1513](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:14[0x1515](san): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:15[0x1516](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels
  Program 268
    Metadata:
      service_name    : KNOW
      service_provider: KNOW
    Stream #0:16[0x1211]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:17[0x1213]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 295
    Metadata:
      service_name    : WGN
      service_provider: WGN
    Stream #0:18[0x1611]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:19[0x1613](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:20[0x1615](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels
  Program 315
    Metadata:
      service_name    : Vu38
      service_provider: Vu38
    Stream #0:21[0x1411]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:22[0x1431]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 369
    Metadata:
      service_name    : Vu19
      service_provider: Vu19
    Stream #0:23[0x1e11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:24[0x1e13]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 423
    Metadata:
      service_name    : LNH1
      service_provider: LNH1
  Program 448
    Metadata:
      service_name    : NFL-N
      service_provider: NFL-N
    Stream #0:25[0x1011]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:26[0x1013](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:27[0x1016](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels
  Program 576
    Metadata:
      service_name    : BET
      service_provider: BET
    Stream #0:28[0x1911]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:29[0x1913]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 652
    Metadata:
      service_name    : MIRCL
      service_provider: MIRCL
    Stream #0:30[0x1811]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:31[0x1813]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 719
    Metadata:
      service_name    : TALNT
      service_provider: TALNT
    Stream #0:32[0x1c11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:33[0x1c13]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 722
    Metadata:
      service_name    : RTVi
      service_provider:
    Stream #0:34[0x1d11]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn
    Stream #0:35[0x1d13]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 964
    Metadata:
      service_name    : CFRB
      service_provider: CFRB
    Stream #0:36[0xf7c]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 968
    Metadata:
      service_name    : 105FM
      service_provider: 105FM
    Stream #0:37[0xb98]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 977
    Metadata:
      service_name    : CBUFF
      service_provider: CBUFF
    Stream #0:38[0x1503]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 989
    Metadata:
      service_name    : TSNR
      service_provider: TSNR
    Stream #0:39[0x995]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 990
    Metadata:
      service_name    : CHUM
      service_provider: CHUM
    Stream #0:40[0x996]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
  Program 993
    Metadata:
      service_name    : AMB*
      service_provider: AMB*
    Stream #0:41[0x3d3]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels

Link to comment
Share on other sites

that's the info that came from ffprobe. you should be able to find the command line that was used for ffprobe in the server log.

Link to comment
Share on other sites

domenic

There is nothing showing a call to ffprobe (but it must be doing it to get some data)... below is the log from the server side.... it shows both video and audio index are -1

2016-12-29 14:49:46.6058 Info HttpServer: HTTP POST http://dome12345.mooo.com:8096/emby/LiveStreams/Open?UserId=9912f2e98b5644bb9cb2135f62f2694b&StartTimeTicks=0&ItemId=cbd7a6c397f5583171603dfd4d7d8a43&PlaySessionId=6d0ed62fb08a4be0b198a4b91f4d86fd. UserAgent: Mozilla/5.0 (Linux; Android 6.0.1; STV100-3 Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.91 Mobile Safari/537.36
2016-12-29 14:49:46.6324 Info App: Opening channel stream from VDR LiveTV, external channel Id: S91.0W-256-16-201
2016-12-29 14:49:46.6339 Info App: [VDR LiveTV] GetChannelStream S91.0W-256-16-201 -  ...
2016-12-29 14:49:46.6339 Info App: [VDR LiveTV] StreamUrl: http://192.168.0.97:8555/TS/S91.0W-256-16-201
2016-12-29 14:49:46.6374 Info App: Live stream info: {"Protocol":"Http","Id":"S91.0W-256-16-201","Path":"http://192.168.0.97:8555/TS/S91.0W-256-16-201","Type":"Default","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":true,"SupportsProbing":true,"LiveStreamId":"0fe07d085b42c9eb1538199a2a6ab92c_S91.0W-256-16-201","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-12-29 14:49:49.3625 Info LiveTvMediaSourceProvider: Live tv media info probe took 2.710412 seconds
2016-12-29 14:49:49.4327 Info App: Profile: Unknown Profile, Path: http://192.168.0.97:8555/TS/S91.0W-256-16-201, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2016-12-29 14:49:49.4403 Info App: Profile: Unknown Profile, No direct play profiles found for Path: http://192.168.0.97:8555/TS/S91.0W-256-16-201
2016-12-29 14:49:49.4405 Info App: RemoteClientBitrateLimit: 1500000, RemoteIp: 24.114.40.124, IsInLocalNetwork: False
2016-12-29 14:49:49.4405 Info App: Profile: Unknown Profile, Path: http://192.168.0.97:8555/TS/S91.0W-256-16-201, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2016-12-29 14:49:49.4405 Info App: Profile: Unknown Profile, No direct play profiles found for Path: http://192.168.0.97:8555/TS/S91.0W-256-16-201

  • Like 1
Link to comment
Share on other sites

ok yea it's doing it but i think it's only printed to the log with debug logging on. i'll have it always write to the log.

  • Like 1
Link to comment
Share on other sites

domenic

ffprobe information from the server log

 

ok yea it's doing it but i think it's only printed to the log with debug logging on. i'll have it always write to the log.

 

How can I enable debug logging, is there a command line option or file to update?

  • Like 1
Link to comment
Share on other sites

The other thing you can try is disabling the probe by setting a property on the MediaSourceInfo. That has it's own downsides but it's something you can try. But ultimately if there's a problem somewhere in the map args or the probe, we're going to fix it, we're not just going to take it out.

  • Like 1
Link to comment
Share on other sites

domenic

The other thing you can try is disabling the probe by setting a property on the MediaSourceInfo. That has it's own downsides but it's something you can try. But ultimately if there's a problem somewhere in the map args or the probe, we're going to fix it, we're not just going to take it out.

 

You are correct the probe is important, especially if you wanted to specify a different language for example.  I would like to continue to debug this, so lets start by getting the probe information.... how do I enable the debug?

  • Like 1
Link to comment
Share on other sites

domenic

Ok here is a new release that disables the probe of the live stream,  it will rely on ffmpeg to find the correct stream.  Note that this works on my standard definition channels, but for some odd reason fails to put out the video on h264 (it finds the sound).... I say "odd reason" because if I kill the ffmpeg process and cut and past the same command from the ffmpeg-transcode log file it works!

 

VdrLiveTV-0.3.6.zip

  • Like 1
Link to comment
Share on other sites

domenic

@@domenic awesome !

Thanks when you get the time.... lets work on probing the stream....  Send me a PM when you are ready,  I could  install a beta release or I could try to build directly from GIT.

Link to comment
Share on other sites

hoppel118

Fantastic! I love github publicized code! [emoji1]

 

Sadly I do not have much time for testing at the moment!

 

Greetings Hoppel

Edited by hoppel118
Link to comment
Share on other sites

domenic

Ok, I have upgrade my server to the newer version of Emby 3.1.2 and my plugin no longer works... I get the following error.... any ideas?

2017-01-05 12:17:24.2952 Error App: Error refreshing channels for service
        *** Error Report ***
        Version: 3.1.2.0
        Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
        Operating system: Unix 4.7.3.0
        64-Bit OS: True
        64-Bit Process: True
        Mono: 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan  3 11:48:26 UTC 2017)
        Processor count: 16
        Program data path: /var/lib/emby-server
        Application directory: /usr/lib/emby-server/bin
        System.TypeLoadException: Could not load type 'VdrLiveTV.vdr.VdrRestfulApiClient' from assembly 'VdrLiveTV, Version=1.0.6214.22075, Culture=neutral, PublicKeyToken=null'.
          at VdrLiveTV.LiveTvService+<GetChannelsAsync>c__async1.MoveNext () [0x0003d] in <ccf1102d75e44450a46f25bd316af75a>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
          at Emby.Server.Implementations.LiveTv.LiveTvManager+<GetChannels>c__async11.MoveNext () [0x00095] in <94cb9849d4534920b1b6cc233e9f2dbd>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
          at Emby.Server.Implementations.LiveTv.LiveTvManager+<RefreshChannelsInternal>c__asyncF.MoveNext () [0x000aa] in <94cb9849d4534920b1b6cc233e9f2dbd>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
          at Emby.Server.Implementations.LiveTv.LiveTvManager+<RefreshChannelsInternal>c__asyncE.MoveNext () [0x001ca] in <94cb9849d4534920b1b6cc233e9f2dbd>:0
        System.TypeLoadException
          at VdrLiveTV.LiveTvService+<GetChannelsAsync>c__async1.MoveNext () [0x0003d] in <ccf1102d75e44450a46f25bd316af75a>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
          at Emby.Server.Implementations.LiveTv.LiveTvManager+<GetChannels>c__async11.MoveNext () [0x00095] in <94cb9849d4534920b1b6cc233e9f2dbd>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
          at Emby.Server.Implementations.LiveTv.LiveTvManager+<RefreshChannelsInternal>c__asyncF.MoveNext () [0x000aa] in <94cb9849d4534920b1b6cc233e9f2dbd>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
          at Emby.Server.Implementations.LiveTv.LiveTvManager+<RefreshChannelsInternal>c__asyncE.MoveNext () [0x001ca] in <94cb9849d4534920b1b6cc233e9f2dbd>:0


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