VODServer - Watch internet streams as TV channels | Page 7

Discussion in 'TV-Server Plugins' started by rsenden, September 25, 2013.

  1. Nervesagent

    Nervesagent Portal Pro

    Joined:
    February 26, 2014
    Messages:
    150
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 0
    Home Country:
    Denmark Denmark
    i got vodserver to work with ampersand in the url by replacing the & in the input value by %26
    i still have a lot of glitches when recoding the network stream (rtsp over gb ethernet).. its probably a ffmpeg output setting. ill post the log tomorrow.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Nervesagent

    Nervesagent Portal Pro

    Joined:
    February 26, 2014
    Messages:
    150
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 0
    Home Country:
    Denmark Denmark
    So after trying everything to get my Fritz DVB-C streams to work in MP1.11 I think VODSERVER may be the solution, BUT.. like I said in my reply before FFMPEG has a problem decoding/encoding the stream..(It's choppy as hell!)
    Can anybody help me by analyzing this log:

    Code (Text):
    1.  
    2. [2015-05-13-17:35:36.312][INFO ][qtp556529265-23 - /channel?id=HBO][VODServiceHa
    3. ndler] /channel /play [SERVICE REQUEST START]
    4. [2015-05-13-17:35:36.332][INFO ][qtp556529265-23 - /channel?id=HBO][CommandRunne
    5. rService] /channel /play Executing command: ffmpeg -threads 4 -i "rtsp://192.168
    6. .1.65:554/?freq=330&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,1
    7. 8,20,2900,2901,2911,3001" -vcodec mpeg2video -s 720x576 -r 25 -flags cgop+ilme -
    8. sc_threshold 1000000000 -b:v 2M -maxrate:v 2M -bufsize:v 1.4M -acodec mp2 -ac 2
    9. -b:a 128k -f mpegts -
    10. ffmpeg version N-56892-ge1f8184 Copyright (c) 2000-2013 the FFmpeg developers
    11.   built on Oct  4 2013 18:01:41 with gcc 4.8.1 (GCC)
    12.   configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    13. isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    14. le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    15. e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    16. ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    17. ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    18. eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
    19. cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
    20. ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    21.   libavutil  52. 46.100 / 52. 46.100
    22.   libavcodec  55. 34.100 / 55. 34.100
    23.   libavformat  55. 19.100 / 55. 19.100
    24.   libavdevice  55.  3.100 / 55.  3.100
    25.   libavfilter  3. 88.101 /  3. 88.101
    26.   libswscale  2.  5.100 /  2.  5.100
    27.   libswresample  0. 17.103 /  0. 17.103
    28.   libpostproc  52.  3.100 / 52.  3.100
    29. [mp1 @ 003dd840] Header missing
    30.   Last message repeated 3 times
    31. [mpeg2video @ 03c31060] Invalid frame dimensions 0x0.
    32. [mp1 @ 003dd840] Header missing
    33.   Last message repeated 2 times
    34. [mpeg2video @ 03c31060] Invalid frame dimensions 0x0.
    35. [mp1 @ 003dd840] Header missing
    36.   Last message repeated 1 times
    37. [mpeg2video @ 03c31060] Invalid frame dimensions 0x0.
    38. [mp1 @ 003dd840] Header missing
    39. [mpeg2video @ 03c31060] Invalid frame dimensions 0x0.
    40. [mp1 @ 003dd840] Header missing
    41.   Last message repeated 2 times
    42. [mpeg2video @ 03c31060] Invalid frame dimensions 0x0.
    43. [mp1 @ 003dd840] Header missing
    44. [mp2 @ 03cf2800] Header missing
    45. [mp1 @ 003dd840] Header missing
    46. [mpeg2video @ 03c31060] Invalid frame dimensions 0x0.
    47. [mp1 @ 003dd840] Header missing
    48. [mpeg2video @ 03c31060] Invalid frame dimensions 0x0.
    49. [mp1 @ 003dd840] Header missing
    50.   Last message repeated 2 times
    51. [mpeg2video @ 03c31060] Invalid frame dimensions 0x0.
    52. [mp1 @ 003dd840] Header missing
    53.   Last message repeated 1 times
    54. [mpeg2video @ 03c31060] Invalid frame dimensions 0x0.
    55. [mp1 @ 003dd840] Header missing
    56.   Last message repeated 1 times
    57. [mpeg2video @ 03c31060] Invalid frame dimensions 0x0.
    58. [mp1 @ 003dd840] Header missing
    59.   Last message repeated 2 times
    60. [mpeg2video @ 03c31060] Invalid frame dimensions 0x0.
    61. [mp1 @ 003dd840] Header missing
    62.   Last message repeated 156 times
    63. RTP: missed 354 packets
    64. [mp1 @ 003dd840] Header missing
    65.   Last message repeated 1 times
    66. [rtsp @ 003dfac0] PES packet size mismatch
    67. [mp1 @ 003dd840] Header missing
    68.   Last message repeated 44 times
    69. [rtsp @ 003dfac0] decoding for stream 0 failed
    70. [rtsp @ 003dfac0] Could not find codec parameters for stream 0 (Audio: mp1 ([6][
    71. 0][0][0] / 0x0006), 0 channels, s16p): unspecified frame size
    72. Consider increasing the value for the 'analyzeduration' and 'probesize' options
    73. Input #0, rtsp, from 'rtsp://192.168.1.65:554/?freq=330&bw=8&msys=dvbc&mtype=256
    74. qam&sr=6900&specinv=0&pids=0,16,17,18,20,2900,2901,2911,3001':
    75.   Metadata:
    76.   title  : SatIPServer:1 2
    77.   Duration: N/A, start: 22267.377122, bitrate: 256 kb/s
    78.   Program 19081
    79.   Metadata:
    80.   service_name  : RTL 4
    81.   service_provider: Ziggo
    82.   Program 19082
    83.   Metadata:
    84.   service_name  : RTL 5
    85.   service_provider: Ziggo
    86.   Program 19083
    87.   Metadata:
    88.   service_name  : RTL 7
    89.   service_provider: Ziggo
    90.   Program 19084
    91.   Metadata:
    92.   service_name  : MTV
    93.   service_provider: Ziggo
    94.   Stream #0:1: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv),
    95. 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    96.   Stream #0:2(dut): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p
    97. , 256 kb/s
    98.   Stream #0:0(dut): Audio: mp1 ([6][0][0][0] / 0x0006), 0 channels, s16p
    99.   Program 19085
    100.   Metadata:
    101.   service_name  : NPO Politiek
    102.   service_provider: Ziggo
    103.   Program 19086
    104.   Metadata:
    105.   service_name  : Shorts TV
    106.   service_provider: Ziggo
    107.   Program 19087
    108.   Metadata:
    109.   service_name  : 192TV
    110.   service_provider: Ziggo
    111. [mpeg2video @ 05b323a0] impossible bitrate constraints, this will fail
    112. Output #0, mpegts, to 'pipe:':
    113.   Metadata:
    114.   title  : SatIPServer:1 2
    115.   encoder  : Lavf55.19.100
    116.   Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-3
    117. 1, 2000 kb/s, 90k tbn, 25 tbc
    118.   Stream #0:1(dut): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
    119. Stream mapping:
    120.   Stream #0:1 -> #0:0 (mpeg2video -> mpeg2video)
    121.   Stream #0:2 -> #0:1 (mp2 -> mp2)
    122. Press [q] to stop, [?] for help
    123. [mp2 @ 03cf2800] Header missing
    124. Error while decoding stream #0:2: Invalid data found when processing input
    125. [2015-05-13-17:35:41.948][INFO ][qtp556529265-23 - /channel?id=HBO][CommandRunne
    126. rService] /channel /play Opening response output stream
    127. frame=  39 fps=0.0 q=15.5 size=  319kB time=00:00:01.48 bitrate=1765.2kbits/
    128. frame=  64 fps= 60 q=30.8 size=  655kB time=00:00:02.48 bitrate=2165.0kbits/
    129. frame=  80 fps= 49 q=4.7 size=  829kB time=00:00:03.12 bitrate=2175.5kbits/s
    130. frame=  89 fps= 41 q=5.7 size=  929kB time=00:00:03.48 bitrate=2186.4kbits/s
    131. [mpeg2video @ 03c31060] 00 motion_type at 11 25
    132. [mpeg2video @ 03c31060] ac-tex damaged at 28 8
    133. [mpeg2video @ 03c31060] Warning MVs not available
    134. [mpeg2video @ 03c31060] concealing 45 DC, 45 AC, 45 MV errors in P frame
    135. frame=  113 fps= 42 q=14.1 size=  1021kB time=00:00:04.44 bitrate=1884.1kbits/
    136. [mp2 @ 03cf2800] Header missing
    137. Error while decoding stream #0:2: Invalid data found when processing input
    138. frame=  118 fps= 37 q=15.8 size=  1239kB time=00:00:04.64 bitrate=2187.3kbits/
    139. frame=  130 fps= 35 q=27.6 size=  1388kB time=00:00:05.12 bitrate=2221.0kbits/
    140. RTP: missed 2825 packets
    141. RTP: missed 109 packets
    142. [mpeg2video @ 03c31060] ac-tex damaged at 1 13
    143. [mpeg2video @ 03c31060] concealing 810 DC, 810 AC, 810 MV errors in P frame
    144. [mpeg2video @ 03c31060] 00 motion_type at 36 1
    145. [mpeg2video @ 03c31060] Warning MVs not available
    146. [mpeg2video @ 03c31060] concealing 135 DC, 135 AC, 135 MV errors in B frame
    147. frame=  233 fps= 55 q=4.8 size=  1453kB time=00:00:09.24 bitrate=1287.8kbits/s
    148. [mp2 @ 03cf2800] Header missing
    149. Error while decoding stream #0:2: Invalid data found when processing input
    150. RTP: missed 184 packets
    151. [mpeg2video @ 03c31060] ac-tex damaged at 20 29
    152. [mpeg2video @ 03c31060] invalid mb type in I Frame at 0 34
    153. [mpeg2video @ 03c31060] ac-tex damaged at 0 35
    154. [mpeg2video @ 03c31060] concealing 315 DC, 315 AC, 315 MV errors in I frame
    155. [mpeg2video @ 03c31060] ac-tex damaged at 40 0
    156. [mpeg2video @ 03c31060] Warning MVs not available
    157. [mpeg2video @ 03c31060] concealing 90 DC, 90 AC, 90 MV errors in B frame
    158. [rtsp @ 003dfac0] PES packet size mismatch
    159. [mp2 @ 03cf2800] Header missing
    160. Error while decoding stream #0:2: Invalid data found when processing input
    161. frame=  244 fps= 30 q=6.3 size=  2500kB time=00:00:09.68 bitrate=2115.5kbits/s
    162. RTP: missed 2748 packets
    163. [mp2 @ 03cf2800] Header missing
    164. Error while decoding stream #0:2: Invalid data found when processing input
    165. [mpeg2video @ 03c31060] 00 motion_type at 26 34
    166. [mpeg2video @ 03c31060] concealing 0 DC, 0 AC, 0 MV errors in B frame
    167. [mpeg2video @ 03c31060] concealing 41 DC, 41 AC, 41 MV errors in P frame
    168. frame=  338 fps= 39 q=3.6 size=  2624kB time=00:00:13.44 bitrate=1599.2kbits/s
    169. RTP: missed 196 packets
    170. RTP: missed 13 packets
    171. RTP: missed 70 packets
    172. [mpeg2video @ 03c31060] concealing 597 DC, 597 AC, 597 MV errors in P frame
    173. [mpeg2video @ 03c31060] invalid mb type in B Frame at 28 1
    174. [mpeg2video @ 03c31060] 00 motion_type at 35 16
    175. [mpeg2video @ 03c31060] concealing 270 DC, 270 AC, 270 MV errors in B frame
    176. RTP: missed 13 packets
    177. [mpeg2video @ 03c31060] concealing 604 DC, 604 AC, 604 MV errors in B frame
    178. RTP: missed 15 packets
    179. [mpeg2video @ 03c31060] skipped MB in I frame at 19 10
    180. [mpeg2video @ 03c31060] concealing 450 DC, 450 AC, 450 MV errors in I frame
    181. [rtsp @ 003dfac0] PES packet size mismatch
    182. [mp2 @ 03cf2800] Header missing
    183. Error while decoding stream #0:2: Invalid data found when processing input
    184. [mp2 @ 03cf2800] Header missing
    185. Error while decoding stream #0:2: Invalid data found when processing input
    186. frame=  356 fps= 28 q=15.1 size=  3581kB time=00:00:14.16 bitrate=2071.6kbits/
    187. RTP: missed 2920 packets
    188. RTP: missed 9 packets
    189. [mp2 @ 03cf2800] Header missing
    190. Error while decoding stream #0:2: Invalid data found when processing input
    191. [mp2 @ 03cf2800] Header missing
    192. Error while decoding stream #0:2: Invalid data found when processing input
    193. [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] 00 motion_type at 0 27
    194. invalid mb type in B Frame at 10 2
    195. [mpeg2video @ 03c31060] ac-tex damaged at 0 28
    196. [mpeg2video @ 03c31060] 00 motion_type at 0 3
    197. [mpeg2video @ 03c31060] slice mismatch
    198. [mpeg2video @ 03c31060]  mb incr damaged
    199. 1 times  Last message message repeated repeated 1 times
    200.   [mpeg2video @ 03c31060] L00 motion_type at 34 5
    201. ast m[mpeg2video @ 03c31060] eslice mismatch
    202. s  sage  repeated Last 1 message times
    203. [mpeg2video @ 03c31060] 00 motion_type at 0 31
    204. [mpeg2video @ 03c31060] mb incr damaged
    205. [mpeg2video @ 03c31060] 00 motion_type at 0 32
    206. [mpeg2video @ 03c31060] 00 motion_type at 41 9
    207. [mpeg2video @ 03c31060] 00 motion_type at 2 33
    208. [mpeg2video @ 03c31060] 00 motion_type at 0 10
    209. [mpeg2video @ 03c31060] 00 motion_type at 0 34
    210. [mpeg2video @ 03c31060] 00 motion_type at 0 11
    211. [mpeg2video @ 03c31060] slice mismatch
    212. [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] 00 motion_type at 0 12
    213. 00 motion_type at 1 21
    214. [mpeg2video @ 03c31060] 00 motion_type at 0 13
    215. [mpeg2video @ 03c31060] ac-tex damaged at 1 22
    216. [mpeg2video @ 03c31060] 00 motion_type at 0 14
    217. [mpeg2video @ 03c31060] 00 motion_type at 9 23
    218. [mpeg2video @ 03c31060] 00 motion_type at 0 15
    219. [mpeg2video @ 03c31060] 00 motion_type at 11 24
    220. [mpeg2video @ 03c31060] 00 motion_type at 0 16
    221. [mpeg2video @ 03c31060] 00 motion_type at 23 25
    222. [mpeg2video @ 03c31060] 00 motion_type at 0 17
    223. [mpeg2video @ 03c31060] ac-tex damaged at 8 26
    224. [mpeg2video @ 03c31060] 00 motion_type at 0 18
    225. [mpeg2video @ 03c31060] 00 motion_type at 0 27
    226. [mpeg2video @ 03c31060] 00 motion_type at 15 19
    227. [mpeg2video @ 03c31060] 00 motion_type at 0 28
    228. [mpeg2video @ 03c31060] 00 motion_type at 0 20
    229. [mpeg2video @ 03c31060] 00 motion_type at 0 29
    230. [mpeg2video @ 03c31060] 00 motion_type at 0 21
    231. [mpeg2video @ 03c31060] 00 motion_type at 0 30
    232. [mpeg2video @ 03c31060] 00 motion_type at 11 22
    233. [mpeg2video @ 03c31060] 00 motion_type at 17 31
    234. [mpeg2video @ 03c31060] 00 motion_type at 5 23
    235. [mpeg2video @ 03c31060] 00 motion_type at 8 32
    236. [mpeg2video @ 03c31060] 00 motion_type at 2 24
    237. [mpeg2video @ 03c31060] 00 motion_type at 0 33
    238. [mpeg2video @ 03c31060] invalid cbp 0 at 0 25
    239. [mpeg2video @ 03c31060] 00 motion_type at 0 34
    240. [mpeg2video @ 03c31060] 00 motion_type at 0 26
    241. [mpeg2video @ 03c31060] slice mismatch
    242. [mpeg2video @ 03c31060] concealing 1530 DC, 1530 AC, 1530 MV errors in B frame
    243. RTP: missed 60 packets
    244. RTP: missed 40 packets
    245. frame=  460 fps= 34 q=2.0 size=  3633kB time=00:00:18.32 bitrate=1624.7kbits/s
    246. [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] slice mismatch
    247. ac-tex damaged at 14 9
    248. [mpeg2video @ 03c31060] ac-tex damaged at 23 30
    249. [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] invalid cbp -1 at 6 31
    250. [mpeg2video @ 03c31060] skip with previntra
    251. slice mismatch
    252.   [mpeg2video @ 03c31060]  slice mismatch
    253. repeated 1 times repeated Last 1 message times
    254.   [mpeg2video @ 03c31060]  invalid cbp -1 at 0 33
    255. Last message r[mpeg2video @ 03c31060] eslice mismatch
    256. pea[mpeg2video @ 03c31060] tinvalid mb type in B Frame at 3 35
    257. ed 1 times
    258. [mpeg2video @ 03c31060] invalid cbp -1 at 2 12
    259. [mpeg2video @ 03c31060] invalid cbp -1 at 1 13
    260. [mpeg2video @ 03c31060] slice mismatch
    261. [mpeg2video @ 03c31060] invalid mb type in B Frame at 21 16
    262. [mpeg2video @ 03c31060] concealing 1305 DC, 1305 AC, 1305 MV errors in B frame
    263. RTP: missed 244 packets
    264. [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] ac-tex damaged at 18 27
    265. ac-tex damaged at 39 20
    266. [mpeg2video @ 03c31060] mb incr damaged
    267. [mpeg2video @ 03c31060] invalid mb type in B Frame at 17 10
    268. [mpeg2video @ 03c31060] invalid mb type in B Frame at 15 29
    269. [mpeg2video @ 03c31060] ac-tex damaged at 28 10
    270. [mpeg2video @ 03c31060] ac-tex damaged at 18 34
    271. [mpeg2video @ 03c31060] ac-tex damaged at 40 11
    272. [mpeg2video @ 03c31060] invalid mb type in B Frame at 8 31
    273. [mpeg2video @ 03c31060] ac-tex damaged at 1 12
    274. [mpeg2video @ 03c31060] ac-tex damaged at 8 32
    275. [mpeg2video @ 03c31060] invalid mb type in B Frame at 17 13
    276. [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] ac-tex damaged at 27 33
    277. slice mismatch
    278. [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] ac-tex damaged at 4 34
    279. ac-tex damaged at 18 15
    280. [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] slice mismatch
    281. invalid cbp 0 at 34 16
    282. [mpeg2video @ 03c31060] skip with previntra
    283. [mpeg2video @ 03c31060] ac-tex damaged at 8 18
    284. [mpeg2video @ 03c31060] ac-tex damaged at 31 19
    285. [mpeg2video @ 03c31060] ac-tex damaged at 31 20
    286. [mpeg2video @ 03c31060] invalid cbp 0 at 34 21
    287. [mpeg2video @ 03c31060] invalid mb type in B Frame at 26 23
    288. [mpeg2video @ 03c31060] ac-tex damaged at 30 24
    289. [mpeg2video @ 03c31060] ac-tex damaged at 16 24
    290. [mpeg2video @ 03c31060] ac-tex damaged at 5 25
    291. [mpeg2video @ 03c31060] ac-tex damaged at 24 27
    292. [mpeg2video @ 03c31060] concealing 1215 DC, 1215 AC, 1215 MV errors in B frame
    293. [mp2 @ 03cf2800] Header missing
    294. Error while decoding stream #0:2: Invalid data found when processing input
    295. [mp2 @ 03cf2800] Header missing
    296. Error while decoding stream #0:2: Invalid data found when processing input
    297. [2015-05-13-17:35:57.293][WARN ][qtp556529265-23 - /channel?id=HBO][CommandRunne
    298. rService] /channel /play Stream copying finished due to IOException (probably du
    299. e to closed output channel)
    300. [2015-05-13-17:35:57.295][INFO ][qtp556529265-23 - /channel?id=HBO][VODServiceHa
    301. ndler] /channel /play [SERVICE REQUEST END]
    302. [2015-05-13-17:35:57.297][INFO ][qtp556529265-23 - /channel?id=HBO][VODServiceHa
    303. ndler]  [SERVICE REQUEST END]
    304. av_interleaved_write_frame(): Broken pipe
    305.  
    I've reverted back to the "standard VODSERVER" but I've already tried updating FFMPEG before and several output settings I found on the www.
    I did edit the vodserver-service-play.xml since the !!OUTPUTARGUMENTS!! (or something) did not get applied from vodserver-service-common.xml.
    This is what mine looks like now..
    Code (Text):
    1.  
    2. <?xml version="1.0" encoding="UTF-8"?>
    3. <beans xmlns="http://www.springframework.org/schema/beans"
    4.    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    5.    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
    6.  
    7.    <!-- Definition for the simple service. This service can be invoked as
    8.       http://vodserver:port/play?input=<input>
    9.       <input> can be anything from which ffmpeg can read; a local file, a stream URL, ...
    10.    -->
    11.    <bean id="/play" parent="paramBuilderServiceBase" class="vodserver.service.CommandRunnerService" >
    12.      <property name="command">
    13.        <!-- Command used to retrieve the input and perform the transcoding.
    14.           See the relevant definitions in vodserver-service-commons.xml
    15.           for parameterized values. -->
    16.        <value>ffmpeg -threads 4 -i "!!input!!" -vcodec mpeg2video -s 720x576 -r 25 -flags cgop+ilme -sc_threshold 1000000000 -b:v 2M -maxrate:v 2M -bufsize:v 1.4M -acodec mp2 -ac 2 -b:a 128k -f mpegts -</value>
    17.      </property>
    18.    </bean>
    19.  
    20. </beans>
    21.  
    the last "-" in the ffmpeg command line apparantly pipes to stdout equivalent of vlc, but I've tried replacing that ffmpeg commandline with vlc but I couldn't pipe it properly like ffmpeg does.. it was funny that I could start vlc just by changing to a channel and maybe worth some fiddling with by someone who does understand piping in VLC so we can use a different encoder too.. but...

    WHO CAN HELP ME GET MY RTSP STREAMS WORKING?
    Any other stream works nicely btw!

    Other references I've tried:
    https://github.com/ZoneMinder/ZoneMinder/issues/811
    http://ffmpeg.gusari.org/viewtopic.php?f=11&t=853
    https://ffmpeg.org/pipermail/ffmpeg-user/2013-November/018641.html
    and many more...

    Thank you.
     
  4. Nervesagent

    Nervesagent Portal Pro

    Joined:
    February 26, 2014
    Messages:
    150
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 0
    Home Country:
    Denmark Denmark
    Still messing with the rtsp stream... I edited the play service again in an attempt to let vlc do the recoding:
    But now it says it cant open output stream... anybody knows how to pipe the output to the - (or unnamed pipe like ffmpeg does?)
    Same problem when I try to use avconv.exe
    I'm sure one of the MP devs that worked on timeshift must have an idea?
    I can think of many applications for this, like opening an online webpage for a channel guide when tuning to a certain channel...please help.
     
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    @Nervesagent
    Nope, sorry.
    About all I can see is that the RTSP URLs you're using look like SAT>IP (KABEL>IP) protocol. As such, I'd expect that the stream is an MPEG 2 transport stream... and therefore, it should be directly compatible with the IPTV filter, without the need for this plugin. In short: I don't understand what you're trying to do.
     
  6. Nervesagent

    Nervesagent Portal Pro

    Joined:
    February 26, 2014
    Messages:
    150
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 0
    Home Country:
    Denmark Denmark
    I tried scanning in an m3u with my streams first but it just gets no signal.. In VLC it plays fine. Is there anything I'm missing? Also manually adding the stream and then previewing it gives me error.. Any log you want me to post?
     
  7. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Please could you start a new thread (so we don't clog up this thread with non-VODServer posts).

    Edit c:\ProgramData\Team MediaPortal\MediaPortal TV Server\MPIPTVSource.ini and set LogVerbosity to 5.
    Restart the the TV service (TV Server configuration -> manual control -> stop service... then start service).
    Try to scan.
    Cancel after the scan fails for three or four channels.
    In your thread, please attach:
    1. The m3u file you tried to use.
    2. All log files (as always!). You can use the watchdog tool with option 3 to easily get a zip file... or if MediaPortal is not installed
      1. Open TV Server config.
      2. Click open log directory in the top left corner.
      3. Zip all files in that directory.
      4. Attach the zip file.
     
  8. Nervesagent

    Nervesagent Portal Pro

    Joined:
    February 26, 2014
    Messages:
    150
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 0
    Home Country:
    Denmark Denmark
    Cool... thanks.. here's the thread: https://forum.team-mediaportal.com/...nt-scan-fritz-dvb-c-wlan-repeater-m3u.130730/
     
  9. Waldschrat
    • Premium Supporter

    Waldschrat MP Donator

    Joined:
    July 18, 2007
    Messages:
    2
    Likes Received:
    0
    Ratings:
    +0 / 0
    I tried filmon as well and could not get it to work. For me it looks like the problem is the output format of the stream which cannot be trancoded by ffmpeg for VODServer. With a newer ffmpeg version I got a lot of aac errors in the VODServer window, but still no luck (so at least some real error messages, not just "Broken pipe" or "Invalid parameter"). Maybe a custom build ffmpeg with a different aac library can help, but I am not really sure.

    Example of a working stream: Any Twitch stream that is currently online (that's what I am using this for).
    So for example the stream that livestreamer also uses as an example (day9tv) can be accessed by http://localhost:9999/livestreamer?stream=twitch.tv/day9tv&quality=best
     
  10. Nervesagent

    Nervesagent Portal Pro

    Joined:
    February 26, 2014
    Messages:
    150
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 0
    Home Country:
    Denmark Denmark
    I've been messing with Vodserver and because the ffmpeg had some trouble decoding my rtsp streams I modified the play service so it would first be encoded by vlc and then piped to ffmpeg and then ffmpeg makes it available for MePo through an unnamed pipe. Now I can basically use any stream that I can play in VLC in MediaPortal properly with Timeshift etc..

    The only problem with this i'm facing with this is that I can't get it to run multiple instances or streams at the same time. I think it has something to do with the way the internal services are managed in VodServer. Rewriting the VodServer concept completely from scratch seems like the best idea to me, but that is a little too time-consuming and difficult for me at the moment. Other than my hack to use VLC I wanna try to do a similar experiment using Mencoder, maybe that will solve the multi-instance issue.
    Should I post my findings / vodserver mods to a new thread or keep them in here?
     
    • Like Like x 1
  11. divxmaster

    divxmaster Portal Pro

    Joined:
    February 15, 2009
    Messages:
    55
    Likes Received:
    15
    Ratings:
    +18 / 1
    Home Country:
    New Zealand New Zealand
    @Nervesagent, I would be interest in seeing your findings.

    - I have just setup vodserver and have noticed some interesting things. I first installed into MP 1.12. Vodserver did not work, streams kept abnormally disconnecting, and then on auto-reconnect it would replay the last 5 seconds over again. I imaged my pc back to MP 1.10, and it all works fine.
    I haven't tried upgrading back to 1.12 yet.

    - MP tv server seems to now support mp4 avc/aac streams as input. I modified vodserver ffmpeg parameter (in vodserver-services-common.xml):
    from -vcodec mpeg2video -s 720x576 -r 25 -flags cgop+ilme -sc_threshold 1000000000 -b:v 2M -maxrate:v 2M -bufsize:v 1.4M -acodec mp2 -ac 2 -b:a
    128k -f mpegts -
    to -codec copy -f mpegts -

    this worked great, with cpu usage at only .1% for vodserver.
    However for some reason the audio only works for mediaportal running on the tv server pc. MP streaming wont send the aac to another client pc.
    so I remodified the ffmpeg parameter to: -vcodec copy -acodec mp2 -ac 2 -b:a 128k -f mpegts -
    which seems to work in all instances. Your webstreams may differ.

    Cheers,
    Divxmaster
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!