| Author |
Message |
|
|
|
Any chance of going back to the multi-threaded ffmpeg?
|
 |
|
|
Admin wrote:Even if the process says it uses 100% of CPU the operating system scheduler will give CPU time to other processes as well. What is your computer configuration and is the format and resolution of input videos? Btw, if you increase ffmpeg.exe process priority during playback (in task manager), does it get any better?
I changed both FFMpeg and AirVideo processes to Realtime Priority with no other applications running in the background. It made little diffrence. I have my settings for AirVideo on my iPhone to stream at about 25% - 40% quality. The videos are the same as I uploaded before. 12.5 MB/s H.264 ts files. The multi-theaded FFMpeg did a very good job of giving me smooth streaming. Thanks for any help or advice you can give me.
Intel T2600 2.16GHz Core 2 Duo
3GB RAM
Windows XP Service Pack 3
500GB x2 in Raid 0
|
 |
|
|
Admin wrote:Does the rebuferring happen on local network or over 3g?
Both. I monitor the CPU usage and it never exceeds 70% with this version of FFMpeg. The multi-threaded versions always registered 100% usage but streamed smoothly. Though it didn't seem like 100% was being used as running other background programs ran without stuttering.
|
 |
|
|
|
Yes I noticed the seeking was working. Too bad, while this does fix my seeking issue my original problem of buffering every minute or so reappears. Oh well.
|
 |
|
|
|
Is this release optimized for multi-core CPUs?
|
 |
|
|
Admin wrote:It looks like a corrupted H264 stream. I can't really tell why it did work with previous ffmpeg build and doesn't work with the newer one. What is the smallest file that you have that causes this problem?
I can create files <100MB from my recording software.
|
 |
|
|
|
Were you able to get anything from this?
|
 |
|
|
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!
|
 |
|
|
|
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.
|
 |
|
|
|
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.
|
 |
|
|
|
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 wrote:Also our error logging was down, can you please resubmit the error log? Thanks.
I have resubmitted now about 3 times
|
 |
|
|
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%
|
 |
|
|
|
I have tried. I keep getting a "Unexplained Error" after clicking Play with Live conversion so I reverted back to 2.1.8-1
|
 |
|
|
|
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.
|
 |
|
|
|
|