[Logo] Air Video Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Moderation Log] Moderation Log   [Register] Register / 
[Login] Login 
Problems with live streaming of Hauppauge HD-PVR H.264 files  XML
Forum Index » Air Video Problems and Solutions
Author Message
dadavo



Joined: 10/18/2009 07:51:30
Messages: 16
Offline

Hello. I recently purchased a Hauppauge HD-PVR and I am having difficulties getting smooth streaming of my H.264 video file. Prior to the HD-PVR I was using a recoder that captured my files at 18-25K Mbps in MPEG 2. I had no problems streaming those videos. Now my files are 13 Mbps in H.264 and when I stream to my iPhone it buffers every 30 seconds or so. I checked the system resources and it never exceeds 80% for CPU usage. I can stream fully converted files without buffering so bandwidth isn't an issue. I am using a 2.16GHz Core 2 Duo and have tried the 2.1.7 and 2.1.8 1 server betas. Any help or suggestions would be great.
Admin



Joined: 08/23/2009 08:49:34
Messages: 8705
Offline

I suggest you to try 2.1.8 beta 2 and if that doesn't help post the live conversion log here.
dadavo



Joined: 10/18/2009 07:51:30
Messages: 16
Offline

I have tried. I keep getting a "Unexplained Error" after clicking Play with Live conversion so I reverted back to 2.1.8-1
[Thumb - IMG_0101.png]
 Filename IMG_0101.png [Disk] Download
 Description
 Filesize 94 Kbytes
 Downloaded:  1555 time(s)

Admin



Joined: 08/23/2009 08:49:34
Messages: 8705
Offline

Does that happen for every video that you try to play using live conversion?
Admin



Joined: 08/23/2009 08:49:34
Messages: 8705
Offline

Also our error logging was down, can you please resubmit the error log? Thanks.
dadavo



Joined: 10/18/2009 07:51:30
Messages: 16
Offline

Yes any video I select. I forgot to mention that no logs are generated for anything except Thumbnail Generation which I have pasted below.



SnapshotCache: Loaded existing Snapshot Index BTree with with 40 items.
Thumbnail: ===============================================================================================================
Thumbnail: FFmpeg version UNKNOWN, Copyright (c) 2000-2009 Fabrice Bellard, et al.
Thumbnail: built on Nov 5 2009 21:13:19 with gcc 4.4.0
Thumbnail: configuration: --enable-memalign-hack --prefix=/mingw --target-os=mingw32 --arch=i686 --cpu=i686 --enable-gpl --enable-libfaac --enable-libx264 --enable-nonfree --enable-static --disable-shared --enable-pthreads
Thumbnail: libavutil 50. 3. 0 / 50. 3. 0
Thumbnail: libavcodec 52.38. 0 / 52.38. 0
Thumbnail: libavformat 52.39. 2 / 52.39. 2
Thumbnail: libavdevice 52. 2. 0 / 52. 2. 0
Thumbnail: libswscale 0. 7. 1 / 0. 7. 1
Thumbnail: [mpegts @ 0x3eddf0]max_analyze_duration reached
Thumbnail:
Thumbnail: Seems stream 0 codec frame rate differs from container frame rate: 119.88 (120000/1001) -> 59.94 (60000/1001)
Thumbnail: Input #0, mpegts, from 'C:\\Documents and Settings\\HTPC Admin\\My Documents\\My Videos\\SageTV\\XPlay-6494043-0.ts':
Thumbnail: Duration: 00:25:40.78, start: 0.387044, bitrate: 12754 kb/s
Thumbnail: Program 1
Thumbnail: Stream #0.0[0x1011]: Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 59.94 tbr, 90k tbn, 119.88 tbc
Thumbnail: Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
Thumbnail: Output #0, mjpeg, to 'pipe:':
Thumbnail: Stream #0.0: Video: mjpeg, yuvj420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 59.94 tbc
Thumbnail: Stream mapping:
Thumbnail: Stream #0.0 -> #0.0
Thumbnail: Press [q] to stop encoding
Thumbnail: frame= 1 fps= 0 q=8.8 Lsize= 54kB time=0.02 bitrate=26350.9kbits/s
Thumbnail:
Thumbnail: video:54kB audio:0kB global headers:0kB muxing overhead 0.000000%

This message was edited 1 time. Last update was at 11/10/2009 00:31:42

dadavo



Joined: 10/18/2009 07:51:30
Messages: 16
Offline

Admin wrote:Also our error logging was down, can you please resubmit the error log? Thanks.


I have resubmitted now about 3 times
Admin



Joined: 08/23/2009 08:49:34
Messages: 8705
Offline

Thanks. I've got the log.
dadavo



Joined: 10/18/2009 07:51:30
Messages: 16
Offline

Hello. OK, Beta 3 did resolve my issues. I am able to stream my video again. Big Thanks! It seems to use 100% of my CPU but still streams smoothly. I now have an issue with resuming videos that I have exited. When I start a live stream then stop, when I try to continue from last position it just continuously buffers. I have to start from the beginning to get the video to play again.
Admin



Joined: 08/23/2009 08:49:34
Messages: 8705
Offline

Well, if the videos are transport streams the seeking problem might be caused by nonexisting index. Are the videos on your local harddrive? How big are the files? Seeking in transport streams can be problematic.
dadavo



Joined: 10/18/2009 07:51:30
Messages: 16
Offline

2-7 GBs. They are on my local drive it is also the drive Air Video is running from. Yes I am also unable to seek, thought I know this worked in 2.1.7. I will test this again when I can.

This message was edited 1 time. Last update was at 11/14/2009 02:34:21

dadavo



Joined: 10/18/2009 07:51:30
Messages: 16
Offline

OK. I was able to confirm that seeking and resume does work with my .ts files using versions 2.1.7 and 2.1.8 beta 1. It doesn't work with beta 3 or 5. I also noticed that ffmpeg is launched however it uses only half the CPU resources that it normally does.

This message was edited 1 time. Last update was at 11/16/2009 04:35:58

Admin



Joined: 08/23/2009 08:49:34
Messages: 8705
Offline

It could be a regression in ffmpeg. Can you post here the live conversion log when you try to seek? Also, the CPU load that you mention, is it lower when actually playing the videos or is it lower when "seeking"?
dadavo



Joined: 10/18/2009 07:51:30
Messages: 16
Offline

Here is the log of me streaming a file, stopping, then trying to resume from the last position. I can start from the beginning of any file or seek on a file that I have not played before. However when I try to resume or seek in a file that I am currently watching or have started it just continues to buffer. As far as the CPU usage it is both. If I stream from the beginning or Seek in a file I have not played before, CPU jumps to 100%. If I resume a stream or seek from a file that I am currently playing then it will use less of the CPU.

LiveConversion: Begin Live Video Conversion
LiveConversion:
LiveConversion: FFmpeg version UNKNOWN, Copyright (c) 2000-2009 Fabrice Bellard, et al.
LiveConversion: built on Nov 5 2009 21:13:19 with gcc 4.4.0
LiveConversion: configuration: --enable-memalign-hack --prefix=/mingw --target-os=mingw32 --arch=i686 --cpu=i686 --enable-gpl --enable-libfaac --enable-libx264 --enable-nonfree --enable-static --disable-shared --enable-pthreads
LiveConversion: libavutil 50. 3. 0 / 50. 3. 0
LiveConversion: libavcodec 52.38. 0 / 52.38. 0
LiveConversion: libavformat 52.39. 2 / 52.39. 2
LiveConversion: libavdevice 52. 2. 0 / 52. 2. 0
LiveConversion: libswscale 0. 7. 1 / 0. 7. 1
LiveConversion: [mpegts @ 0x3ee790]max_analyze_duration reached
LiveConversion:
LiveConversion: Seems stream 0 codec frame rate differs from container frame rate: 119.88 (120000/1001) -> 59.94 (60000/1001)
LiveConversion: Input #0, mpegts, from 'C:\\Documents and Settings\\HTPC Admin\\My Documents\\My Videos\\SageTV\\TheVentureBrothers-TheRevengeSociety-6473262-0.ts':
LiveConversion: Duration: 00:29:52.77, start: 0.387044, bitrate: 12741 kb/s
LiveConversion: Program 1
LiveConversion: Stream #0.0[0x1011]: Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 59.94 tbr, 90k tbn, 119.88 tbc
LiveConversion: Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
LiveConversion: [libx264 @ 0x166d200]using SAR=53/54
LiveConversion: [libx264 @ 0x166d200]using cpu capabilities: MMX2 Cache64
LiveConversion: [libx264 @ 0x166d200]profile Baseline, level 2.1
LiveConversion: Output #0, mpegts, to 'pipe:':
LiveConversion: Stream #0.0: Video: libx264, yuv420p, 432x240 [PAR 53:54 DAR 53:30], q=2-34, 200 kb/s, 90k tbn, 29.97 tbc
LiveConversion: Stream #0.1: Audio: aac, 48000 Hz, 2 channels, s16, 96 kb/s
LiveConversion: Stream mapping:
LiveConversion: Stream #0.0 -> #0.0
LiveConversion: Stream #0.1 -> #0.1
LiveConversion: Press [q] to stop encoding
LiveConversion: frame= 26 fps= 0 q=4063231.0 size= 1kB time=0.77 bitrate= 5.9kbits/s
LiveConversion: frame= 235 fps= 42 q=34.0 size= 65kB time=6.27 bitrate= 84.4kbits/s
LiveConversion: frame= 446 fps= 42 q=34.0 size= 275kB time=13.31 bitrate= 169.1kbits/s
LiveConversion: frame= 638 fps= 41 q=34.0 size= 477kB time=19.72 bitrate= 198.3kbits/s
LiveConversion: frame= 801 fps= 39 q=34.0 size= 702kB time=25.16 bitrate= 228.7kbits/s
LiveConversion: frame= 980 fps= 38 q=34.0 size= 964kB time=31.13 bitrate= 253.6kbits/s
===============================================================================================================
LiveConversion: Begin Live Video Conversion
LiveConversion: LiveConversion: FFmpeg version UNKNOWN, Copyright (c) 2000-2009 Fabrice Bellard, et al.
LiveConversion: built on Nov 5 2009 21:13:19 with gcc 4.4.0
LiveConversion: configuration: --enable-memalign-hack --prefix=/mingw --target-os=mingw32 --arch=i686 --cpu=i686 --enable-gpl --enable-libfaac --enable-libx264 --enable-nonfree --enable-static --disable-shared --enable-pthreads
LiveConversion: libavutil 50. 3. 0 / 50. 3. 0
LiveConversion: libavcodec 52.38. 0 / 52.38. 0
LiveConversion: libavformat 52.39. 2 / 52.39. 2
LiveConversion: libavdevice 52. 2. 0 / 52. 2. 0
LiveConversion: libswscale 0. 7. 1 / 0. 7. 1
LiveConversion: [mpegts @ 0x3ee7d0]max_analyze_duration reached
LiveConversion:
LiveConversion: Seems stream 0 codec frame rate differs from container frame rate: 119.88 (120000/1001) -> 59.94 (60000/1001)
LiveConversion: Input #0, mpegts, from 'C:\\Documents and Settings\\HTPC Admin\\My Documents\\My Videos\\SageTV\\TheVentureBrothers-TheRevengeSociety-6473262-0.ts':
LiveConversion: Duration: 00:29:52.77, start: 0.387044, bitrate: 12741 kb/s
LiveConversion: Program 1
LiveConversion: Stream #0.0[0x1011]: Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 59.94 tbr, 90k tbn, 119.88 tbc
LiveConversion: Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
LiveConversion: [libx264 @ 0x166d200]using SAR=53/54
LiveConversion: [libx264 @ 0x166d200]using cpu capabilities: MMX2 Cache64
LiveConversion: [libx264 @ 0x166d200]profile Baseline, level 2.1
LiveConversion: Output #0, mpegts, to 'pipe:':
LiveConversion: Stream #0.0: Video: libx264, yuv420p, 432x240 [PAR 53:54 DAR 53:30], q=2-34, 200 kb/s, 90k tbn, 29.97 tbc
LiveConversion: Stream #0.1: Audio: aac, 48000 Hz, 2 channels, s16, 96 kb/s
LiveConversion: Stream mapping:
LiveConversion: Stream #0.0 -> #0.0
LiveConversion: Stream #0.1 -> #0.1
LiveConversion: Press [q] to stop encoding
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x189e7e0]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x189eeb0]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x18cb4d0]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 15 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x18cbb80]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x189e7e0]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x189eeb0]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 15 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x18cb4d0]no frame!
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x18cbb80]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x189e7e0]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x189eeb0]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x18cb4d0]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 15 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x18cbb80]no frame!
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x189e7e0]no frame!
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x189eeb0]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: [h264 @ 0x189e7e0]B picture before any references, skipping
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x18cb4d0]no frame!
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 15 referenced in buffering period
LiveConversion: [h264 @ 0x3efbe0]non-existing PPS referenced
LiveConversion: Error while decoding stream #0.0
LiveConversion: [h264 @ 0x189e7e0]decode_slice_header error
LiveConversion: [h264 @ 0x18cbb80]no frame!
LiveConversion: [h264 @ 0x3efbe0]sps_id out of range
LiveConversion: [h264 @ 0x3efbe0]non-existing SPS 31 referenced in buffering period

Log page full. Discarding all subsequent entries!

This message was edited 1 time. Last update was at 11/16/2009 17:36:03

dadavo



Joined: 10/18/2009 07:51:30
Messages: 16
Offline

Were you able to get anything from this?

This message was edited 1 time. Last update was at 11/25/2009 23:32:43

 
Forum Index » Air Video Problems and Solutions
Go to:   
Powered by JForum 2.1.8 © JForum Team