Re: [Live-devel] H.264 in MPEG-2 TS streams roughly at the start

2012-09-21 Thread Warren Young
On 9/20/2012 5:11 AM, Warren Young wrote: libx264 is pretty much incapable of true CBR. You have to do null-stuffing to get a CBR-like result, and even then, you end up with a fair bit of variability. I have bitrate graphs to prove it. :) Someone emailed me privately asking about those graphs

Re: [Live-devel] H.264 in MPEG-2 TS streams roughly at the start

2012-09-20 Thread Warren Young
On 9/11/2012 2:54 PM, Mojtaba Nouri wrote: We had the same problem, and we solved it by creating cbr ts files stuffed with NULL packets. The following thread shows the ffmpeg command parameters to create h.264 cbr files: http://stackoverflow.com/questions/7125446/encoding-h-264-cbr-videos-with-ff

Re: [Live-devel] H.264 in MPEG-2 TS streams roughly at the start

2012-09-11 Thread Mojtaba Nouri
Hi We had the same problem, and we solved it by creating cbr ts files stuffed with NULL packets. The following thread shows the ffmpeg command parameters to create h.264 cbr files: http://stackoverflow.com/questions/7125446/encoding-h-264-cbr-videos-with-ffmpeg Mojtaba Nouri Soroush HighTech Ltd.

Re: [Live-devel] H.264 in MPEG-2 TS streams roughly at the start

2012-09-11 Thread Warren Young
On 9/10/2012 5:51 PM, Warren Young wrote: If you take a guess at the GOP length, you can infer frame rate. I meant bit rate, obviously. We've tried to get a CBR stream out of ffmpeg, just to prove to ourselves that stream variability is the problem. We haven't succeeded. Apparently ffmpeg

Re: [Live-devel] H.264 in MPEG-2 TS streams roughly at the start

2012-09-10 Thread Warren Young
On 9/7/2012 10:13 PM, Ross Finlayson wrote: We've been unable to create files that stream as smoothly as our old MPEG-2 files. Our code has trouble streaming MPEG Transport Stream files that are extremely VBR (variable bit rate), which is what I suspect your file is. Yes, that's right. It av

Re: [Live-devel] H.264 in MPEG-2 TS streams roughly at the start

2012-09-07 Thread Ross Finlayson
> We've been using live555MediaServer with MPEG-2 A/V in TS files successfully > for quite some time now, but we are now experimenting with H.264 in TS. > We've been unable to create files that stream as smoothly as our old MPEG-2 > files. Our code has trouble streaming MPEG Transport Stream f

[Live-devel] H.264 in MPEG-2 TS streams roughly at the start

2012-09-07 Thread Warren Young
We've been using live555MediaServer with MPEG-2 A/V in TS files successfully for quite some time now, but we are now experimenting with H.264 in TS. We've been unable to create files that stream as smoothly as our old MPEG-2 files. Here is my latest ffmpeg command attempt: ffmpeg -i original