A/V Sync issue with MP4 Playback in Flash Player

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
matschkopp
New Cone
New Cone
Posts: 8
Joined: 25 Oct 2010 16:31

A/V Sync issue with MP4 Playback in Flash Player

Postby matschkopp » 18 Nov 2010 16:36

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
Last edited by matschkopp on 19 Nov 2010 11:13, edited 1 time in total.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

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

Postby rogerdpack » 18 Nov 2010 20:31

flashplay views the "videoname.mp4"? what if you add "duplicate" to your sout--is it still in sync locally?

matschkopp
New Cone
New Cone
Posts: 8
Joined: 25 Oct 2010 16:31

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

Postby matschkopp » 19 Nov 2010 11:20

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.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

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

Postby rogerdpack » 19 Nov 2010 13:06


matschkopp
New Cone
New Cone
Posts: 8
Joined: 25 Oct 2010 16:31

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

Postby matschkopp » 20 Nov 2010 17:01

No, not helping at all.

matschkopp
New Cone
New Cone
Posts: 8
Joined: 25 Oct 2010 16:31

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

Postby matschkopp » 22 Nov 2010 11:16

No suggestions? No VLC-Pro in here? What a shame.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

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

Postby rogerdpack » 22 Nov 2010 14:21

You could look for error messages:
http://wiki.videolan.org/Basic_Troubleshooting

matschkopp
New Cone
New Cone
Posts: 8
Joined: 25 Oct 2010 16:31

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

Postby matschkopp » 29 Nov 2010 18:03

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)

matschkopp
New Cone
New Cone
Posts: 8
Joined: 25 Oct 2010 16:31

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

Postby matschkopp » 30 Nov 2010 13:57

HOW can I change frame-rate mode to constant in VLC ?!!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 52 guests