You can also do this with ffmpeg, but I've always had better luck with mplex.
On 3/28/06, Pierre Dumuid <[EMAIL PROTECTED]> wrote:
Try the mplex -O option to fix these sorts of problems:
To find an appropriate offset sync, you may find appropriate keys in both mplayer and xine to change the playback sync, and once found use this as your offset, (I find that mplayer takes a few minutes to settle down when the offset is adjusted where the "settling down" offset may be viewed in the terminal mplayer was run from...)
- -O|--sync-offset num
- Set the presentation timestamp offset of video stream w.r.t. audio stream (video-audio) in mSec. This flag is used to produce a stream with synchronised audio/video when one stream started before/after the other. This is common when transcoding as the synchronisation information is typically lost during the (seperate) decoding/encoding of audio and video.
Pierre
Régis Guyomarch wrote:Currently I don't want to edit the mpeg I just want to render an mpeg for dvd
form a quicktime dv file. If I open the file with an other player ( mplayer )
the audio is not synchronized as well.
Hi Regis,
I had this problem, and developed a patch for it (see
https://init.linpro.no/pipermail/skolelinux.no/cinelerra/2005-December/0048 80.html ). but wasn't happy enough to apply it (see https://init.linpro.no/pipermail/skolelinux.no/cinelerra/2005-December/0049 71.html ). as I am getting issues with video. Currently I use the patch all the time, (note you'll have to re-make the toc files!) as it fixes up the audio for all my mpeg returning the correct number of frames. But I don't know mpeg files well enough to know completly the whole issue... I personally see the libmpeg side of cinelerra fairly broken, though for the mpeg that I edit, (from a Panansonic dvd recorder) it seems to work so long as I don't play the last frame! (because libmpeg writes in the toc file that there is 1 more frame than actually is for the video I use...) If you/anyone could nut out what is going on I would really appreciate it! Pierre Régis Guyomarch wrote:Hello,
I'm trying to render a mov file in mpeg.
I render a YUV4MPEG with mpeg2enc's DVD default settings.
I render audio with Audio MPEG ( II 224 )
I mplex the mpeg and the audio isn't synchronized anymore.
If I load the mpeg in cinelerra I can see that the video has the write
duration ( 10 sec. in that test ) but the audio is longer ( 13.16 sec. ).
The part of the audio which is longer than the video is a silence.
The audio is about 0.5 sec late
Does anyone have an explanation about this ?
Thanks.
_______________________________________________
Cinelerra mailing list
[email protected] https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra_______________________________________________
Cinelerra mailing list
[email protected] https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra_______________________________________________
Cinelerra mailing list
[email protected] https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
--
__________________________________________________________________
Get Firefox! http://www.mozilla.org/products/firefox/ Mr Pierre Dumuid Phd Student Active Noise and Vibration Control Group School of Mechanical Engineering The University of Adelaide SA 5005 AUSTRALIA Email: [EMAIL PROTECTED] [EMAIL PROTECTED] Work: +61 (0)8 8303 3847 Mobile: 0407 570 263 Web Page : http://www.mecheng.adelaide.edu.au/ __________________________________________________________________
CRICOS Provider Number 00123M
-----------------------------------------------------------
This email message is intended only for the addressee(s) and contains
information that may be confidential and/or copyright. If you are not
the intended recipient please notify the sender by reply email and
immediately delete this email. Use, disclosure or reproduction of this
email by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or any attachments
are free of viruses. Virus scanning is recommended and is the
responsibility of the recipient.
--
http://ThreeWayNews.blogspot.com
Your source. For everything. Really.
