Jump to content

IP Camera/RTMP stream


ttgapers

Recommended Posts

ttgapers

Hi folks,

 

I have an IPTV camera that provides its stream via RTMP. It works fine using VLC. Not sure if LiveTV supports RTMP 100% but I do have some that work with no issues. Here is snap of the log when I attempt to stream it via Emby.

 

Startup:

2018-09-24 12:18:49.841
Application version: 3.6.0.47

http://192.168.yyy.253:8096/emby/videos/468787/live.m3u8?DeviceId=GTMZz8sx00knOUj8t4GA12QQDQoFTTGINPzofuQn3u4&MediaSourceId=ea3f592095b715ec1b463c910a57d626&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=81c7735b72ad4d76ac8e84218ea60b20&api_key=b8e4c33f7079479eaaf0cd4c4281931d&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_ea3f592095b715ec1b463c910a57d626&TranscodingMaxAudioChannels=6&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported

{"Protocol":"Rtsp","Id":"ea3f592095b715ec1b463c910a57d626","Path":"rtsp://192.168.xxx.250/live/ch00_1","Type":"Default","Container":"rtsp","IsRemote":false,"ReadAtNativeFramerate":false,"DiscardCorruptPts":true,"FillWallClockDts":true,"IgnoreDts":false,"IgnoreIndex":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_ea3f592095b715ec1b463c910a57d626","RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"Codec":"h264","TimeBase":"1/90000","CodecTimeBase":"0/2","VideoRange":"SDR","DisplayTitle":"720P H264","NalLengthSize":"0","IsInterlaced":false,"BitRate":8000000,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":720,"Width":1280,"RealFrameRate":16,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false}],"Formats":[],"Bitrate":8000000,"RequiredHttpHeaders":{},"AnalyzeDurationMs":3000}

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

C:\Users\User\AppData\Roaming\Emby-Server\system\ffmpeg.exe -analyzeduration 3000000 -rtsp_transport tcp -rtsp_transport udp -rtsp_flags prefer_tcp -fflags +discardcorruptts+fillwallclockdts -f rtsp -i "rtsp://192.168.xxx.250/live/ch00_1" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 copy -vsync -1 -codec:a:0 aac -strict experimental -ac 6 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/0a5c5d5210f366d1898948c4204562a5/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\_mb\transcode\transcoding-temp\0a5c5d5210f366d1898948c4204562a5.m3u8" -y "C:\_mb\transcode\transcoding-temp\0a5c5d5210f366d1898948c4204562a5%d.ts"

ffmpeg version 4.0.2-emby_2018_09_13-g5abbb1430d+205 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 8.2.0 (Rev1, Built by MSYS2 project)
configuration: --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --disable-debug --enable-ffnvcodec --enable-nvdec --enable-gmp --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libaom --enable-version3 --enable-libzvbi --enable-gnutls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
[rtsp @ 0000016b4c77d340] Missing PPS in sprop-parameter-sets, ignoring
[udp @ 0000016b4c781e00] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 0000016b4c7920c0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[rtsp @ 0000016b4c77d340] Invalid timestamps stream=0, pts=0, dts=9223090561878065152, size=8
[rtsp @ 0000016b4c77d340] Invalid timestamps stream=0, pts=0, dts=9223090561878065152, size=1447
[rtsp @ 0000016b4c77d340] Invalid timestamps stream=0, pts=0, dts=9223090561878065152, size=1442
Last message repeated 27 times
Input #0, rtsp, from 'rtsp://192.168.xxx.250/live/ch00_1':
Metadata:
title : RTSP Server Live
comment : ICL Streaming Media
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720, 90k tbr, 90k tbn, 180k tbc
Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (C:\_mb\transcode\transcoding-temp\0a5c5d5210f366d1898948c4204562a5%d.ts) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[segment @ 0000016b4d47b400] Opening 'C:\_mb\transcode\transcoding-temp\0a5c5d5210f366d1898948c4204562a50.ts' for writing
Output #0, segment, to 'C:\_mb\transcode\transcoding-temp\0a5c5d5210f366d1898948c4204562a5%d.ts':
Metadata:
encoder : Lavf58.12.100
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720, q=2-31, 90k tbr, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)

Not urgent, but any assistance appreciated.

 

 

 

 

Link to comment
Share on other sites

  • 3 years later...

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