Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: H264 and Quicktime 7,2



Hi Leon,

I've just attempted using h264 on a quad core 3Ghz pc and it just manages to encode a 720x576 1.2Mbit stream live without artefacts... however it is pretty maxed out trying to encode it live.

That was using the command you sent me, changed a little for our configuration:

call "C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv -I rc --reset-config dshow:// vdev="Osprey-5X0 Video Device 1" adev="Osprey-5X0 Audio Device 1" --sout #transcode{vcodec=h264,acodec=mpga,vb=1200,ab=128,width=720,height=404,threads=4}:duplicate{dst=rtp{dst=192.168.20.2,port-audio=20000,port-video=20002,ttl=127,sdp=file://M:/h264.sdp}}

Thanks again for your help,

What spec is your machine? h264 seems to be hard to do on the fly, knocking down the motion estimation seems to help quite a bit.

Tristan.

Leon Kolchinsky wrote:
Hi Paul,

I've seen the same issues, when streaming to a VLC client it works
beautifully but when passing to Quicktime it looks horrid, I haven't yet
found a solution unfortunately, tho I'm hoping by tweaking the x264
settings I'll get it working.

Currently stuck trying to get an Audio feed working with MPEG4, do you
have an audio feed too, or just plain video, if you do would you mind
sharing you VLC command, as I can't get it working with audio at all.

Thanks,

Tristan.

Paul Mcwhorter wrote:
    
Howdy all,

For several weeks I have successfully streamed
live video from a complex of little league fields
onto a world wide webpage. Don't ask for the address!

I use DSS 555 on Linux to serve the live streams.
I use VLC as my broadcast encoder software.
VLC announces the streams to DSS which then creates
SDP files that the webpage references.

The setup works very well,
one day I may create a wiki ;-)

Currently I am streaming MPEG4,
but I would like to stream H264.

Actually I can stream H264,
but the video that Quicktime 7.2 decodes
has lots and lots of artifacts.

Does anyone know the magic string of
VLC/x264 transcode parameters that will
stream quality video for Quicktime 7.2?

Has anyone had the same problem as I have?

I searched many forums and have tried many
different VLC/x264 settings, but I cannot
find a solution, or find someone who has
gotten this combination to work.

I'm sure many of you have the same issue.

Thanks,
Paul McWhorter

      

This command line is working for me (duplicating and relaying via DSS):

vlc.exe -vvv -I rc --ttl 12 dshow:// vdev="Logitech USB Camera (Pro 3000)"
adev="Logitech USB Camera (Pro 3000)" --sout
#transcode{vcodec=h264,acodec=mpga,vb=800,ab=128,cabac,deinterlace,width=320
,height=240}:duplicate{dst=display,dst=rtp{dst=192.168.40.6,port-audio=20000
,port-video=20002,ttl=127,sdp=file://C:\tmp\webcam.sdp}}

(http://wiki.videolan.org/Documentation:Streaming_HowTo/Advanced_Streaming_U
sing_the_Command_Line):

x264. x264 is a free open-source h264 encoder. h264 (or MPEG4-AVC) is a
quite recent high quality video codec. 

Item options are: 
keyint=<number of frames> allows to set the maximal amount of frames between
2 key frames; 
idrint=<number of frames> allows to set the maximal amount of frames between
2 IDR frames; 
bframes=<amount of frames> allows to set the amount of B frames between an I
and a P frame; 
qp=<quantizer parameter> allows to specify a fixed quantizer (between 1 and
51); 
qp-max=<quantizer parameter> allows to set the maximum value for the
quantizer; 
qp-min=<quantizer parameter> allows to set the minimum value for the
quantizer; 
cabac enables the CABAC (Context-Adaptive Binary Arithmetic Coding)
algorithm (slower, but enhances quality); 
loopfilter enables deblocking loop filter; 
analyse enables the analyze mode; 
frameref=<amount of frames> allows to set the number of previous frames used
as predictors; 
scenecut=<sensibility> allows to control how aggressively the encoder should
insert extra I-frame, on scene change.



Best Regards,
Leon Kolchinsky

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/email@hidden

This email sent to email@hidden

  

--

Tristan Crichton
front - QA/Technical Support Coordinator
Framestore CFC
9 Noel St, London W1F 8GH
front.framestore-cfc.com
Direct Dial: +44 (0)20 7208 6429

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/email@hidden

This email sent to email@hidden

References: 
 >Re: H264 and Quicktime 7,2 (From: "Leon Kolchinsky" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.