[solved] Video conversion problem: Mencoder on Arch versus Windows XP

I have a cheap portable video player which (according to a supplied Windows software configuration file) requires any video to be converted (say from a YouTube .flv) using a command line like:
mencoder myfile.flv -ofps 15 -vf-add scale=160:128 -vf-add expand=160:128:-1:-1:1 -srate 44100 -ovc xvid -stereo 0 -xvidencopts bitrate=300:max_bframes=0:quant_type=h263:me_quality=0 -oac lavc -lavcopts acodec=mp2:abitrate=128 -o myfile.avi
If I do the conversion on Linux - my fully-upgraded Arch - the resulting .avi file has the audio and video out of sync when played with Mplayer (on Linux and Windows), and no audio at all when played with Vlc (on Linux and Windows). But if I do (supposedly) exactly the same conversion using Mencoder on Windows, the resulting .avi file plays perfectly on everything on both Linux and Windows (and also the portable video player).
Here's the version information for the Mencoders being used:
Windows: MEncoder Sherpya-MinGW-20060312-4.1.0 (C) 2000-2006 MPlayer Team
Arch: MEncoder SVN-r32492-4.5.1 (C) 2000-2010 MPlayer Team
I'd be grateful for any ideas as to how to make my Mencoder conversion work as well on Linux as it does on Windows XP! (Or is there something wrong with the way I'm playing the file with Mplayer and Vlc on Arch?!)
Last edited by ninian (2010-11-16 23:28:02)

Aha! I think I've cracked it, but using ffmpeg instead, with options prompted by this blog post:
ffmpeg -i infile.flv -r 15 -vcodec mpeg4 -vtag XVID -s 160x128 -aspect 4:3 -qmin 3 -qmax 5 -ar 44100 -ab 128k -ac 2 -acodec mp2 -g 1 outfile.avi
This seems to work everywhere, and the writer specially notes that:
The most important option is the -g 1 to force every frame to be a keyframe
which may well be where my conversions were going wrong. So I'll mark this as 'solved' even though mencoder is still a mystery, but I have learned to keep Vlc up my sleeve, so thanks for that tip again.

Similar Messages

  • ZEN Vision M 30GB Video Conversion problem: black scr

    My husband cannot display any video on his ZEN Vision M 30 GB. Any video converted comes over with ONLY audio, black screen (? no video display )This happened with the original firmware and software. I updated firmware and did all available software updates; no change. I had a previous ZEN Vision M 30GB, which did not have any problem with video conversion and display.Are there any known problems with specific Media Player versions, or QuickTime ?which may be a potential cause of this problem?( I have heard that this product works best with Media Player 9. )Anyone had similar problems, or have any ideas?Thanks,Ravenquille

    Problem apparently solved: Last night, I downloaded and installed the free program, SUPER. My husband has not had a problem so far; been working beautifully! Ravenquille

  • [SOLVED] SMS Conversation problem after transferring messages

    Hi,
    After transferring my SMS messages from my Xperia Z to my new Z3c, received messages are added to the existing conversation, but the replies I send appear in a new conversation!  Anyone else have this problem? Any ideas how to fix it? 
    Thanks,
    Chris
    Update - It turns out that this was due to spaces being present in the mobile number in my contacts after I'd transferred them, I removed the spaces, and it fixed the issue.

    This was driving me insane, thanks for pointing out the obvious! :-)

  • N95 video conversion problem

    I use the registered software of "ImTOO MPEG Encoder 3" to convert videos shot with my N95 to "MPG-1" or "MPG-2" format in order to play it on any VCD/DVD player. There is not much problem with smaller videos, I mean of 1-2 minutes of length. But with larger video files, i.e., more than 150MB, the video is converted without sound. When I play such video on VCD/DVD player, the whole video is played without sound, and at the end the last frame of the video is freezed, and the sound of whole video starts.
    With smaller video, the sound is not Lip-Synched either.
    Can anybody tell me any reliable software to successfully convert MP4 videos to MPG format.
    Thanks

    Hi !
    I use the same software but no problems to convert small or large mp4 to avi, wmv..ecc...
    N95 8GB V 15.0.015

  • Video conversion problem: no sound

    Hi,
    when I convert a video for iPhone / iPod touch, there is no sound in the end. Same with iTunes.
    What - except re-install both, which I have done already - can I do?
    Thanks a lot
    Peter

    QuickTime, and any app that uses it, can't extract audio from muxed file formats (MPEG 1 and 2 and Flash).
    Use MPEG Streamclip (free) to convert your MPEG-1 file.

  • MMAPI video conversion problem

    Hi All!
    Could anyone please tell me what parameters do I have to use when using ffmpeg to convert flash video to mp4 or other format working on wtk 2.5 emulator, simple converting the video file doesn't display anything on the emulator.
    (I'm asking here for parameters because i use linux but any information about suitable mp4 video characteristics would be great)
    Thanks a lot in advance!
    Kris

    You can try [mpeg4 converter|http://www.yzf888.com/mpeg4-converter.html],it can convert video to mp4.
    Edited by: bill8888 on Jul 13, 2008 5:40 AM

  • [solved] video playback stops when I move any window in xfce

    Hello,
    when I view a video with xine or mplayer and I move/resize any window the video playback stops.
    In xine the audio still plays, in mplayer video and audio stops.
    When I stop moving or resizing the window the playback continues.
    Is this normal in xfce or xorg in general ?
    Do other desktop environments handle this without stopping the video playback ?
    How does it work on your systems ?
    I am using the "nvidia" driver (geforce m 8600 gt - notebook). I haven't tested it with "nv".
    Last edited by baro (2009-04-28 15:03:21)

    ok, there is a setting for hiding a windows content on resizing for moving.
    I thought this would just apply to the window I resize and not to all windows on the desktop.
    Unmarking those did fix my problem.

  • [SOLVED]Video problems and more

    Some months ago, I posted about my video problems in trying to install Arch on several different computers.  Getting no good results I gave up, but recently made another attempt.  Right now, I have Arch installed on my test computer which is a MSI Celeron, with onboard S3 ProSavage video, one monitor. I do not use a desktop, only the JWM window manager, no icons, wallpaper or any other crap.  Here, Arch is great. Ultimately, I want to get Arch set up on my workhorse which is an Asus P4, with no onboard video using dual monitors.  I might add that this ASUS board, with two old nVidia cards, AGP and PCI ran dual monitors with FreeBsd and Debian.
    Herein lies the problem:
    I want Arch NOT to mess with the video until I start xorg regardless of whatever AGP and PSI card I might be using.  Please stick with the BIOS resolution.  This is how it was with every other linux I have installed.  I have tried several video cards, AGP nVidia, ATI, and Matrox, as well as PCI nVidia and ATI, all with different results. Using most of the cards, I get a console (no, haven't messed with xorg yet) that appears in the upper left corner so small I can't read it.  Or else, there's a white square that obliterates the upper left of the console,  The only time this doesn't happen is if i use the matrox AGP card or an ATI PCI card not in conjunction with another card.
    I read to use the vga=xxx in the grub menu list as well as kernel boot option set to nomodset, but either I don't know how to do this, or else it doesn't work for me.  What is KMS, and how to use it?
    I want to resolve this issue before attempting to get dual monitors set up on the Asus board.  Any help is appreciated
    Last edited by Ron74 (2011-03-18 16:17:45)

    bohoomil wrote:
    Ron74 wrote: What is KMS, and how to use it?
    KMS
    I don't quite get it: does the picture get messed up as you described after the kernel loads? Do you have normal BIOS logo / text before the bootloader starts?
    As Arch takes over the boot process, the resolution becomes somewhat higher, and then when comes the logon screen it's so small, in the upper left, that I can hardly read it.  This problem is well documented on the search engines.  I have read where some users want a higher console resolution, and others want a lower resolution.  I have installed Slack, FreeBSD, Debian, TinyCore and others, without this problem.  Apparently, Arch is deciding what screen resolution a user should have in the console.  This would be more understandable were it not that there is no consistancy between various video cards. Yes, I'm guessing that this happens after the kernel loads.  But how come the discrepancy between different video cards?

  • MSI K7N2 Delta-ILSR, Mouse problem & Video off problem solved!!!

    I find the following information that I collected very interesting at the very least...
    Here goes...
    The video off problem that I was having was directly linked to the mouse. Here, let me explain the video off problem. In the BIOS Have the Standby mode set to S3. The problem occurred when I started windows, then went into standby, then started back up, then restarted the computer, the monitor would act as if it were in sleep mode, or rather there was no signal being sent to the monitor. Well the odd way I fixed that is by plugging in a standard 2 button PS/2 mouse. Also this fixed the issue with the mouse sometimes not working in windows.
    Here is how I tested.
    Logitech MX700 Cordless Optical Mouse, PS/2 & USB= failed.
    Logitech iFeel Optical Mouse, USB= failed.
    Microsoft Cordless Ball Mouse, PS/2= failed.
    Standard Artec (Cheapy brand) Ball Mouse (With no wheel), PS/2= All issues fixed, and passed.
    When I said failed I do not mean they didn't work, I mean they sometimes didn't work and also caused the Video off problem after restarting the computer.
    Obviously it isn't the ports (PS/2 or USB) that are the problem, it is more like the mouse itself, and the amount of buttons in particular. As you can see above the only mouse that works correctly is the one that only has 2 buttons, the rest has 3 or more buttons along with a Wheel. The MX700 has 8 buttons + wheel, WOW!
    Anyways I figure out it was the mouse, and not the memory.
    Obviously MSI needs to make a patch for this mouse problem.
    I'm still having a hard time believing that the mouse caused the video not to work, but it is true! I spend well over 5 hours testing this crap. Every time with the mice with more then 3 buttons it messed up, and every time with the 2 button old fashion mouse it worked flawlessly!
    MSI, get to work on a new BIOS to fix this mess!!!  :]
    BioHaz

    Quote
    Originally posted by Raven_
    hi
    its possible to use an ps/2 mouse AND a usb mouse at the same time.
    i used the ps/2 mouse in windows and the usb mouse when playing games.
    you can get some trouble if you do it the way i did it.
    i was in windows surfing and the pointer just jumped all over the screen.
    when i looked on the other side under a table a friends little kid played with the usn mouse.  )
    bye
    LOL, that isn't what I'm talking about.
    There seems to be a problem with my motherboard accepting mice with more then 2 buttons. It works the first time, but if you restart the computer, the video goes off. If you have both installed, it still messed up.
    BioHaz

  • Problem in DAM video conversion

    Hi,
    I am using Webcenter Content 11.1.1.8.0 and I configured IBR for video conversion.
    When I uploadmp4 video file, I am getting below error,
    Content item 'Content000242' was not successfully checked in. Unable to set the default rendition set for DAM conversion
    I have seen the below instructions in documentation that I need to update config file.
    1. Open the following directory of your Content Server instance:
    <IntradocDir>/config/
    2. Open the config.cfg file in a standard text editor.
    3. Under the #Additional Variables section, add DefaultVideoConversionSet and set
    it equal to the factory you want as the default rendition set. The default must
    match a rendition set in the choice list of the VideoConversions metadata field,
    defined using the Configuration Manager applet.
    4. Save changes to the config.cfg file and close the file.
    5. Restart Content Server
    http://docs.oracle.com/cd/E14571_01/doc.1111/e10800.pdf
    Pg 85 and 86.
    What is the value I should put in config. file.
    DefaultVideoConversionSet = {What Value Goes Here}.
    Please let me know if I need to do any other configuration.
    Thanks

    Hi Kumar ,
    I think the same question is posted here :
    Unable to set the default rendition set for DAM conversion
    Thanks,
    Srinath

  • I bought iphone 4 in US and i and other person not able to listen properly because on the time of conversation voice cracking and difficult to understand each others.so i would like to request you that please solve the above problem.i love my iphone.

    Sir,
    I bought iphone 4 in US.last 6 month me and other person not able to listen properly the voice because the voice is cracking.i have called earlier about the above problem and they said to upload the new verson 6.1.3 and it will be done but after loading this version still i am facing the same problem.so ,i would like to request you that please solve the above problem as soon as you can.I will be thankful to you.i love my apple Iphone.
    waiting for your earliest reply.
    thanks
    Rajeev Gupta

    Hello sir
    As you know about my iPhone 4 which has a problem of voice cracking so I would like to replace to other phone like IPhone 5s.I will pay the replacement charges immediately.i am reaching miami on 19th of janvary 2014 so I would like to request you please arrange my appointment on the Apple store,dadeland mall ,miami at 15.00pm as I will reach miami at 13.00pm and my flight to India at 19.00pm.
    Last time you told to replace at miami on 26th of September but without oppoimtment they have not entertained me.so I would like to request you that please arrange my appointment this time
    I will be thankful to you
    Rajeev Gupta

  • Problems with installing arch-0.7. (solved)

    *GOSH* Me is so dumb sometimes... My testing computer, is not PII. It is only pentium. No wonder it aint working. My mistake, sorry.
    Hello all !
    I have a problem with installing arch-0.7.
    When i am booting from CD, it starts to load kernel and so on, but it always restarts.
    I have tryed starting it up with arch -noscsi, but it doesnt change anything. It restarts anyway. I get no error messages what so ever, it just restarts.
    If there is anyone, who could help me out, give me a hint or something, i would really appreciate it. I am new to linux, and while browsing different distros, i found this one. And, it seems really good, so i decided to try it out, to see if it "does my work".
    Thanks in advance.
    Disc-Devil

    Tnx !
    I've found the pre.07-i586.iso... So, now i could try this out.
    http://archlinux.veloxis.de/i586/iso/ar … e-i586.iso
    If i understood, things right, i can still use sources? Even though, not every app is in the repository, i am able to use sources right?
    Anyway, Tnx alot again, for giving me the gr8 tips.

  • Creative Vision:M, best video conversion program(freeware or softwar

    I recently got a creative vision:m and love it, but i cannot figure out whether or not my recently purchased "23 Copy DVD Gold Edition" software is worth the fifty bucks i had to pay. Does anyone know of online freeware etc that works well and produces good quality video conversion (esp. from .mp4 to .avi etc.). I know there is a free converter that comes with the program but when i tried it the videos played slightly choppy on my vision:m. When i used .avi format, there was no such problem. Thanks

    Problem apparently solved: Last night, I downloaded and installed the free program, SUPER. My husband has not had a problem so far; been working beautifully! Ravenquille

  • Video conversion for N8

    I've  been trying to convert movies for my N8. So far, I couldn't get the right conversion factors such as the resolution, bitrate, frame rate, video codec, etc.
    The videos I convert work on my N8 but the size always exceeds 1GB, and the video isn't in full screen.
    Does anyone here knows the best video conversion setting for the N8?
    Thanks in advance.
    Solved!
    Go to Solution.

    Hey again 00RaiserTwo!
    Here are the specifications regarding the Video for the N8, I hope this was what you where looking for.
    Display:
    360x640 pixels
    Video Playback Performance:
    encoding 25fps
    decoding 30fps
    File Formats:
    H.264
    MPEG-4, VC-1
    H.263
    Real Video 10
    ON2 VP6
    Flash video
    Press the 'Accept As Solution' icon if I have solved your problem, Kudos my post if my advice has helped you!

  • [nForce] Lets solve this 1394 problem once and for all.

        
    Hi guys,
    For the past 3months I have been trying to connect my Panasonic GS150 to my comuter in order to use Avid dvxpress pro. I have the problem of when I connect the camera to the computer, nothing happens. I also have this problem with my Ipod, however testing various different devices with the computer produces a strange outcome. Various different cameras work, xp pops up witha found new hardware device (like it should). Its very strange.
    I started to think it was my system. I changed my onboard firewire to a pci card, same solution. So then, i reinstalled windows, same outcome. So i bought a new motherboard nforce2 platinum and to my total amazment, same problem. If was after i had totally failed in finding the solution that i started to look elsewhere on the net for anyone who knows the answer. It seems to be a VIA firewire chipset problem. Every post of people who had similiar problems where looking for the answer but NOONE has solved it, ive come across about 1000 posts with no reply's. Its a problem that thousands have but not many people ever use ther're firewire ports so they dont they've got the problem.
    I really dont know what the problem is anymore, is it windows, is it certain 1394 devices, or is it the Via chipset. I havent a clue, so if anyone wants to attempt to solve this problem once and forall they will be the hero of about 3000 potential customers...
    Anyone?
    Jon.

    Yes thats correct.   Regardless of the hardware, and various 1394 devices are recognised. I've bought a 4pin to 4pin cable which i will test with different devices to see if they are consistent with a 6pin to 4pin cable, it may be a power issue. Not sure what chip on pci card, heres the info from website.
    - Three external 6-pin FireWire ports
    - Interoperable with existing, as well as older, 1394 consumer electronics and peripheral products
    - Complies with OHCI requirements
    - Compliant with IEEE 1394a-2000 standard
    - Isochronous transfer support (guaranteed bandwidth) for DV video data transfer from Camcorder to PC
    - Provides three fully compliant cable ports, each supporting 400Mbits/sec, 200Mbits/sec and 100Mbits/sec traffic
    - Plug and Play & Hot-Swappable for all ports
    - Power overload and protection failure on each port
    - PCI bus master with PCI 2.2 Bus specification
     

Maybe you are looking for

  • Fonts missing in Photoshop CS5

    I have many DVD case templates I created with Photoshop CS2.  I now have Photoshop CS5.  I am opening these DVD case templates with PS CS5.  There have been several instances where the fonts I used in CS2 is not available in CS5.  Is it possible for

  • How to get input device resolution?

    Hi, In Java, the mouse movement is captured only when the cursor moves in the screen? I have mouse with much high resolution (1600dpi) and tablet pc with pen which is also much higher resolution , while screen has 72dpi resolution. Hence I am loosing

  • PDF trying to print to A3 and can not be changed

    Hello We have installed a new printer HP Business InkJet 2800 using a PCL 5c driver. We have Adobe Acrobat 8 STD installed on a Windows XP SP2 workstation. The issue I have is that when I open a PDF document and then try to print, even tho all the se

  • Conditional Execution of Validation Rule defined in EO

    Hi All I'm developing a web application using jdeveloper 11.1.0.3 I have a drop down list with some values. There is a compare validation rule defined in EO object for an attribute. But I dont want to fire this validation only when a certain value fr

  • How Can I configure Bank Country or Bank Key

    Hi Experts, As I am learning VC , when I am going to make an application (BAPI_BANK_GETDETAIL) when I am going to do this on the BAPI..... Test the data service (choosing the Test Data Service right-click context menu), using the following values: su