home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
TV-Server
VODServer - Watch internet streams as TV channels
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Nervesagent" data-source="post: 1136145" data-attributes="member: 146416"><p>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!)</p><p>Can anybody help me by analyzing this log:</p><p></p><p>[CODE]</p><p>[2015-05-13-17:35:36.312][INFO ][qtp556529265-23 - /channel?id=HBO][VODServiceHa</p><p>ndler] /channel /play [SERVICE REQUEST START]</p><p>[2015-05-13-17:35:36.332][INFO ][qtp556529265-23 - /channel?id=HBO][CommandRunne</p><p>rService] /channel /play Executing command: ffmpeg -threads 4 -i "rtsp://192.168</p><p>.1.65:554/?freq=330&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,1</p><p>8,20,2900,2901,2911,3001" -vcodec mpeg2video -s 720x576 -r 25 -flags cgop+ilme -</p><p>sc_threshold 1000000000 -b:v 2M -maxrate:v 2M -bufsize:v 1.4M -acodec mp2 -ac 2</p><p>-b:a 128k -f mpegts -</p><p>ffmpeg version N-56892-ge1f8184 Copyright (c) 2000-2013 the FFmpeg developers</p><p> built on Oct 4 2013 18:01:41 with gcc 4.8.1 (GCC)</p><p> configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av</p><p>isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab</p><p>le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp</p><p>e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena</p><p>ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l</p><p>ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp</p><p>eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa</p><p>cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp</p><p>ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib</p><p> libavutil 52. 46.100 / 52. 46.100</p><p> libavcodec 55. 34.100 / 55. 34.100</p><p> libavformat 55. 19.100 / 55. 19.100</p><p> libavdevice 55. 3.100 / 55. 3.100</p><p> libavfilter 3. 88.101 / 3. 88.101</p><p> libswscale 2. 5.100 / 2. 5.100</p><p> libswresample 0. 17.103 / 0. 17.103</p><p> libpostproc 52. 3.100 / 52. 3.100</p><p>[mp1 @ 003dd840] Header missing</p><p> Last message repeated 3 times</p><p>[mpeg2video @ 03c31060] Invalid frame dimensions 0x0.</p><p>[mp1 @ 003dd840] Header missing</p><p> Last message repeated 2 times</p><p>[mpeg2video @ 03c31060] Invalid frame dimensions 0x0.</p><p>[mp1 @ 003dd840] Header missing</p><p> Last message repeated 1 times</p><p>[mpeg2video @ 03c31060] Invalid frame dimensions 0x0.</p><p>[mp1 @ 003dd840] Header missing</p><p>[mpeg2video @ 03c31060] Invalid frame dimensions 0x0.</p><p>[mp1 @ 003dd840] Header missing</p><p> Last message repeated 2 times</p><p>[mpeg2video @ 03c31060] Invalid frame dimensions 0x0.</p><p>[mp1 @ 003dd840] Header missing</p><p>[mp2 @ 03cf2800] Header missing</p><p>[mp1 @ 003dd840] Header missing</p><p>[mpeg2video @ 03c31060] Invalid frame dimensions 0x0.</p><p>[mp1 @ 003dd840] Header missing</p><p>[mpeg2video @ 03c31060] Invalid frame dimensions 0x0.</p><p>[mp1 @ 003dd840] Header missing</p><p> Last message repeated 2 times</p><p>[mpeg2video @ 03c31060] Invalid frame dimensions 0x0.</p><p>[mp1 @ 003dd840] Header missing</p><p> Last message repeated 1 times</p><p>[mpeg2video @ 03c31060] Invalid frame dimensions 0x0.</p><p>[mp1 @ 003dd840] Header missing</p><p> Last message repeated 1 times</p><p>[mpeg2video @ 03c31060] Invalid frame dimensions 0x0.</p><p>[mp1 @ 003dd840] Header missing</p><p> Last message repeated 2 times</p><p>[mpeg2video @ 03c31060] Invalid frame dimensions 0x0.</p><p>[mp1 @ 003dd840] Header missing</p><p> Last message repeated 156 times</p><p>RTP: missed 354 packets</p><p>[mp1 @ 003dd840] Header missing</p><p> Last message repeated 1 times</p><p>[rtsp @ 003dfac0] PES packet size mismatch</p><p>[mp1 @ 003dd840] Header missing</p><p> Last message repeated 44 times</p><p>[rtsp @ 003dfac0] decoding for stream 0 failed</p><p>[rtsp @ 003dfac0] Could not find codec parameters for stream 0 (Audio: mp1 ([6][</p><p>0][0][0] / 0x0006), 0 channels, s16p): unspecified frame size</p><p>Consider increasing the value for the 'analyzeduration' and 'probesize' options</p><p>Input #0, rtsp, from 'rtsp://192.168.1.65:554/?freq=330&bw=8&msys=dvbc&mtype=256</p><p>qam&sr=6900&specinv=0&pids=0,16,17,18,20,2900,2901,2911,3001':</p><p> Metadata:</p><p> title : SatIPServer:1 2</p><p> Duration: N/A, start: 22267.377122, bitrate: 256 kb/s</p><p> Program 19081</p><p> Metadata:</p><p> service_name : RTL 4</p><p> service_provider: Ziggo</p><p> Program 19082</p><p> Metadata:</p><p> service_name : RTL 5</p><p> service_provider: Ziggo</p><p> Program 19083</p><p> Metadata:</p><p> service_name : RTL 7</p><p> service_provider: Ziggo</p><p> Program 19084</p><p> Metadata:</p><p> service_name : MTV</p><p> service_provider: Ziggo</p><p> Stream #0:1: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv),</p><p>720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc</p><p> Stream #0:2(dut): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p</p><p>, 256 kb/s</p><p> Stream #0:0(dut): Audio: mp1 ([6][0][0][0] / 0x0006), 0 channels, s16p</p><p> Program 19085</p><p> Metadata:</p><p> service_name : NPO Politiek</p><p> service_provider: Ziggo</p><p> Program 19086</p><p> Metadata:</p><p> service_name : Shorts TV</p><p> service_provider: Ziggo</p><p> Program 19087</p><p> Metadata:</p><p> service_name : 192TV</p><p> service_provider: Ziggo</p><p>[mpeg2video @ 05b323a0] impossible bitrate constraints, this will fail</p><p>Output #0, mpegts, to 'pipe:':</p><p> Metadata:</p><p> title : SatIPServer:1 2</p><p> encoder : Lavf55.19.100</p><p> Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-3</p><p>1, 2000 kb/s, 90k tbn, 25 tbc</p><p> Stream #0:1(dut): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s</p><p>Stream mapping:</p><p> Stream #0:1 -> #0:0 (mpeg2video -> mpeg2video)</p><p> Stream #0:2 -> #0:1 (mp2 -> mp2)</p><p>Press [q] to stop, [?] for help</p><p>[mp2 @ 03cf2800] Header missing</p><p>Error while decoding stream #0:2: Invalid data found when processing input</p><p>[2015-05-13-17:35:41.948][INFO ][qtp556529265-23 - /channel?id=HBO][CommandRunne</p><p>rService] /channel /play Opening response output stream</p><p>frame= 39 fps=0.0 q=15.5 size= 319kB time=00:00:01.48 bitrate=1765.2kbits/</p><p>frame= 64 fps= 60 q=30.8 size= 655kB time=00:00:02.48 bitrate=2165.0kbits/</p><p>frame= 80 fps= 49 q=4.7 size= 829kB time=00:00:03.12 bitrate=2175.5kbits/s</p><p>frame= 89 fps= 41 q=5.7 size= 929kB time=00:00:03.48 bitrate=2186.4kbits/s</p><p>[mpeg2video @ 03c31060] 00 motion_type at 11 25</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 28 8</p><p>[mpeg2video @ 03c31060] Warning MVs not available</p><p>[mpeg2video @ 03c31060] concealing 45 DC, 45 AC, 45 MV errors in P frame</p><p>frame= 113 fps= 42 q=14.1 size= 1021kB time=00:00:04.44 bitrate=1884.1kbits/</p><p>[mp2 @ 03cf2800] Header missing</p><p>Error while decoding stream #0:2: Invalid data found when processing input</p><p>frame= 118 fps= 37 q=15.8 size= 1239kB time=00:00:04.64 bitrate=2187.3kbits/</p><p>frame= 130 fps= 35 q=27.6 size= 1388kB time=00:00:05.12 bitrate=2221.0kbits/</p><p>RTP: missed 2825 packets</p><p>RTP: missed 109 packets</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 1 13</p><p>[mpeg2video @ 03c31060] concealing 810 DC, 810 AC, 810 MV errors in P frame</p><p>[mpeg2video @ 03c31060] 00 motion_type at 36 1</p><p>[mpeg2video @ 03c31060] Warning MVs not available</p><p>[mpeg2video @ 03c31060] concealing 135 DC, 135 AC, 135 MV errors in B frame</p><p>frame= 233 fps= 55 q=4.8 size= 1453kB time=00:00:09.24 bitrate=1287.8kbits/s</p><p>[mp2 @ 03cf2800] Header missing</p><p>Error while decoding stream #0:2: Invalid data found when processing input</p><p>RTP: missed 184 packets</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 20 29</p><p>[mpeg2video @ 03c31060] invalid mb type in I Frame at 0 34</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 0 35</p><p>[mpeg2video @ 03c31060] concealing 315 DC, 315 AC, 315 MV errors in I frame</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 40 0</p><p>[mpeg2video @ 03c31060] Warning MVs not available</p><p>[mpeg2video @ 03c31060] concealing 90 DC, 90 AC, 90 MV errors in B frame</p><p>[rtsp @ 003dfac0] PES packet size mismatch</p><p>[mp2 @ 03cf2800] Header missing</p><p>Error while decoding stream #0:2: Invalid data found when processing input</p><p>frame= 244 fps= 30 q=6.3 size= 2500kB time=00:00:09.68 bitrate=2115.5kbits/s</p><p>RTP: missed 2748 packets</p><p>[mp2 @ 03cf2800] Header missing</p><p>Error while decoding stream #0:2: Invalid data found when processing input</p><p>[mpeg2video @ 03c31060] 00 motion_type at 26 34</p><p>[mpeg2video @ 03c31060] concealing 0 DC, 0 AC, 0 MV errors in B frame</p><p>[mpeg2video @ 03c31060] concealing 41 DC, 41 AC, 41 MV errors in P frame</p><p>frame= 338 fps= 39 q=3.6 size= 2624kB time=00:00:13.44 bitrate=1599.2kbits/s</p><p>RTP: missed 196 packets</p><p>RTP: missed 13 packets</p><p>RTP: missed 70 packets</p><p>[mpeg2video @ 03c31060] concealing 597 DC, 597 AC, 597 MV errors in P frame</p><p>[mpeg2video @ 03c31060] invalid mb type in B Frame at 28 1</p><p>[mpeg2video @ 03c31060] 00 motion_type at 35 16</p><p>[mpeg2video @ 03c31060] concealing 270 DC, 270 AC, 270 MV errors in B frame</p><p>RTP: missed 13 packets</p><p>[mpeg2video @ 03c31060] concealing 604 DC, 604 AC, 604 MV errors in B frame</p><p>RTP: missed 15 packets</p><p>[mpeg2video @ 03c31060] skipped MB in I frame at 19 10</p><p>[mpeg2video @ 03c31060] concealing 450 DC, 450 AC, 450 MV errors in I frame</p><p>[rtsp @ 003dfac0] PES packet size mismatch</p><p>[mp2 @ 03cf2800] Header missing</p><p>Error while decoding stream #0:2: Invalid data found when processing input</p><p>[mp2 @ 03cf2800] Header missing</p><p>Error while decoding stream #0:2: Invalid data found when processing input</p><p>frame= 356 fps= 28 q=15.1 size= 3581kB time=00:00:14.16 bitrate=2071.6kbits/</p><p>RTP: missed 2920 packets</p><p>RTP: missed 9 packets</p><p>[mp2 @ 03cf2800] Header missing</p><p>Error while decoding stream #0:2: Invalid data found when processing input</p><p>[mp2 @ 03cf2800] Header missing</p><p>Error while decoding stream #0:2: Invalid data found when processing input</p><p>[mpeg2video @ 03c31060] [mpeg2video @ 03c31060] 00 motion_type at 0 27</p><p>invalid mb type in B Frame at 10 2</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 0 28</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 3</p><p>[mpeg2video @ 03c31060] slice mismatch</p><p>[mpeg2video @ 03c31060] mb incr damaged</p><p>1 times Last message message repeated repeated 1 times</p><p> [mpeg2video @ 03c31060] L00 motion_type at 34 5</p><p>ast m[mpeg2video @ 03c31060] eslice mismatch</p><p>s sage repeated Last 1 message times</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 31</p><p>[mpeg2video @ 03c31060] mb incr damaged</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 32</p><p>[mpeg2video @ 03c31060] 00 motion_type at 41 9</p><p>[mpeg2video @ 03c31060] 00 motion_type at 2 33</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 10</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 34</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 11</p><p>[mpeg2video @ 03c31060] slice mismatch</p><p>[mpeg2video @ 03c31060] [mpeg2video @ 03c31060] 00 motion_type at 0 12</p><p>00 motion_type at 1 21</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 13</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 1 22</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 14</p><p>[mpeg2video @ 03c31060] 00 motion_type at 9 23</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 15</p><p>[mpeg2video @ 03c31060] 00 motion_type at 11 24</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 16</p><p>[mpeg2video @ 03c31060] 00 motion_type at 23 25</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 17</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 8 26</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 18</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 27</p><p>[mpeg2video @ 03c31060] 00 motion_type at 15 19</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 28</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 20</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 29</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 21</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 30</p><p>[mpeg2video @ 03c31060] 00 motion_type at 11 22</p><p>[mpeg2video @ 03c31060] 00 motion_type at 17 31</p><p>[mpeg2video @ 03c31060] 00 motion_type at 5 23</p><p>[mpeg2video @ 03c31060] 00 motion_type at 8 32</p><p>[mpeg2video @ 03c31060] 00 motion_type at 2 24</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 33</p><p>[mpeg2video @ 03c31060] invalid cbp 0 at 0 25</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 34</p><p>[mpeg2video @ 03c31060] 00 motion_type at 0 26</p><p>[mpeg2video @ 03c31060] slice mismatch</p><p>[mpeg2video @ 03c31060] concealing 1530 DC, 1530 AC, 1530 MV errors in B frame</p><p>RTP: missed 60 packets</p><p>RTP: missed 40 packets</p><p>frame= 460 fps= 34 q=2.0 size= 3633kB time=00:00:18.32 bitrate=1624.7kbits/s</p><p>[mpeg2video @ 03c31060] [mpeg2video @ 03c31060] slice mismatch</p><p>ac-tex damaged at 14 9</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 23 30</p><p>[mpeg2video @ 03c31060] [mpeg2video @ 03c31060] invalid cbp -1 at 6 31</p><p>[mpeg2video @ 03c31060] skip with previntra</p><p>slice mismatch</p><p> [mpeg2video @ 03c31060] slice mismatch</p><p>repeated 1 times repeated Last 1 message times</p><p> [mpeg2video @ 03c31060] invalid cbp -1 at 0 33</p><p>Last message r[mpeg2video @ 03c31060] eslice mismatch</p><p>pea[mpeg2video @ 03c31060] tinvalid mb type in B Frame at 3 35</p><p>ed 1 times</p><p>[mpeg2video @ 03c31060] invalid cbp -1 at 2 12</p><p>[mpeg2video @ 03c31060] invalid cbp -1 at 1 13</p><p>[mpeg2video @ 03c31060] slice mismatch</p><p>[mpeg2video @ 03c31060] invalid mb type in B Frame at 21 16</p><p>[mpeg2video @ 03c31060] concealing 1305 DC, 1305 AC, 1305 MV errors in B frame</p><p>RTP: missed 244 packets</p><p>[mpeg2video @ 03c31060] [mpeg2video @ 03c31060] ac-tex damaged at 18 27</p><p>ac-tex damaged at 39 20</p><p>[mpeg2video @ 03c31060] mb incr damaged</p><p>[mpeg2video @ 03c31060] invalid mb type in B Frame at 17 10</p><p>[mpeg2video @ 03c31060] invalid mb type in B Frame at 15 29</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 28 10</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 18 34</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 40 11</p><p>[mpeg2video @ 03c31060] invalid mb type in B Frame at 8 31</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 1 12</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 8 32</p><p>[mpeg2video @ 03c31060] invalid mb type in B Frame at 17 13</p><p>[mpeg2video @ 03c31060] [mpeg2video @ 03c31060] ac-tex damaged at 27 33</p><p>slice mismatch</p><p>[mpeg2video @ 03c31060] [mpeg2video @ 03c31060] ac-tex damaged at 4 34</p><p>ac-tex damaged at 18 15</p><p>[mpeg2video @ 03c31060] [mpeg2video @ 03c31060] slice mismatch</p><p>invalid cbp 0 at 34 16</p><p>[mpeg2video @ 03c31060] skip with previntra</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 8 18</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 31 19</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 31 20</p><p>[mpeg2video @ 03c31060] invalid cbp 0 at 34 21</p><p>[mpeg2video @ 03c31060] invalid mb type in B Frame at 26 23</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 30 24</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 16 24</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 5 25</p><p>[mpeg2video @ 03c31060] ac-tex damaged at 24 27</p><p>[mpeg2video @ 03c31060] concealing 1215 DC, 1215 AC, 1215 MV errors in B frame</p><p>[mp2 @ 03cf2800] Header missing</p><p>Error while decoding stream #0:2: Invalid data found when processing input</p><p>[mp2 @ 03cf2800] Header missing</p><p>Error while decoding stream #0:2: Invalid data found when processing input</p><p>[2015-05-13-17:35:57.293][WARN ][qtp556529265-23 - /channel?id=HBO][CommandRunne</p><p>rService] /channel /play Stream copying finished due to IOException (probably du</p><p>e to closed output channel)</p><p>[2015-05-13-17:35:57.295][INFO ][qtp556529265-23 - /channel?id=HBO][VODServiceHa</p><p>ndler] /channel /play [SERVICE REQUEST END]</p><p>[2015-05-13-17:35:57.297][INFO ][qtp556529265-23 - /channel?id=HBO][VODServiceHa</p><p>ndler] [SERVICE REQUEST END]</p><p>av_interleaved_write_frame(): Broken pipe</p><p>[/CODE]</p><p></p><p>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.</p><p>I did edit the vodserver-service-play.xml since the !!OUTPUTARGUMENTS!! (or something) did not get applied from vodserver-service-common.xml.</p><p>This is what mine looks like now..</p><p>[code]</p><p><?xml version="1.0" encoding="UTF-8"?></p><p><beans xmlns="http://www.springframework.org/schema/beans"</p><p> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</p><p> xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"></p><p> </p><p> <!-- Definition for the simple service. This service can be invoked as</p><p> http://vodserver:port/play?input=<input></p><p> <input> can be anything from which ffmpeg can read; a local file, a stream URL, ...</p><p> --></p><p> <bean id="/play" parent="paramBuilderServiceBase" class="vodserver.service.CommandRunnerService" ></p><p> <property name="command"></p><p> <!-- Command used to retrieve the input and perform the transcoding.</p><p> See the relevant definitions in vodserver-service-commons.xml</p><p> for parameterized values. --></p><p> <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></p><p> </property></p><p> </bean></p><p> </p><p></beans></p><p>[/code]</p><p></p><p>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...</p><p></p><p>WHO CAN HELP ME GET MY RTSP STREAMS WORKING?</p><p>Any other stream works nicely btw!</p><p></p><p>Other references I've tried:</p><p><a href="https://github.com/ZoneMinder/ZoneMinder/issues/811" target="_blank">https://github.com/ZoneMinder/ZoneMinder/issues/811</a></p><p><a href="http://ffmpeg.gusari.org/viewtopic.php?f=11&t=853" target="_blank">http://ffmpeg.gusari.org/viewtopic.php?f=11&t=853</a></p><p><a href="https://ffmpeg.org/pipermail/ffmpeg-user/2013-November/018641.html" target="_blank">https://ffmpeg.org/pipermail/ffmpeg-user/2013-November/018641.html</a></p><p>and many more...</p><p></p><p>Thank you.</p></blockquote><p></p>
[QUOTE="Nervesagent, post: 1136145, member: 146416"] 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] [2015-05-13-17:35:36.312][INFO ][qtp556529265-23 - /channel?id=HBO][VODServiceHa ndler] /channel /play [SERVICE REQUEST START] [2015-05-13-17:35:36.332][INFO ][qtp556529265-23 - /channel?id=HBO][CommandRunne rService] /channel /play Executing command: ffmpeg -threads 4 -i "rtsp://192.168 .1.65:554/?freq=330&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,1 8,20,2900,2901,2911,3001" -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 - ffmpeg version N-56892-ge1f8184 Copyright (c) 2000-2013 the FFmpeg developers built on Oct 4 2013 18:01:41 with gcc 4.8.1 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 52. 46.100 / 52. 46.100 libavcodec 55. 34.100 / 55. 34.100 libavformat 55. 19.100 / 55. 19.100 libavdevice 55. 3.100 / 55. 3.100 libavfilter 3. 88.101 / 3. 88.101 libswscale 2. 5.100 / 2. 5.100 libswresample 0. 17.103 / 0. 17.103 libpostproc 52. 3.100 / 52. 3.100 [mp1 @ 003dd840] Header missing Last message repeated 3 times [mpeg2video @ 03c31060] Invalid frame dimensions 0x0. [mp1 @ 003dd840] Header missing Last message repeated 2 times [mpeg2video @ 03c31060] Invalid frame dimensions 0x0. [mp1 @ 003dd840] Header missing Last message repeated 1 times [mpeg2video @ 03c31060] Invalid frame dimensions 0x0. [mp1 @ 003dd840] Header missing [mpeg2video @ 03c31060] Invalid frame dimensions 0x0. [mp1 @ 003dd840] Header missing Last message repeated 2 times [mpeg2video @ 03c31060] Invalid frame dimensions 0x0. [mp1 @ 003dd840] Header missing [mp2 @ 03cf2800] Header missing [mp1 @ 003dd840] Header missing [mpeg2video @ 03c31060] Invalid frame dimensions 0x0. [mp1 @ 003dd840] Header missing [mpeg2video @ 03c31060] Invalid frame dimensions 0x0. [mp1 @ 003dd840] Header missing Last message repeated 2 times [mpeg2video @ 03c31060] Invalid frame dimensions 0x0. [mp1 @ 003dd840] Header missing Last message repeated 1 times [mpeg2video @ 03c31060] Invalid frame dimensions 0x0. [mp1 @ 003dd840] Header missing Last message repeated 1 times [mpeg2video @ 03c31060] Invalid frame dimensions 0x0. [mp1 @ 003dd840] Header missing Last message repeated 2 times [mpeg2video @ 03c31060] Invalid frame dimensions 0x0. [mp1 @ 003dd840] Header missing Last message repeated 156 times RTP: missed 354 packets [mp1 @ 003dd840] Header missing Last message repeated 1 times [rtsp @ 003dfac0] PES packet size mismatch [mp1 @ 003dd840] Header missing Last message repeated 44 times [rtsp @ 003dfac0] decoding for stream 0 failed [rtsp @ 003dfac0] Could not find codec parameters for stream 0 (Audio: mp1 ([6][ 0][0][0] / 0x0006), 0 channels, s16p): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, rtsp, from 'rtsp://192.168.1.65:554/?freq=330&bw=8&msys=dvbc&mtype=256 qam&sr=6900&specinv=0&pids=0,16,17,18,20,2900,2901,2911,3001': Metadata: title : SatIPServer:1 2 Duration: N/A, start: 22267.377122, bitrate: 256 kb/s Program 19081 Metadata: service_name : RTL 4 service_provider: Ziggo Program 19082 Metadata: service_name : RTL 5 service_provider: Ziggo Program 19083 Metadata: service_name : RTL 7 service_provider: Ziggo Program 19084 Metadata: service_name : MTV service_provider: Ziggo Stream #0:1: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:2(dut): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p , 256 kb/s Stream #0:0(dut): Audio: mp1 ([6][0][0][0] / 0x0006), 0 channels, s16p Program 19085 Metadata: service_name : NPO Politiek service_provider: Ziggo Program 19086 Metadata: service_name : Shorts TV service_provider: Ziggo Program 19087 Metadata: service_name : 192TV service_provider: Ziggo [mpeg2video @ 05b323a0] impossible bitrate constraints, this will fail Output #0, mpegts, to 'pipe:': Metadata: title : SatIPServer:1 2 encoder : Lavf55.19.100 Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-3 1, 2000 kb/s, 90k tbn, 25 tbc Stream #0:1(dut): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s Stream mapping: Stream #0:1 -> #0:0 (mpeg2video -> mpeg2video) Stream #0:2 -> #0:1 (mp2 -> mp2) Press [q] to stop, [?] for help [mp2 @ 03cf2800] Header missing Error while decoding stream #0:2: Invalid data found when processing input [2015-05-13-17:35:41.948][INFO ][qtp556529265-23 - /channel?id=HBO][CommandRunne rService] /channel /play Opening response output stream frame= 39 fps=0.0 q=15.5 size= 319kB time=00:00:01.48 bitrate=1765.2kbits/ frame= 64 fps= 60 q=30.8 size= 655kB time=00:00:02.48 bitrate=2165.0kbits/ frame= 80 fps= 49 q=4.7 size= 829kB time=00:00:03.12 bitrate=2175.5kbits/s frame= 89 fps= 41 q=5.7 size= 929kB time=00:00:03.48 bitrate=2186.4kbits/s [mpeg2video @ 03c31060] 00 motion_type at 11 25 [mpeg2video @ 03c31060] ac-tex damaged at 28 8 [mpeg2video @ 03c31060] Warning MVs not available [mpeg2video @ 03c31060] concealing 45 DC, 45 AC, 45 MV errors in P frame frame= 113 fps= 42 q=14.1 size= 1021kB time=00:00:04.44 bitrate=1884.1kbits/ [mp2 @ 03cf2800] Header missing Error while decoding stream #0:2: Invalid data found when processing input frame= 118 fps= 37 q=15.8 size= 1239kB time=00:00:04.64 bitrate=2187.3kbits/ frame= 130 fps= 35 q=27.6 size= 1388kB time=00:00:05.12 bitrate=2221.0kbits/ RTP: missed 2825 packets RTP: missed 109 packets [mpeg2video @ 03c31060] ac-tex damaged at 1 13 [mpeg2video @ 03c31060] concealing 810 DC, 810 AC, 810 MV errors in P frame [mpeg2video @ 03c31060] 00 motion_type at 36 1 [mpeg2video @ 03c31060] Warning MVs not available [mpeg2video @ 03c31060] concealing 135 DC, 135 AC, 135 MV errors in B frame frame= 233 fps= 55 q=4.8 size= 1453kB time=00:00:09.24 bitrate=1287.8kbits/s [mp2 @ 03cf2800] Header missing Error while decoding stream #0:2: Invalid data found when processing input RTP: missed 184 packets [mpeg2video @ 03c31060] ac-tex damaged at 20 29 [mpeg2video @ 03c31060] invalid mb type in I Frame at 0 34 [mpeg2video @ 03c31060] ac-tex damaged at 0 35 [mpeg2video @ 03c31060] concealing 315 DC, 315 AC, 315 MV errors in I frame [mpeg2video @ 03c31060] ac-tex damaged at 40 0 [mpeg2video @ 03c31060] Warning MVs not available [mpeg2video @ 03c31060] concealing 90 DC, 90 AC, 90 MV errors in B frame [rtsp @ 003dfac0] PES packet size mismatch [mp2 @ 03cf2800] Header missing Error while decoding stream #0:2: Invalid data found when processing input frame= 244 fps= 30 q=6.3 size= 2500kB time=00:00:09.68 bitrate=2115.5kbits/s RTP: missed 2748 packets [mp2 @ 03cf2800] Header missing Error while decoding stream #0:2: Invalid data found when processing input [mpeg2video @ 03c31060] 00 motion_type at 26 34 [mpeg2video @ 03c31060] concealing 0 DC, 0 AC, 0 MV errors in B frame [mpeg2video @ 03c31060] concealing 41 DC, 41 AC, 41 MV errors in P frame frame= 338 fps= 39 q=3.6 size= 2624kB time=00:00:13.44 bitrate=1599.2kbits/s RTP: missed 196 packets RTP: missed 13 packets RTP: missed 70 packets [mpeg2video @ 03c31060] concealing 597 DC, 597 AC, 597 MV errors in P frame [mpeg2video @ 03c31060] invalid mb type in B Frame at 28 1 [mpeg2video @ 03c31060] 00 motion_type at 35 16 [mpeg2video @ 03c31060] concealing 270 DC, 270 AC, 270 MV errors in B frame RTP: missed 13 packets [mpeg2video @ 03c31060] concealing 604 DC, 604 AC, 604 MV errors in B frame RTP: missed 15 packets [mpeg2video @ 03c31060] skipped MB in I frame at 19 10 [mpeg2video @ 03c31060] concealing 450 DC, 450 AC, 450 MV errors in I frame [rtsp @ 003dfac0] PES packet size mismatch [mp2 @ 03cf2800] Header missing Error while decoding stream #0:2: Invalid data found when processing input [mp2 @ 03cf2800] Header missing Error while decoding stream #0:2: Invalid data found when processing input frame= 356 fps= 28 q=15.1 size= 3581kB time=00:00:14.16 bitrate=2071.6kbits/ RTP: missed 2920 packets RTP: missed 9 packets [mp2 @ 03cf2800] Header missing Error while decoding stream #0:2: Invalid data found when processing input [mp2 @ 03cf2800] Header missing Error while decoding stream #0:2: Invalid data found when processing input [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] 00 motion_type at 0 27 invalid mb type in B Frame at 10 2 [mpeg2video @ 03c31060] ac-tex damaged at 0 28 [mpeg2video @ 03c31060] 00 motion_type at 0 3 [mpeg2video @ 03c31060] slice mismatch [mpeg2video @ 03c31060] mb incr damaged 1 times Last message message repeated repeated 1 times [mpeg2video @ 03c31060] L00 motion_type at 34 5 ast m[mpeg2video @ 03c31060] eslice mismatch s sage repeated Last 1 message times [mpeg2video @ 03c31060] 00 motion_type at 0 31 [mpeg2video @ 03c31060] mb incr damaged [mpeg2video @ 03c31060] 00 motion_type at 0 32 [mpeg2video @ 03c31060] 00 motion_type at 41 9 [mpeg2video @ 03c31060] 00 motion_type at 2 33 [mpeg2video @ 03c31060] 00 motion_type at 0 10 [mpeg2video @ 03c31060] 00 motion_type at 0 34 [mpeg2video @ 03c31060] 00 motion_type at 0 11 [mpeg2video @ 03c31060] slice mismatch [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] 00 motion_type at 0 12 00 motion_type at 1 21 [mpeg2video @ 03c31060] 00 motion_type at 0 13 [mpeg2video @ 03c31060] ac-tex damaged at 1 22 [mpeg2video @ 03c31060] 00 motion_type at 0 14 [mpeg2video @ 03c31060] 00 motion_type at 9 23 [mpeg2video @ 03c31060] 00 motion_type at 0 15 [mpeg2video @ 03c31060] 00 motion_type at 11 24 [mpeg2video @ 03c31060] 00 motion_type at 0 16 [mpeg2video @ 03c31060] 00 motion_type at 23 25 [mpeg2video @ 03c31060] 00 motion_type at 0 17 [mpeg2video @ 03c31060] ac-tex damaged at 8 26 [mpeg2video @ 03c31060] 00 motion_type at 0 18 [mpeg2video @ 03c31060] 00 motion_type at 0 27 [mpeg2video @ 03c31060] 00 motion_type at 15 19 [mpeg2video @ 03c31060] 00 motion_type at 0 28 [mpeg2video @ 03c31060] 00 motion_type at 0 20 [mpeg2video @ 03c31060] 00 motion_type at 0 29 [mpeg2video @ 03c31060] 00 motion_type at 0 21 [mpeg2video @ 03c31060] 00 motion_type at 0 30 [mpeg2video @ 03c31060] 00 motion_type at 11 22 [mpeg2video @ 03c31060] 00 motion_type at 17 31 [mpeg2video @ 03c31060] 00 motion_type at 5 23 [mpeg2video @ 03c31060] 00 motion_type at 8 32 [mpeg2video @ 03c31060] 00 motion_type at 2 24 [mpeg2video @ 03c31060] 00 motion_type at 0 33 [mpeg2video @ 03c31060] invalid cbp 0 at 0 25 [mpeg2video @ 03c31060] 00 motion_type at 0 34 [mpeg2video @ 03c31060] 00 motion_type at 0 26 [mpeg2video @ 03c31060] slice mismatch [mpeg2video @ 03c31060] concealing 1530 DC, 1530 AC, 1530 MV errors in B frame RTP: missed 60 packets RTP: missed 40 packets frame= 460 fps= 34 q=2.0 size= 3633kB time=00:00:18.32 bitrate=1624.7kbits/s [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] slice mismatch ac-tex damaged at 14 9 [mpeg2video @ 03c31060] ac-tex damaged at 23 30 [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] invalid cbp -1 at 6 31 [mpeg2video @ 03c31060] skip with previntra slice mismatch [mpeg2video @ 03c31060] slice mismatch repeated 1 times repeated Last 1 message times [mpeg2video @ 03c31060] invalid cbp -1 at 0 33 Last message r[mpeg2video @ 03c31060] eslice mismatch pea[mpeg2video @ 03c31060] tinvalid mb type in B Frame at 3 35 ed 1 times [mpeg2video @ 03c31060] invalid cbp -1 at 2 12 [mpeg2video @ 03c31060] invalid cbp -1 at 1 13 [mpeg2video @ 03c31060] slice mismatch [mpeg2video @ 03c31060] invalid mb type in B Frame at 21 16 [mpeg2video @ 03c31060] concealing 1305 DC, 1305 AC, 1305 MV errors in B frame RTP: missed 244 packets [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] ac-tex damaged at 18 27 ac-tex damaged at 39 20 [mpeg2video @ 03c31060] mb incr damaged [mpeg2video @ 03c31060] invalid mb type in B Frame at 17 10 [mpeg2video @ 03c31060] invalid mb type in B Frame at 15 29 [mpeg2video @ 03c31060] ac-tex damaged at 28 10 [mpeg2video @ 03c31060] ac-tex damaged at 18 34 [mpeg2video @ 03c31060] ac-tex damaged at 40 11 [mpeg2video @ 03c31060] invalid mb type in B Frame at 8 31 [mpeg2video @ 03c31060] ac-tex damaged at 1 12 [mpeg2video @ 03c31060] ac-tex damaged at 8 32 [mpeg2video @ 03c31060] invalid mb type in B Frame at 17 13 [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] ac-tex damaged at 27 33 slice mismatch [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] ac-tex damaged at 4 34 ac-tex damaged at 18 15 [mpeg2video @ 03c31060] [mpeg2video @ 03c31060] slice mismatch invalid cbp 0 at 34 16 [mpeg2video @ 03c31060] skip with previntra [mpeg2video @ 03c31060] ac-tex damaged at 8 18 [mpeg2video @ 03c31060] ac-tex damaged at 31 19 [mpeg2video @ 03c31060] ac-tex damaged at 31 20 [mpeg2video @ 03c31060] invalid cbp 0 at 34 21 [mpeg2video @ 03c31060] invalid mb type in B Frame at 26 23 [mpeg2video @ 03c31060] ac-tex damaged at 30 24 [mpeg2video @ 03c31060] ac-tex damaged at 16 24 [mpeg2video @ 03c31060] ac-tex damaged at 5 25 [mpeg2video @ 03c31060] ac-tex damaged at 24 27 [mpeg2video @ 03c31060] concealing 1215 DC, 1215 AC, 1215 MV errors in B frame [mp2 @ 03cf2800] Header missing Error while decoding stream #0:2: Invalid data found when processing input [mp2 @ 03cf2800] Header missing Error while decoding stream #0:2: Invalid data found when processing input [2015-05-13-17:35:57.293][WARN ][qtp556529265-23 - /channel?id=HBO][CommandRunne rService] /channel /play Stream copying finished due to IOException (probably du e to closed output channel) [2015-05-13-17:35:57.295][INFO ][qtp556529265-23 - /channel?id=HBO][VODServiceHa ndler] /channel /play [SERVICE REQUEST END] [2015-05-13-17:35:57.297][INFO ][qtp556529265-23 - /channel?id=HBO][VODServiceHa ndler] [SERVICE REQUEST END] av_interleaved_write_frame(): Broken pipe [/CODE] 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] <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <!-- Definition for the simple service. This service can be invoked as http://vodserver:port/play?input=<input> <input> can be anything from which ffmpeg can read; a local file, a stream URL, ... --> <bean id="/play" parent="paramBuilderServiceBase" class="vodserver.service.CommandRunnerService" > <property name="command"> <!-- Command used to retrieve the input and perform the transcoding. See the relevant definitions in vodserver-service-commons.xml for parameterized values. --> <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> </property> </bean> </beans> [/code] 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: [URL]https://github.com/ZoneMinder/ZoneMinder/issues/811[/URL] [URL]http://ffmpeg.gusari.org/viewtopic.php?f=11&t=853[/URL] [URL]https://ffmpeg.org/pipermail/ffmpeg-user/2013-November/018641.html[/URL] and many more... Thank you. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
VODServer - Watch internet streams as TV channels
Contact us
RSS
Top
Bottom