Page 1 of 1

A/V Sync issue with MP4 Playback in Flash Player

Posted: 18 Nov 2010 16:36
by matschkopp
Hey,

Can anyone tell me why my Video is out of Sync when viewing in a Flashplayer while viewing it in VLC everything is alright?
Heres the sout im using:

Code: Select all

--sout=#transcode{venc=x264{keyint=60,profile=main,level=3.0,nocabac,qpmax=36,qpmin=10,me=hex,merange=24,subme=9,qcomp=0.6}, vcodec=x264,vb=3000,deinterlace=enable,width=720,height=576,acodec=mp4a,ab=160,audio-sync,fps=25} :std{access=file,mux=mp4,dst=C:\xampp\htdocs\rec\Aufnahmen\videoname.mp4}
I cant get it.
Thanks if you help

Matsch

Re: A/V Sync issue with MP4 Playback in Flash Player

Posted: 18 Nov 2010 20:31
by rogerdpack
flashplay views the "videoname.mp4"? what if you add "duplicate" to your sout--is it still in sync locally?

Re: A/V Sync issue with MP4 Playback in Flash Player

Posted: 19 Nov 2010 11:20
by matschkopp
Maybe i should inform that my input is a udp-stream and i am trying to live encode it in an MP4 Container, so it can be viewed in Flash

vlc -Idummy udp://<IP>:<port> <sout from above>

Again, when watching it via vlc its in sync but watching the same file (videoname.mp4) in a Flashplayer (Browserplugin,VoD,HTTP Prog. Dl.) its out of sync.

Is this a bug in VLC? Or can i add some switches to optimize this?

ps: Encoding it live in an FLV-Container causes no Async of A/V.
AND saving the stream first (TS-Container) then encoding it in MP4 causes no Async as well.

Re: A/V Sync issue with MP4 Playback in Flash Player

Posted: 19 Nov 2010 13:06
by rogerdpack

Re: A/V Sync issue with MP4 Playback in Flash Player

Posted: 20 Nov 2010 17:01
by matschkopp
No, not helping at all.

Re: A/V Sync issue with MP4 Playback in Flash Player

Posted: 22 Nov 2010 11:16
by matschkopp
No suggestions? No VLC-Pro in here? What a shame.

Re: A/V Sync issue with MP4 Playback in Flash Player

Posted: 22 Nov 2010 14:21
by rogerdpack
You could look for error messages:
http://wiki.videolan.org/Basic_Troubleshooting

Re: A/V Sync issue with MP4 Playback in Flash Player

Posted: 29 Nov 2010 18:03
by matschkopp
Maybe this issue is solved with changing the value of frame-rate-mode to constant.
Does anyone know how this is done? (just fps=25 doesnt work)

Re: A/V Sync issue with MP4 Playback in Flash Player

Posted: 30 Nov 2010 13:57
by matschkopp
HOW can I change frame-rate mode to constant in VLC ?!!