Ok, I've managed to fix the problem. Thank you!

Now I have a question. What is an acceptable bitrate for H.264-encoded video
streaming over the Internet? I'm trying 320x240 and 640x480 resolutions.

Marcelo, o Caniato!

"Faça da tua vida um reflexo da sociedade que desejas."
(Mahatma Ghandi)


2009/11/23 Marcelo Caniato Renhe <[email protected]>

> Yeah, I tried changing bitrate, but i've seen no apparent change.
>
> Marcelo, o Caniato!
>
> "Faça da tua vida um reflexo da sociedade que desejas."
> (Mahatma Ghandi)
>
>
> 2009/11/23 Glen Ruedinger <[email protected]>
>
>> Bitrate is the most obvious that comes to mind as it control how much
>> information can be encoded.  The lower the bitrate the less data that is
>> encoded.  But with lower bitrate comes worse quality.
>>
>> On Mon, Nov 23, 2009 at 3:45 PM, Marcelo Caniato Renhe <
>> [email protected]> wrote:
>>
>> > Thanks Glen, I'll check it.
>> >
>> > Plus, I forgot to mention that I tested the streaming through localhost,
>> > then through different PCs in the same LAN, then through Internet. This
>> > influenced in the result too. The results for Internet, as expected, was
>> > worse, but they were TOO worse. I am sending a 640x240 buffer (two
>> 340x240
>> > buffers concatenated side by side). Are there any codec parameters that
>> may
>> > be helpful for my streaming purposes?
>> >
>> > Marcelo, o Caniato!
>> >
>> > "Faça da tua vida um reflexo da sociedade que desejas."
>> > (Mahatma Ghandi)
>> >
>> >
>> > 2009/11/23 Glen Ruedinger <[email protected]>
>> >
>> > > You might want to check CPU load during compression.  H264 requires a
>> lot
>> > > of
>> > > CPU for encoding especially frames with lots of motion.  It may be
>> that
>> > the
>> > > CPU is not keeping up with the input source.
>> > >
>> > > On Mon, Nov 23, 2009 at 2:43 PM, Marcelo Caniato Renhe <
>> > > [email protected]> wrote:
>> > >
>> > > > Hello all!
>> > > >
>> > > > I am developing an application which encodes video frames captured
>> from
>> > a
>> > > > webcam and sends the frames through UDP streaming to a client
>> connected
>> > > to
>> > > > it. The client then decodes the frame and exhibits it on the screen.
>> I
>> > am
>> > > > using H.264 codec and I am getting a lot of noise. At first, I
>> thought
>> > it
>> > > > could be just because of packet loss, but I have an alternate JPEG
>> > > encoding
>> > > > which is working better than H.264. So packet loss doesn't make
>> sense,
>> > > > because the size of the buffer sent is a lot smaller in H.264 than
>> in
>> > > JPEG
>> > > > (approximately 4x smaller). I tried to play with the codec
>> parameters,
>> > > but
>> > > > they are so many and the documentation is not much helpful.
>> > > >
>> > > > So if any of you know how to reduce the noise in the image or have
>> some
>> > > > tips
>> > > > for me, please answer. Basically, when I move the camera, a lot of
>> > > glitches
>> > > > appear in the screen and some portions of previous frames keep kind
>> of
>> > > > repeating in the new frames. It stabilizes, but it takes some time,
>> and
>> > I
>> > > > need it to be real time.
>> > > >
>> > > > Thank you!
>> > > >
>> > > > Marcelo, o Caniato!
>> > > >
>> > > > "Faça da tua vida um reflexo da sociedade que desejas."
>> > > > (Mahatma Ghandi)
>> > > > _______________________________________________
>> > > > libav-user mailing list
>> > > > [email protected]
>> > > > https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>> > > >
>> > > _______________________________________________
>> > > libav-user mailing list
>> > > [email protected]
>> > > https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>> > >
>> > _______________________________________________
>> > libav-user mailing list
>> > [email protected]
>> > https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>> >
>> _______________________________________________
>> libav-user mailing list
>> [email protected]
>> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>>
>
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to