A/V sync problems with mencoder -- trying to convert to 30fps

The title says it all. When encoding with mencoder (latest from extra repo), with seemingly everything tried, I absolutely cannot get the audio to sync! It's driving me nuts! Here is the basic command command I used:
mencoder -fps 30 -ofps 30 -ovc xvid -oac mp3lame -xvidencopts bitrate=whatever_i_want:trellis:aspect=16/9 -lameopts cbr:br=128 -vf harddup,expand=aspect=16/9,scale=480:272 infile -o outfile
Where the infile was any one of:
* A standard, .avi Xvid 23.976 fps 800kb/s video with MP3 112kb/s audio DVD rip you can find on the net and filesharing sites (here the vbitrate was 800kb/s)
* An .mpeg MPEG1 25fps 1150kb/s video MP2 224kb/s audio (here bitrates were outputted to the same values)
* An .mp4 H264 29.989fps high-bitrate (in the 2000s, was somewhat random) video AAC audio file downloaded directly from Youtube with a DL mp4 from YT Firefox extension
I also tried to mess with the codec settings, like using libavcodec, no trellis as an option, different bitrates etc. but the audio is still out of sync! Although on the mencoder man page it says to put harddup at the end of the filer chain, I've tried that; all it did was cause weird graphical glitch of a band of rectangles containing some video on the right side of the screen, as well as ignoring the expand filter. And it didn't even fix the A/V sync. To be specific, the audio is considerably behind the video e. g. by the time the video ends, audio is still playing from long before the ending credits from an earlier scene, and cuts off as the file ends.
On a side note, framerate conversion with ffmpeg (which, if I understand correctly, mencoder/mplayer is based on), with -r 30 works. But for some reason I find a quality difference (even when using libxvid directly as a -vcodec) and, on top of that, cropping fails with "Vertical crop dimensions are outside the range of the original image." (which they weren't). Argh, I don't think I've every googlesearched this hard only to not get an answer!
Why am I trying to do this? I am converting these videos for playback on my Samsung P2, whose video format requirements are pretty strict (scroll down to video).
And just as a side question, if that if all figured out, I'm trying to make sense of multi-pass encoding. Anyone have some howto to point me to? Any tips on multipass/framerate encoding? And please, don't tell me to RTFM. Mplayer/Mencoder's man page is 300kb uncompressed in itself. I have already tried to made sense of this large document and it has failed to give me an answer (it is a good resource for xvidencopts and the like, but not so much a good guide for mplayer/mencoder.

Before my ATV I used a Rapsody N35 media play with a 400GB disk and converted all my DVD's to Xvid using avi.net on Windows.
I'm now converting some of these movies to ATV (h.264) format using visualhub, it cost £12.95 and does a great job. I tried a few free or open source converters but settled on visualhub because of ease of use and quality of conversion. I also want a Mac OS application.

Similar Messages

  • How can I sync my IPOD Nano 4 to iTunes on my PC? I've already tried the sync button on iTunes and it says it is synced. I've also tried the 5 steps recommended by Apple to fix sync problems with no luck.

    How can I sync my ipod nano 4 to iTunes on my PC? I've tried the sync botton on iTunes and the 5 steps recommended by Apple to correct sync problems with no luck.

    How is your iPod configured to sync content from your iTunes library? Any error messages during the sync process? 
    You may want to reset warnings on the device by right->clicking on it under Devices and choosing Reset Warnings.  Then resync the iPod to see if any alerts appear.
    Is this the same computer you normally sync the Nano with?
    B-rock

  • Sync problems with my iphone

    Can anyone offer suggestions for trobleshooting sync problems with my iphone. Recently I have connected my iphone and my ipod to my computer while having itunes open and I do not see my devices in itunes. I have powered off the iphone and powered back on and I have the most recent version of itunes on my computer. I have also tried multiple USB ports and multiple cords on my computer. When I go to file in itunes, Sync is not an option (greyed out). Any suggestions?

    Had the same issue last year on XP Pro.
    1) Start->All Programs->Apple Software Update Run this and make sure your up to date on iTunes.
    2) Unplug both devices.
    3) Restart the computer (I know your tired of being told this-it's a windows thing and sometimes it's a PO'd IT person thing either way do it).
    4) After restart open iTunes.
    5) wait a tad for iTunes to open all the way up, navigate through your music to make sure. Then connect the iPhone. Watch your clock area and you should see two pop-ups. One says Found new device, second says iPhone.
    Last, if it doesn't appear it's because windows photo capture is trying to connect to the iPhone. Minimize iTunes and you'll probably have a pop up sitting there. THIS WINDOW will not show up in the task bar.

  • Sync problems with iCloud & Outlook 2010?

    I am having sync problems with Outlook. Sync seems to cause outlook to crash, run boggy, etc. Tried Code Two software to sync which only made thing worse. Any ideas?

    Another way to put it would be: What is the optimal combination when you have a Windows PC running Outlook on one hand, and want to sync contact and calendar information with your iPhone over the Internet?
    Maybe I should ask, what is the least painful way of doing this?
    Is it Gmail+Outlook+some add on?
    Outlook.com + Outlook?
    Or something else?

  • New iTunes, same sync problems with Vista

    Hi
    I got really excited when I saw in the fixes for the latest iTunes 8.1 for Windows that they had fixed sync problems with iPhones. They haven't!
    On Vista Ultimate the sync has always been a problem, with either OutlookSyncClient or AppleMobileSync (or both) frequently crashing. With the previous couple of versions of iTunes, in my case, it has happened every third or fourth sync. Now with the new version it is almost every sync. It took me five disconnect and reconnect attempts and a couple of reboots to succcessfully sync this morning.
    I've tried every fix I can find on line. I read that the Outlook sync problem was caused by an incompatibility with pst files that were not unicode. Oddly, I wasn't supposed to be able to sync with an old pst at all, but it did work erratically. Converting my pst to unicode didn't make any difference.
    With the AppleMobileSync problem, I read that completely removing all Apple software in a particular order, restarting each time between removals, then clean reinstalling, should solve the problem. It didn't.
    Now the problem is even worse and I'm at my wits end on it. Come on Apple, get a grip!
    If anyone can shed any light on this I would be really grateful!
    Tim P

    Hi
    I got really excited when I saw in the fixes for the latest iTunes 8.1 for Windows that they had fixed sync problems with iPhones. They haven't!
    On Vista Ultimate the sync has always been a problem, with either OutlookSyncClient or AppleMobileSync (or both) frequently crashing. With the previous couple of versions of iTunes, in my case, it has happened every third or fourth sync. Now with the new version it is almost every sync. It took me five disconnect and reconnect attempts and a couple of reboots to succcessfully sync this morning.
    I've tried every fix I can find on line. I read that the Outlook sync problem was caused by an incompatibility with pst files that were not unicode. Oddly, I wasn't supposed to be able to sync with an old pst at all, but it did work erratically. Converting my pst to unicode didn't make any difference.
    With the AppleMobileSync problem, I read that completely removing all Apple software in a particular order, restarting each time between removals, then clean reinstalling, should solve the problem. It didn't.
    Now the problem is even worse and I'm at my wits end on it. Come on Apple, get a grip!
    If anyone can shed any light on this I would be really grateful!
    Tim P

  • IPhone 3GS SYnc problems with Windows 7 64 Bit

    I am having sync problems with windows 7 64 Bit.
    The iPhone syncs a few tracks then hangs, a few minutes later itunes tells me the iphone has timed out.
    Anyone have any ideas about this. I have tried different USB ports, cleaned the apple USB cable contacts with Servisol, restored the iPhone and reinstalled itunes.
    iPhone and iTunes are latest versions.
    Thanks
    Joe

    "Try this connect the iPhone, let the mtp driver installation fail, then go into the device manager and uninstall the unknown mtp device. If you then scan for new hardware from the device manager it should recognize the iPhone & update the driver."
    Ok here's what I did:
    1) Connect the iPhone (iTunes had been installed)
    2) No MTP driver installation is happening as Windows detects iPhone successfully
    3) Open Device Manager
    4) There seems to be 2 drivers for iPhone that are active now, although I still can't see which one is the MPT driver you're referring to.
    One of them sits under Portable Devices: "Apple iPhone". If I view the details of this driver, it lists the following files:
    - C:\Windows\system32\DRIVERS\UMDF\WpdMtpDr.dll
    - C:\Windows\system32\DRIVERS\winusb.sys
    - C:\Windows\system32\DRIVERS\WUDFRd.sys
    - C:\Windows\system32\WpdMtp.dll
    - C:\Windows\system32\WpdMtpUS.dll
    The other one sits under Universal Serial Bus controllers: "Apple Mobile Device USB Driver". And as indicated by Joe above, it lists the following files when I view the Details:
    - C:\Windows\system32\Drivers\usbaapl64.sys
    - C:\Windows\system32\usbaaplrc.dll

  • Audio Sync Problems With Share YouTube -- OSX not iOS

    I've replicated this several times. It's maddening and bizarre. *Share YouTube*
    Exporting a FCPX video using the "SHARE" menu and choosing YouTube causes the resulting upload to be out of sync when viewed in Safari or other browsers on iOS
    Viewing the same video on the iPad with the built in YouTube app, the video plays in sync
    Viewing the same video on AppleTV 2 (with the 5.1 update), the video plays in sync.
    If I export using Export Media menu item under the SHARE menu, and then from QuickTime Player choose Export For Web (under the File menu) and manually upload, the video is in sync.
    Note, that using
    Feel free to try on this short simple and silly video http://www.youtube.com/watch?v=cGTQNMJdPRQ&list=UUiDxioBFJCPC-8OUFifsx8A&index=2 &feature=plcp
    Anyone else experience this. Is this a bug or a feature? Rather not go through three steps to upload a simple YouTube video.

    We've got the same problem and yep, it's infuriating that are so few posts about it.
    It doesn't happen with every video, but the vast majority of files that we've tried to either export directly to YouTube from QTX or export locally and then manually upload to YouTube end up with shockingly bad audio sync (and also some colour issues, but that's another story).
    As a small video production company we were chuffed to bits with the improved export speed in QTX and quick to make use of it. But when we realised there was a problem, we had to revert back to using QT7's painfully slow export.
    We've run experiments on a brand new iMac and MacBook Pro running the most up-to-date version of OS X and still no joy. Always the same audio sync problems with the same video files.
    In the meantime however,  we've found that the settings advised on this YouTube help page have given us the best (albeit slow) results at both 25fps and 30fps when exporting from QT7:
    http://support.google.com/youtube/bin/static.py?hl=en&guide=1728585&topic=172857 0&page=guide.cs

  • IOS7.0.2 & Itunes 11.1.0.126 sync problems with iPad2

    iOS7.0.2 & Itunes 11.1.0.126 sync problems with iPad2 - Does step 1 & 2 of sync. Then this message> The iPad "my ipad name" could not be synced because this computer is no longer authorised for purchased items that are on this iPad. To authorise this computer for items from the iTunes Store choose Store> Authorise This Computer.
    Tried all that many times. Also went into my account and de-athorised all computers and re-authorised this one. No joy. What next. Fedup that things are going wrong with apple. We buy apple because it works I always say. Yeah right.

    Hello Laura,
    Thank you for providing the details of the issue you are experiencing when trying to sync your music to your iPhone.
    I recommend trying to resync.  You can resync content to the iPhone by unchecking "Sync Music" and then clicking "Apply" and then checking "Sync Music" and then clicking "Apply" again:
    I recommend reviewing the full article here:
    iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/PH12113
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Photo sync problem with Windows Vista?

    I did some searching and was wondering if there is a solution to the photo sync problem with Windows Vista. I have gone the route of changing some of my photos to bitmap files but this is was way too much work just to view on ipod. I like to email Apple but could not find a link to do so. As far as I know I have all updates but still the iPod does not sync photos. Is there an update to this that I am missing or am I stuck changing all my photos to .bmp files?
    Thanks,
    Dean.

    I checked out the article and not much help, thanks anyway.
    Would it make a difference if I purchased Adobe Photo Album or would I still be stuck with changing and saving files to .bmp extensions? I have Adobe Photoshop album starter but still have to change file extensions.
    If someone has a solution to this problem I would really be greatfull. I did contact Dell as this is a brand new computer and that was a wash. They did give me a number for Apple but of course I bought the iPod off of ebay and has no warranty on it so unless I pay a fee I'm not calling. It just blows my mind that Microsoft and Apple can't or won't come up with a fix. But I guess when Microsoft wants you to buy the Zune or Apple wants you to buy the overpriced Macintosh why would they waste time on having there products compatible with each other.
    Thanks.

  • Sync problems with outlook 2007 calender

    I am new in this type of comms.
    BUT: I have a Palm Tungsten T5; have Palm Desktop 6.2.2 with the update for Windows7.
    I have a sync problem with outlook 2007 calender; contacts, ToDo, memos all ok.
    HotSynLog says: there are multi-day repeating records. [i knew that they do not sync, hence i deleted them PRIOR to syncing]
    I found the listed records BUT either on dif days and they are "no timed" ones! and NOT multi-days ones.
    I deleted them anyway - did a re-sync. With no different result. Still listed - though deleted and now non-existent.
    Error code: OLERR: 03-000F (0xaf604005) and others - if this means anything.
    Post relates to: Palm TX

    Hello,
    I receive email on my device from two addresses: 1) @sprint.blackberry.net and 2) @charter.net.  When I was having problems similar to those you are experiencing, I had these two addresses listed under Default Services - Calendar (CICAl) - Messaging (CMIME).  These addresses were @sprint.blacberry.net and @charter.net. Once I followed the steps previously referenced, only one email address(@sprint.blackberry.net) appeared under the (CICAI) and (CMMIE) default setting.  Reference to @charter.net was removed.  My syncs have worked correctly since then; however, I only two way synce with the device and Outlooks.  I also continue to get emails from both addresses without a problem.
    If you don't mind giving up the Yahoo calendar, I would do the same.  If you want to continue using the Yahoo calendar, I'm guessing that it must be selected in the Default Services - Calendar (CICAI) before performing a sync.  Likewise for your @sprint.blackberry.net address; it also must be selected in the Default Services prior to performing a device to Outlook sync.
    I hope this helps.
    Tres

  • Sync problems with new 4.3 update

    I have just updated my iPhone 3gs and now I have sync problems with itunes.  Eveytime I try and sync my playlist or any music to the iPhone it end up with a spinning beach ball after a couple of tracks.
    Has anyone else had this problem?
    I have reset my iPhone a few times now since the update but it doesn't resolve the matter.
    Please help.
    Kind Regards
    Alan

    Sorted this myself eventually.   just factory restored my iPhone via iTunes.  working now!

  • Sync problems with ATV per HDMI and optical out

    Have some sync problems with ATV (actual), TV is connected via HDMI, sound goes over optical cable into DAC (Rega) and then to the amplifier, when using only TV-sound everything is fine, switching to the external speakers brings up a little delay, around 1/10 second. Any chance to fix this?
    Yogi

    Welcome to the Apple Community.
    I believe this delay is caused by the DAC, I don't think there is anything you can do about this.

  • Sync problem  with hdcam 24p

    We are experiencing a sync problem with captured material from hdcam in 24p in a 23.98 timeline. The reason the timeline is 23.98 (ProRes) is that most of the material for this show was shot in 23.98fps. The picture is sync if we look at the ouput from the Kona card though, but not on the computer monitor. Any idea of a remedy^

    I don't trust anything on my computer screen for timing, color etc the viewer is a proxy and depending on your RT settings is a best guess.
    Watch the output of the Kona while monitoring the output audio from the Kona.
    That's what goes to tape that is what is real.
    The rest is GFX card core audio timing RT settings, etc etc

  • Re: Sync problems with Tour on PC

    I'm having the same problem and don't understand the reply.  I'm switching from a PalmPilot where I could sync and print my calendar on Outlook to the BlackBerry and I can't get a hard copy.  Frustrated!  Please help.

    LindaA wrote:
    I'm having the same problem and don't understand the reply.  I'm switching from a PalmPilot where I could sync and print my calendar on Outlook to the BlackBerry and I can't get a hard copy.  Frustrated!  Please help.
    Hi there!
    We are going to have your post split off into a thread of its own...I suspect your issues will be different than the OP.
    For reference, original thread is:
    http://supportforums.blackberry.com/t5/BlackBerry-​Tour-9630/Sync-problems-with-Tour-on-PC/m-p/361953​...
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Yosemite Mail still has sync problems with Gmail - any solutions?

    I notice that Yosemite Mail still has sync problems with Gmail. After running for some hours, I noticed there were 6 emails in my Gmail account that had not synced over the past hour.
    In the meanwhile, for safety's sake (don't want to miss emails!) I'm back to Mailplane. But I wonder if anybody knows of a solution to this long term problem first introduced in Mavericks. Works fine in iOS Mail though.
    Thanks,
    doug

    I don't think we'll ever have a "best of both worlds" Doug. I've used Gmail since the week it launched the first beta in 2004, and it's always been a bit of a love-hate relationship for me (mostly love). With the demise of the Google Notifier for Mac, I went with Mailplane, but even it has problems. Like when I see my iPhone update with new mail and I'm looking at Mailplane and it won't update at times with even a forced refresh. I often have to close/reopen it to see new messages. But, it's hard to live without my Google Calendar only a tab click away, one of the primary reasons I use Mailplane, that plus changing view zoom sticks with Mailplane and won't with Gmail.
    For years I've thought Gmail labels were the perfect filing solution, but over the past few weeks I've been analyzing just how much I really use that feature, and for me...it's not all that much. I think I could simplify my life by putting everything into appropriate folders (as in all other email apps). Apple doesn't realize just how much money they're losing by not allowing people to use private domains with iCloud mail...which I would do in a heartbeat just because it would work perfectly with Mail.app. I would pay even more than I currently pay Google for this solution with Google Apps Business. So, I'm actually on the verge of moving my private domain to the best email service I can find and then using it with Mail.app. The problem here, of course, is I'll lose the best spam control on the planet (Gmail). So, as you say, there simply is not a "best" solution for all these things. I'll at least try a new email service first with some other domain to see how I like it before moving my primary email.
    Lastly, the other thing that incenses me is synching of flags between iOS and Apple Mail. It works fine between Gmail and iOS Mail, since all I care about is whether a message is starred/flagged or not.  But using Apple Mail, when I flag a message it will not show as flagged in their own iOS Mail, which is incomprehensible, given they built both apps.
    If you find a great solution or discover anything new...please post it here, Doug. Thanks.

Maybe you are looking for

  • Import To Dos from Palm to iCal

    I am switching to a new phone/pda that does not sync with Palm but does with iCal and Address Book. However, I am unable to import my To Do list into iCal. When I try to Export To Dos my only options are as Palm files or Tab & Return. It seems to me

  • XSL Stylesheet syntax

    In .xsl file, <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> What is this xmlns:xsl="http://www.w3.org/TR/WD-xsl" for? and what is the different between xmlns:xsl="http://www.w3.org/1999/XSL/Transform ? Any help will be grateful. Regards, K

  • FAX failure! Sending fax results in error every time.

    I have been trying to use an Apple USB modem on my iMac (latest version). Every time I attempt to send a word processing document I get a failure message. The modem dials and connects to the remote computer and says it is sending the document but the

  • USER EXIT used in transaction ML81N

    Hallo experts, my task is to jump into another transaction after service entry sheet has been released. Is there some UE which I can use? Thanks a lot. Edited by: Marek Ferencak on Dec 16, 2008 9:02 AM Edited by: Marek Ferencak on Dec 16, 2008 9:02 A

  • File Type and Size for Video iPod

    I have the latest ipod that does it all, but I am a little concerned about the lack of control on the file type size. I can export a mp4 file with my own settings so it isn't such a large file but it won't load or play. I can convert the file but it