Mencoder using libavcodec to encode ac3 produces slow video

Hi,
I use ps3mediaserver as dlna server and it encodes using mencoder with the following options:
mencoder -ss 0 -quiet /home/user/data/temp/video1.mp4 -quiet -quiet -oac lavc -of mpeg -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=256:threads=4:keyint=1:vqscale=1:vqmin=2:vrc_maxrate=30000:vrc_buf_size=1835 -ass-color ffffff00 -ass-border-color 00000000 -ass-font-scale 1.0 -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -quiet -quiet -subdelay 20000 -quiet -quiet -ofps 24000/1001 -quiet -quiet -mc 0.1 -quiet -af lavcresample=48000 -srate 48000 -o /tmp/javaps3media/mencoder1301695142450
where video1.mp4 has mov container, aac audio and h264 720p video, a typical hd video.
If I change the acodec=ac3 to acodec=libmp3lame everything works like a charm.
Any idea why ac3 is so buggy?

Hello, thanks for your reply.
>>"HD clips totalled no more than 320 MB!"
>That's some massive compression going on there. mp4?
The source is an iPhone 4.
I should point out that I am not a huge fan of QT but I was simply attempting to output in the same(?) format as the source. The source is three very important impromptu videos of the final hours of my wife's grandfather singing a song. My intention is to combine them into a single video to upload to YouTube private video site.
One of the videos was taken vertically and flipping it horizontally is normally pretty easy and very good quality in Pinnicle Studio but like I previously stated, Premiere did a horrible job.
At this time, all I have is CS4 with Premiere and I thought it would turn out a lot better than this. Can you recommend a better output CODEC and associate settings?
Ty

Similar Messages

  • Encoding AC3 produces low audio in CS3

    Hi All!
    I'm trying to encode a .wav file to ac3 with the surcode plugin that I have purchased, and the resulting ac3 file is quieter than the original .wav.  I know this is normal, but I need it to match the original as close as possible.  I've read that if you set the Dialog Normalization to -31, and the Dynamic Compression Preset to 'None', the resulting file should match more closely.  The thing is, I swear I've done that in the past, and it worked, but now, it doesn't.
    I'm producing a stereo track, with Complete Main selected, and can't think of anything else!
    Any help/thoughts would be appreciated.
    Thanks.
    Mike

    Totally agree Steve - the BBC have said the same to me in the past
    Dialogue Normalization is a funny old setting - it actually refers to the amount of attenuation applied to the audio source with -31db meaning no attenuation, which should mean that the volume of the audio is preserved throughout the compression process.
    There's a lot more to this, of course, have a look here for some plain explanations:
    http://www.hometheaterhifi.com/volume72/feature-article-dialog-normalization-6-2000.html

  • Media Encoder CS5 Incredibly Slow

    I cannot believe how long it is taking to encode a 3 minute video using the media encoder in CS5.  I am running a Pentium Dual Core processor with 8mb of RAM and it is taking close to an HOUR to encode this 3 minute vid to a F4V 1920 x 1080
    I've shut down as many processes as I can - but this is ridiculous.
    Am I missing something that can help speed up this process so that my news conference interviews get posted the same day that they take place????

    Hope you are not planning on using a 1920x1080 video on the Internet...
    What is the encoding video bitrate? If you don't know or can't answer that, then you sure as heck should not be encoding a 1920x1080 video.
    What is the original file format and video dimensions?
    And you do realize that many, if not most viewers will not have updated their Flash Web browser pluggin so they can actually view the .f4v video... right??
    For review:
    Video bit rate
    One of the principle of goal setting is to "Begin with the end in mind". In this case it'll be very hard to give good recommendations because the end is not defined. So I'll just make a few assumptions and you can correct me as needed.
    First, I'll assume that since you are converting to Flash, you want to deliver this video over the Internet. If that's true, then we'll have to make some assumptions on the Internet connection download speeds of your potential viewers. Let's just say that most have at least a 1.5Mb connection or faster.
    OK, that would mean that a video bitrate of half that should usually provide a video download that is not interupped by buffering (most of the time anyway). So assuming a video bitrate of 750kbps, what would the optimum display dimensions be?
    Before we decide, here's a little info about bitrate. For highest quality playback, the video bitrate is tied directly to the display dimensions. That is, the larger the display, the more incoming data is required to properly display the video. Think of bitrate in terms of a can of paint. If you have 1 quart of paint, you might be able to do a very nice job on a 32 X 24 foot area. But if you try to stretch that same amount of paint out over a 64 X 48 foot area, the coverage will not be nearly as good and you get poor results.
    In the same way, a video displayed at 640 X 480 pixels will require 4 times the bitrate as a video displayed at 320 X 240 pixels to produce the same quality. So for example a video with a bitrate of 100kbps, displayed at 160 X 120 will produce the same quality results as a video with a bitrate of 1600kbps if displayed at 640 X 480.
    So to boil it all down, video bitrates of 750kbps, even up to 1000kbps can usually get delivered of the Internet on most high speed connections. Higher bit rates may work for really fast connections but will cause problems for viewers with slower connections. Video display size has a direct bearing on the final quality. In the 750 to 1000kbps range, display size should be kept around 450 or 500 width max (and whatever height the aspect ratio calls for). Yes it can be displayed larger, but the quality will suffer.
    Sound like your audio settings are fine, especially for Internet delivery.
    As for framerate, maintain the original raw video framerate for best results. So if the video was shot at 24fps, leave it.
    As for video converters, do you have the Flash 8 Video Converter? It works just fine for video to be delivered over the Internet. Remember, you are taking a Cadillac version of video (h.264 HD) and stuffing it into a Chevy body to get it to work over the Internet.
    Best wishes,
    Adninjastrator

  • Using Adobe Media Encoder to create H.264, MPEG-2, and WMV videos from After Effects - 6/23/14

    Very disappointed with this choice. I will definitely be seeking to uninstall this version and go back a version or two. Two many extra steps to export an mp4 now. And now we also have to wait longer for a mp4 to render and can't take advantage of the machine's hardware? You guys fighting mp4 as a standard, forcing us to an additional product, or what? I'll be sharing my extreme disappoint with this 'upgrade' with the rest of the developers at work and who just had it installed. I'm not seeing this being too popular opn social media either. Seems like you only did what was best for you.Thanks for showing us who's boss.

    Frank VA wrote:
    And now we also have to wait longer for a mp4 to render and can't take advantage of the machine's hardware?
    Not necessarily. You can render an intermediate codec with AE's render queue (thus using all of AE's power to render) and then drop that file into the Adobe Media Encoder.
    This was the workflow I've always used - even when AE could encode with MP4. Why? Well, because AE sucked at MP4 encoding. You couldn't even do multipass endoding with it!
    This is a useful workflow in a few ways:
    1. You have an archive-quality file to come back to in the future.
    2. You can use AE's full power to render.
    3. You can use AME's superior encoding capabilities.
    4. You can tweak your compression settings and try various encoding parameters to improve the quality while decreasing the bitrate of your product WITHOUT having to re-render the AE comp every time you try since you're working off of the intermediate file. I mean, imagine a comp with several 3d layers, depth of field, shadows from multiple lights, and 250,000 particles from Particular. What if you made an MP4 and then the client needed a smaller file size or the MP4 you made was too heavily compressed and you needed higher quality? I don't know about you, but I'd much rather only render that 18-hour monster once.
    This workflow actually saves time for many people.
    And, in any workflow, this produces a better product.
    Again, this is what I did even when AE could encode MP4's.
    Frank VA wrote:
    You guys fighting mp4 as a standard, forcing us to an additional product, or what?
    They aren't fighting MP4 as a standard, in fact, when Adobe folks pop in here and answer questions, that's often their recommendation for delivery codec.
    Frank VA wrote:
    Seems like you only did what was best for you. Thanks for showing us who's boss.
    Listen, I understand your frustration. Knocking out a quick compressed file from AE for client review is handy.
    However, maintaining the h.264 encoding in AE took up development time. There are only so many person-hours per week for the (relatively tiny) AE team to spend on building each version of AE.
    I never liked AE's h.264 encoding - AME has always done a superior job. Since we have AME to do our encoding, I would rather the AE team focus their effort on improving AE as a compositing and motion graphics tool rather than as an encoding tool.
    Again, I get the frustration. I can see where it feels like they are doing what's good for them and not us, but I think, in the long run, this way is better for us. Right now, the majority of the AE team is working on making AE faster to work with and faster to render. The sooner we get a relatively bug-free version of that, the better! (Especially for folks on Mac OSX Yosemite who can't RAM preview smoothly in any version of AE).
    And at least the After Effects team has been very transparent about things - for example, this blog post talks about their reasoning: using Adobe Media Encoder to create H.264, MPEG-2, and WMV videos from After Effects

  • Encode AC3, not AIF possible (DVD SP 4)?

    Is it possible to encode AC3, not AIF from imported MOVs? It can save a lot of space! I'm using now DVD SP 4 - yet no such options... Or i missed smth? Thanks

    Take the movies that are in DVD SP and drop them into Compressor and only encode the audio to AC3, it is usually very quick. Remove the PCM audio from the video tracks that are already encoded by DVD SP so you do not have to re-encode video this time and drop the AC3 in and it may take care of the issue.
    Compressor gives estimates, but based on different things like DVD SP. Use the calculator (bookmark it) from the link above and you should be in pretty good shape. I usually dial it down just a bit though to be safe (video rate settings)

  • First off, i think it's sad that i have to use my non apple device to post this question... Why has my iPad become absolutely useless after updating to iOS 8.1? I am unable to use my mini because it crashes, slow performance, major battery drain.

    First off, i think it's sad that i have to use my non apple device to post this question... Why has my iPad become absolutely useless after updating to iOS 8.1? I am unable to use my mini because it crashes, slow performance, major battery drain.

    Restore iPad to Factory Default; do not restore from backup. It may be the cause of the problem.
    Settings>General>Reset>Erase all content and settings

  • Can't Import Songs To iTunes Using Apple Lossless Encoder

    I have about 4,000 songs in FLAC format (which is a lossless format) on my external hard drive. I want to import them into iTunes using the Apple Lossless Encoder. I called Apple support and asked them how to do this, and they told me to go under "Preferences" in iTunes and chose to import using Apple Lossless Encoder.
    I did this using Preferences>General>Import Settings, and then went to File>Add Folder to Library, however, it still imported my songs as AAC Audio Files. Does anyone know what I'm doing wrong? Thanks.

    iTunes cannot read nor import FLAC files - not without third-party plugins, anyway, and I don't know of any that will allow iTunes to convert a FLAC file to another format - so I'm a bit confused as to the procedure you're following. If all you're doing is using the Add to Library command and choosing the FLAC files, it's quite possible that iTunes is misinterpreting the format and adding what is in reality an invalid link with erroneous format information.
    If you have some sort of third-party plugin for FLAC for iTunes, please post that information and perhaps someone here can determine whether iTunes can do a conversion successfully.

  • How do I use a quadrature encoder as an external clock (PCI 6229)

    Hello, ( a similar post has been placed on DAQ forum apologies as I did not know best place)
    I have a PCI 6229 M Series data acquisition card. I want to use a quadrature encoder to be the external clock driving the acquisition of a number of signals. I have set up reading 24 signals each time a clock pulse is received using the DAQ assistant and set my external clock to pin pfi8 (I think) this is then connected to an encoder output. This works well enough until the encoder is run too fast when it appears I am either missing pulses or getting bounce.
    How can I set up to clock using a quadrature encoder? I have seen a number of questions on this forum regarding quadrature encoders and reverse counting but not on using them as an external clock.
    Basically I want to have the stability and "bounceless" nature of using two outputs from a quadrature encoder whilst still using an external clock. Is this just a case of configuring controls to certain pfi's? If so how is it done?
    Any help or pointers would be helpful. So far I have managed very nicely by simply using the DAQ assistant and the interface it has would suggest that if configured for a certain pfi pin I could actually still use it.
    Thanks in advance.
    Kevin

    Hi,
    Well I've had alook into this for you and I'm not quite sure I understand what you are looking for.
    Is it possible for you to phone back in to support?
    The reason you are seeing bounce at high speeds, or indeed loss of points, is due to the sampling rate that you have set up.
    What you will find is that the trigger will start an aquisition of a number of points at a certain rate.  If your sampling rate is too low then you will not finish that sample batch before the next set of samples is recorded.
    It is possible to use an external clock into a trigger or digital line, however this will limit the number of samples you can take to the speed of your encoder.
    If you increase your sampling rates, and then configure a start trigger from a single input from the encoder you will be able to record a number of samples after a rising/falling edge.  (Set the clock as an internal clock)
    Hope this helps
    AdamB
    Applications Engineering Team Leader | National Instruments | UK & Ireland

  • Why cant I encode a .mov using Adobe Media Encoder CC to .mp4 or .ogv to use in Edge?

    Why cant I encode a .mov using Adobe Media Encoder CC to .mp4 or .ogv to use in Edge?

    Yeah, mp4 in HTML5 browsers is h.264 encoded - h.264 is a subset of MPEG-4 standard. More info here:
    H.264/MPEG-4 AVC - Wikipedia, the free encyclopedia
    For ease of use in AME, if you look at the right side of the UI in the presets, the Web Video > YouTube presets are the ones that will encode to h.264 with the mp4 extension.
    hth,
    Joe

  • Create a flash video using adobe media encoder cc 2014

    How to create a flash video using adobe media encoder cc 2014?

    removal of FLV and F4V export features from Adobe Media Encoder, After Effects, and Premiere Pro

  • "R6025 -pure virtual function call" Error While Use Adobe Media Encoder

    I'm trying to use Adobe Media Encoder (CS3) to output a project to H.264. I have about 3 minutes of footage on the Premier Pro CS3 Timeline, all of it in Cineform AVI intermediate format. When I export the movie through AME and select 2-pass VBR, it gets through the first pass, but crashes at 50% on the second pass with the error:
    "Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program E:\Progra...
    R6025
    -pure virtual function call"
    Any ideas what may be causing this error?

    Point taken...
    I'm on a Dell XPS 720 Windows XP (32-bit) system, with all up-to-date service packs and patches. I have 4GB RAM installed, and Production Premium CS3, TMPGEncXPress and Cineform's Neo Scene. Neo Scene is a recent addition and the problem existed prior to its installation. I have two 7900GS graphics cards (each with 256MB video RAM), running in SLI mode.
    I dual boot Windows XP: One system is "Messy" with all kinds of stuff installed. The other is "Clean" and has virtually nothing installed, except for the three suites previously mentioned. No anti-virus or anti-spyware software is installed on the Clean system. I get the error on both systems.
    I saw the post from September 2007 reference vcredist_x86. I'll be trying that at my next opportunity, however, I'm not sure that will fix it, as I don't see why both systems would suffer from the same corruption. I'll also be swapping out RAM to see if that fixes the issue.

  • My Macbook Pro (early 2011) has 4 gig of memory and is using all of it and running slow.

    My (early 2011) MacBook Pro has 4 gig of memory and is using all of it and running slow.  I am planning to double memory, but any ideas about why it's using all that memory?  (Yosemite 10.10.2). 

    When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Where to find the best application for cleaning out my MacBook Air with OS X 10.7.5? I've been using MacKeeper but believe it's slowing down my laptop considerable.

    where to find the best application for cleaning out my MacBook Air with OS X 10.7.5? I've been using MacKeeper but believe it's slowing down my laptop considerable. Thank you.

    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; make them independent of each other. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the Software Update preference pane, you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis. This is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Use your computer; don't fuss with it.
    Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception to the above rule. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction.  Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    4. Beware of trojans. A trojan is malicious software (“malware”) that the user is duped into installing voluntarily. Such attacks were rare on the Mac platform until sometime in 2011, but are now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must be acquired directly from the developer. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from a web page without your having requested it should go straight into the Trash. A website that claims you have a “virus,” or that anything else is wrong with your computer, is rogue.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem. While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage consumption and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as the free application OmniDiskSweeper to explore your volume and find out what's taking up the most space. Move rarely-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • Not able to handle Special Character in Bpel using UTF-8 Encoded XML

    I am using UTF-8 encoded xml for my application,but during conversion of XML from one source to other using simple BIOS java programme , i am not able to convert special characters like(Göblyös Tünde,Makaróni etc).All getting converted to (G�bly�s T�nde,Makar�ni etc).As a result data corruption occurred.Please let me know if any go across this issue.

    Hi,
    Possibly the data you receiving is not UTF-8... Have you check with the data provider?
    Try with other encoding... like ISO-8859-1 for example...
    oracle.soa.common.util.Base64Decoder.decode(zipname.getBytes("ISO-8859-1"));
    Cheers,
    Vlad

  • Re-use of .264 and .ac3 created by compressor or fcp-share

    Good Morning from Belgium
    Here is my question
    How do I reburn a blu-ray without having to reencode in compressor or using "share" in fcp. In other words, how to re-use the .264 and .ac3 files created in a previous burning session ? I have tried Toast 9 but get 2 files (one with audio, one with video) .
    Can I safely delete those huge files if it is not possible to use them later with any software ?
    Hope you can help
    Michel

    I can put a movie in Compressor, add the video and audio presets and then select "Create BD/AVCHD Disc" in the Job Action menu but that will only create one disc.
    My idea was to save the .264 and .ac3 files so that I could burn another disc at a later date.
    I can do this with Toast but there is no way I can use those files in Compressor again (that I know about).
    What exactly did you mean by burn it from a disk image?
    I can do that in Toast but I don't know how to do it with Compressor.

Maybe you are looking for

  • Multiple versions of pages

    Hi, Can we have different versions of the pages like different layouts styles ?, but the same Java class should drive all the versions. Our Client wants to have different versions of pages runtime, like some customers sees X version other can see Y v

  • How to unblock my Ipad? (forgot password 4 numbers)

    When I want to Use my Ipad I first have to unlock with a password (4 numbers), BUT  " I forgot this password" and now it is TOTALLY blocked. How can I unblock it ? I want to use it offcourse ? Please let me know... thank you

  • Please help me regarding check box..plzzzzz

    Hi,      I posted the doubt about checkbox but no one replied. Please any one give me idea for making the operation. The attached VI shows the checkbox(regulated) in front panel with some textboxes below. So, now i want to make when the checkbox is c

  • [half-SOLVED] eth0 and eth1 getting swapped every time

    Hi, The title says it all, but I don't know what else to do. I've tried putting the modules in order in the MODULES array in /etc/rc.conf, but it doesn't work. Apparently, the modules in MODULES aren't guaranteed to load in the order they are anymore

  • = symbol Serialization in request

    Hi to All, I have a question to All. I have a requirement to send the "< =" symbol in request parameter. When i am trying to send directly, Flex throwing XML Parser Exception. This is my request format: So please help me if any one knows the answer.