[SOLVED]Youtube and Video Codecs

Hey guys
Ok basically today i went to make a screen recording for a friend. and i got this command line of the internet, youtube itself actually. i do remember the guy on the video saying he converts it later
The recording went fine. better than fine, x11grab is impressive
But when i uploaded the video to youtube, youtube failed to process the video, saying it couldnt read the codec
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s $(xwininfo -root | grep 'geometry' | awk '{print$2;}') -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 -y output.avi
So im wondering how i'd go about converting the file into a format that youtube will accept
i did try this, it convers the video itself but with no audio
mencoder output.avi -o test.mp4 -oac copy -ovc lavc -lavcopts vcodec=mpeg1video -of mpeg
due to this error
mencoder unknown audio format assuming mp2/3 use -fafmttag
I did try searching the arch forums and google. i couldnt find a solution or whats happening with the audio situation with mencoder
Last edited by nankura (2011-09-08 10:46:54)

If you want to tweak a few parameters along the way:
ffmpeg -i 'input-file.avi' -r 25 -s 640x368 -aspect 16:9 -b 988k -vcodec libxvid -vtag xvid -metadata title='Metainfo Title' -acodec libmp3lame -ac 2 -ab 128k 'output-file.avi'
or to purely copy video as is and transcode audio:
ffmpeg -i 'input.avi' -sameq -vcodec mpeg4 -acodec libmp3lame -ac 2 -ab 128k 'output-file.avi'
man ffmpeg
for more info and other options

Similar Messages

  • Youtube and videos keep downloading so that the lecture stops and goes on by "increments"each 2 seconds

    Youtube and videos are not running fluently the way they did.  It goes on downloading each 2 seconds. What can I do to solve the issue ? Thank you for your help.

    Most YouTube content requires the Flash plugin. Sometimes it's necessary to uninstall then reinstall that plugin.
    Uninstall the Flash plugin then reinstall new >  Troubleshoot Flash Player | Mac OS
    Very important to uninstall the currently installed plugin first.
    Now launch Safari and try a video.
    If you have the ClickToFlash extension installed, that can prevent Flash based video from streaming. It can also be installed as a plugin in /Library/Internet-Plug-Ins.
    And check to see if Safari is running in 32 bit mode. Right or control click the Safari icon in your Applications folder then click Get Info. If the box next to:  Open in 32 bit mode  is selected, deselect, quit then relaunch Safari.
    You may also need to delete the cache associated with Safari .
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy/paste:   ~/Library/Caches/com.apple.Safari
    Click Go the move the Cache.db file from the com.apple.Safari folder to the Trash.
    Quit and relaunch Safari. Try a video.

  • Satellite A80: How to restore audio and video codecs?

    How can I restore the audio and video codecs which are installed by default on my Satellite A80 with XP Home edition?
    I removed them in safe mode because of a problem with the Pinnacle Codec installed by Pinnacle Studio 10.
    Now I need to set the standard audio en video codecs back.
    I already downloaded the codec package from Microsoft Mediaplayer and have sound en video again in Media Player.
    Unfortunately I still don't have sound in Toshiba Diagnose Program when testing Midi and Wave sound.
    System restore came up with the message that restore was not possible because no changes had been made.
    Message was edited by: roel

    Have investigated in the forum and found this different codecs:
    -Zsunami Filter Pack: (3.9.9)
    - Nimo Codec Pack: (5.0 Final)
    - ACE Mega CoDeC Pack: (5.93)
    - Codec Pack Elisoft: (13.505)
    - K-Lite Codec Pack: (2.2) Full
    - SLD Codec Pack: (1.5 Pro)
    - All in One: (5.0.6.1)
    - The Codecs: (1.1 full)
    Well, if the system restore does't work try to install one or several codecs from this list.
    Have found it in this posting:
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=12068&messageID=44047
    good luck

  • Youtube and videos

    i have recently been unable to view videos (youtube and other site) on safari! the site loads up but the video does not show up or play!
    how do i resolve this?

    First thing is to always try a reset, then a restore.
    Remember that sometimes YouTube "goes down", and sometimes (if viewing over Edge) you will have such poor reception that videos will not play (other things can still load but video needs a better bandwidth in order to play). However, if you are connecting via wi-fi and they do not play the reset/restore is always the first thing to try.

  • [SOLVED]youtube and flash issue

    So, I've got a flash issue that only happens on youtube. It looks like this:
    It happens every time I open a browser (on both firefox and chrome) and goes away after refreshing the page, but its kinda annoying to refresh the page every time I wanna watch a video. Also when switching to fullscreen the video stays in software video rendering when it should switch to accelerated rendering so I get around 10 fps making the video unwatchable (this doesnt happen with windows on the same hardware).
    Other flash websites like vimeo work fine and I can watch vimeo HD videos in fullscreen without any issue.
    This started happening when youtube introduced the new black look of their player (it was all fine and dandy before), and its bothering me ever since so I'm now using flashvideoreplacer extension for firefox but I still want flash to work properly so I can use chrome again.
    I'm using 64-bit arch, flashplugin from extra (getting the same effect with any other flashplugin from AUR) and EnableLinuxHWVideoDecode is set to 1 in /etc/adobe/mms.conf
    Oh and I've tried this on Ubuntu live cd and controls work fine but accelerated video still doesnt work.
    Any help would be appreciated.
    SOLVED:Graphic problem is resolved after installing new version of flashplugin, but still no HW acceleration.
    Last edited by pixy (2012-04-03 21:39:11)

    strangest thing...  a few 'non-youtube' sites still work ok, but still complain 'no javascript' ..
    so went to firefox (v17.0.4 ESR) 'tools, options, content' and yup,  javascript UNTICKED!!   :O :O  my bad memory? something else???  {shrugs}
    ticked it, now ok........  think im getting old??????  ROFL..

  • [solved] Wifi and Video /Audio issues with Yosemite upgrade

    Apple support recommend you call them to solve your issue as they want to report all instances to engineering. They solved my issue (for now)
    Symptoms on Macbook Pro Retina 16GB 512GB SSD - late 2013 :
    1. any online audio or video stutters when playing - Youtube, Vimeo etc
    2. wifi cuts out - only reconnects if I turned off/on wifi
    3. Bluetooth keyboard / magic mouse disconnects
    Allegedly, during the update, something can happen with users accounts freezing. Therefore, a simple fix solves the issues:
    1. Shut down your Mac.
    2. Start Mac holding down SHIFT key (until desktop appears) - log in with your problem user account (Safe mode for those not familiar)
    3. Open Safari and navigate to Youtube - I played a video - the sound was not available but does not matter.
    4. Shut down Mac
    5. Start Mac in normal mode
    All should be fine now. If not call Apple support - that's what they suggest

    Apple support recommend you call them to solve your issue as they want to report all instances to engineering. They solved my issue (for now)
    Symptoms on Macbook Pro Retina 16GB 512GB SSD - late 2013 :
    1. any online audio or video stutters when playing - Youtube, Vimeo etc
    2. wifi cuts out - only reconnects if I turned off/on wifi
    3. Bluetooth keyboard / magic mouse disconnects
    Allegedly, during the update, something can happen with users accounts freezing. Therefore, a simple fix solves the issues:
    1. Shut down your Mac.
    2. Start Mac holding down SHIFT key (until desktop appears) - log in with your problem user account (Safe mode for those not familiar)
    3. Open Safari and navigate to Youtube - I played a video - the sound was not available but does not matter.
    4. Shut down Mac
    5. Start Mac in normal mode
    All should be fine now. If not call Apple support - that's what they suggest

  • Audio and Video Codec books

    Could some one suggest good books in audio/video encoding/decoding methods.
    I can find googling so please suggest only if you read it or you heard it from the master that you know.
    Thanks
    lbana

    Tuoppikake wrote:Hi Omel! I've used gstreamer plugins for all my videos. Look at this page:
    https://wiki.archlinux.org/index.php/GStreamer
    I installed all of the good, bad and ugly packages and every video works and looks pretty good. There's also some codec for h.265 too if you are interested. With VLC you can add more filters and such for playback. The i7 can handle lots of heavy filters.
    Thx for your advice I will look into it

  • [SOLVED] sound and video issues with firefox

    I decided to change my browser due to some problems with the last chromium update (https://bbs.archlinux.org/viewtopic.php?id=182218).
    I'm using the last version of firefox but I can't watch any videos in this browser. I'm having two main problems:
    · There is no sound at all in the videos played. But there is sound if I play something with Clementine or mplayer
    · The videos stop after a few seconds automatically. The videos keep loading, but they are not played anymore.
    This is a weird thing. I can't use a browser! Please some help!
    PS: I change the player on youtube to HTML5 and it's working now
    Last edited by doblerone (2014-06-01 17:22:20)

    Hello,
    While the whiteboard itself doesn't have an upload command,
    the FilePublisher can upload images into the Cocomo room. From
    there, your clients can download the image and display it (say,
    through an image component). The SharedWhiteboard can have its
    backgroundAlpha set to 0 - try myWB.setStyle("backgroundAlpha", 0).
    As far as your audio is concerned, it seems as though you're
    compiling against the FP10 cocomo.swc, but aren't requiring player
    10 in your Flex project (check Project Properties->Flex
    Compiler). I'd either use the FP9 swc, or require 10.0.0 or higher
    in the project.
    hope that helps
    nigel

  • IWeb questions - Youtube and Videos.

    Hi,
    A few quick questions
    1) How do you put a link into a page so that visitors see the movie (let's say it's on Youtube) but are not directed to the actual page. Here is a link to a website that accesses one of my Youtube videos, yet it doesn't bring the visitor to Youtube.com. http://starsneverfade.com/callowayConcert.htm Here is another example of how someone access a video on my website without visiting my site. Both of these have my permission... but how was it done? http://www.davidgeist.com/rhapsodyinblue.html
    2) is it possible to put a Flash movie into Iweb? I have a few people grumbling that they cannot play Quicktime movies. I hear .flv movies are more compatible with Windows based computer... augh! Why doesn't everyone just buy a Mac and make my life easier?
    3) Is it possible to copy protect a video? What I'm asking is once I post a video is there a way to prevent people from downloading it?
    Thanks!
    Gary

    I have a large collection of sample pages with video: QuickTime, Flash Video, Windows Media, DivX, Real.
    http://web.mac.com/wyodor/iFrame/
    You use the object/embed code and paste it in a HTML Snippet.
    I usually use a separate custom HTML page to embed with the [iframe HTML element|http://htmlhelp.com/reference/html40/special/iframe.html] or [object HTML element|http://htmlhelp.com/reference/html40/special/object.html].
    I have a few people grumbling that they cannot play Quicktime movies. I hear .flv movies are more compatible with Windows based computer... augh! Why doesn't everyone just buy a Mac and make my life easier?
    It's not Win or Mac. It's what you want. Flash Video has advantages over QT. And DivX has advantages over Flash Video. And Vimeo has advantages over YouTube. The samples will show you.
    3) Is it possible to copy protect a video? What I'm asking is once I post a video is there a way to prevent people from downloading it?
    If I can watch it, I can download it.

  • YouTube and videos slow on Firefox

    Hi, I have tried to resolve this on my own, but i couldn't so please, help me.
    I'm having BIG troubles trying to reproduce any video in YouTube. When i try to watch something, the video goes terribly slow, with continuos jumps and hangs, however the audio still is being reproduce perfectly.
    I have the last Adobe Flash Player version installed, if i go here http://helpx.adobe.com/flash-player.html it says it. But the animation i should see in that page to check if everything is ok, is really slow, and it has those jumps, the same than youtube.
    I have tried to unistall, and install it again, but it doesn't work.
    My computer is: Windows 7 64 bits, AMD FX 6300 6 core, GTX 650, 8 Gb RAM, motherboard ASRock 980DE3/U3S3 i'm using Firefox 35. and last version of flash player.
    By the way, if i tri to use Chrome, it works I believe it's because Chrome has it installed by default, so the problem it's just with Firefox (or games than nead Flash player installed)

    It sounds like you have an excellent workaround available.
    You can try to resolve the issues in Firefox by taking a look at our video troubleshooting guide:
    Video playback issues
    If that doesn't work, your best short-term option is probably to use Chrome.

  • I use Adobe Flash player version 11.7.700.225 why do my YouTube and other videos keep stopping

    I use Adobe Flash player version 11.7.700.225 which is the latest version.  can anybody tell me why my YouTube and videos stop and I cannot view them I have a macbook pro with retina display late 2012 and I am running OSX 10.8.4. Do I need some other flash to view or what thanks for your time.

    noelenefromashford,
    I'm in the same boat. Safari 6.0.5, stalls, and stops playing video (youtube, vimeo, etc). I tried the same videos with Firefox and they play fine!
    Running 10.8.4 on Mac tower.
    I just switched from an older Macbook Pro 15" with the same OS version and browsers , and never had that issue. What gives?

  • TIMECODES are important for audio and video sync issues

    Hello, just wanted to pass on what I learned so that others can avoid the trouble that I've had to go through. Perhaps this may help someone who is stuck on the launch pad. :)
    BOTTOM LINE: Info for the beginner. Audio and video not in sync in Premiere Pro CS3 V3.2.0
    PROBLEM: Capture works great it seems. When I go to the folder that contains the captured file and view in Windows Media Player audio and video are in sync. BUT when viewing the video asset in the source and program monitors, the audio and video are not in sync.
    SOLUTION:
    Before capturing a tape make certain the following is checked:
    (1) Edit->Preferences->Capture->Use device control timecode
    (2) Edit->Preferences->Device Control->Options->Timecode Format
    (3) Project->Project Settings->General->Video->Display format
    As for the devices timecode choose something other than Auto Detect. Then match the project timecode with what was chosen during capture. The projects display format could of course be set to frames.
    I searched everywhere for audio and video sync issues in google, adobe forums, F1 help, and hv20.com and everyone was talking about:
    (1) Presets: 1080p30 vs. 1080i30 (60i).
    (2) brakes in the tape where timecode for the audio and video get misaligned during capture.
    But choosing the correct hardware settings and timecodes to solve audio and video sync issues never popped up.
    MY HARDWARE: Canon HV30, HDV

    >Audio and video not in sync in Premiere Pro CS3 V3.2.0
    Must be an HDV only issue because my synch is always perfect.

  • [SOLVED]suddenly video playback in youtube(and similar sites) playing

    in fast mode, and with no sound at all.
    i didn't change anything as far as i know, in my system, except from updating it from time to time(my system is up to date).
    the problem occurres in firefox and chrome.
    there is no problem with the sound and video, if i play a video in vlc(it plays well).
    i tried to restart the computer, and the problem still exist.
    i don't know what to do.
    Last edited by andav (2015-03-16 20:55:20)

    problem solved.
    i went to settings -> sound (in gnome).
    the output was changed to something else(don't know why), so i changed it to: line out - built-in audio, and now everything working :-)
    Last edited by andav (2015-03-16 20:55:51)

  • I have a HP-6210 Laptop with Windows 8.1 ... and Videos are not playing from youtube espn etc

    I have a HP-AMD A4-6210 Laptop with Windows 8.1 ... and Videos are not playing from youtube espn etc
    This question was solved.
    View Solution.

    Hi,
    Try a clean installation of the flash plugin/activeX as follows.
    First, download the Flash uninstall utility on the link below and save it to your Downloads folder.
    Flash Player Uninstaller.
    When the download has completed, close all browser windows, open your Download folder and run the uninstaller.  After this has completed, restart the notebook.
    When windows has reloaded, download and install the latest version of Adobe Flash.  Note: You may want to deselect the option to include McAfee Security Scan Plus before downloading.
    When the installation has completed, restart the notebook.
    If the above doesn't correct the issue, then try the following.
    First of all, download and run the Shockwave uninstaller on the link below.
    http://fpdownload.macromedia.com/get/shockwave/uninstall/win/sw_uninstaller.exe
    After this has completed, restart the notebook.
    When windows has fully reloaded, download and install the latest version of Shockwave on the following link.
    http://get.adobe.com/shockwave/
    Again, after this installation, restart the notebook.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • [SOLVED] Epiphany: Some videos of Youtube do not reproduce (html5).

    Hello, I have activated the option to see videos of Youtube using HTML5, with the browser ephipany (and with firefox) some videos can reproduce , instead, others do not reproduce, says in the screen of the video "Missing Plug-In" and afterwards "This video is currently Unavailable". I have installed the plugins of Gstreamer, but the problem persists.
    In the screen of activation of HTML5 says: What does my browser support?
    - Video tag
    - h.264
    - WebM
    These are the results of the HTML5 test
    your browser scores
    305
    AND 14 BONUS POINTS
    out of a total of 475 points
    You are using Epiphany 3.2.1 on LinuxCorrect?✔✘
    Parsing rules
    2 bonus points11
    <!DOCTYPE html> triggers standards mode    Yes ✔
    HTML5 tokenizer    Yes ✔
    HTML5 tree building    Yes ✔
    HTML5 defines rules for embedding SVG and MathML inside a regular HTML document. Support for SVG and MathML is not required though, so bonus points are awarded if your browser supports embedding these two technologies.   
    SVG in text/html    Yes ✔
    MathML in text/html    Yes ✔
    Canvas
    20
    canvas element    Yes ✔
    2D context    Yes ✔
    Text    Yes ✔
    Video
    8 bonus points21/31
    video element    Yes ✔
    Subtitle support    No ✘
    Poster image support    Yes ✔
    The following tests go beyond the requirements of the HTML5 specification and are not counted towards the total score. If browser support for one or more video codecs is detected, two bonus points are awarded for each codec.   
    MPEG-4 support    Yes ✔
    H.264 support    Yes ✔
    Ogg Theora support    Yes ✔
    WebM support    Yes ✔
    Audio
    4 bonus points20
    audio element    Yes ✔
    The following tests go beyond the requirements of the HTML5 specification and are not counted towards the total score. If browser support for one or more audio codecs is detected, one bonus point is awarded for each codec.   
    PCM audio support    Yes ✔
    MP3 support    Yes ✔
    AAC support    Yes ✔
    Ogg Vorbis support    Yes ✔
    WebM support    No ✘
    Elements
    22/29
    Embedding custom non-visible data    Yes ✔
    New or modified elements   
    Section elements    Yes ✔
    Grouping content elements    Partial ○
    Text-level semantic elements    Partial ○
    Interactive elements    Partial ○
    Global attributes or methods   
    hidden attribute    Yes ✔
    Dynamic markup insertion    Yes ✔
    Forms
    64/100
    Field types   
    input type=text    Yes ✔
    input type=search    Yes ✔
    input type=tel    Yes ✔
    input type=url    Yes ✔
    input type=email    Yes ✔
    input type=datetime    Partial ○
    input type=date    Partial ○
    input type=month    Partial ○
    input type=week    Partial ○
    input type=time    Partial ○
    input type=datetime-local    Partial ○
    input type=number    Yes ✔
    input type=range    Yes ✔
    input type=color    No ✘
    input type=checkbox    Yes ✔
    input type=image    Partial ○
    textarea    Partial ○
    select    Yes ✔
    fieldset    Partial ○
    datalist    Partial ○
    keygen    Yes ✔
    output    Yes ✔
    progress    Yes ✔
    meter    Yes ✔
    Fields   
    Field validation    Yes ✔
    Association of controls and forms    Yes ✔
    Other attributes    Partial ○
    CSS selectors    Yes ✔
    Events    Yes ✔
    Forms   
    Form validation    Yes ✔
    User interaction
    34/36
    Drag and drop   
    Attributes    Partial ○
    Events    Yes ✔
    HTML editing   
    Editing elements    Yes ✔
    Editing documents    Yes ✔
    APIs    Yes ✔
    History and navigation
    5
    Session history    Yes ✔
    Microdata
    0/15
    Microdata    No ✘
    Web applications
    15/20
    Application Cache    Yes ✔
    Custom scheme handlers    No ✘
    Custom content handlers    No ✘
    Custom search providers    No ✘
    Security
    5/10
    Sandboxed iframe    Yes ✔
    Seamless iframe    No ✘
    Related specifications
    Geolocation
    0/15
    Geolocation    No ✘
    WebGL
    10/25
    3D context    No ✘
    Native binary data    Yes ✔
    Communication
    32/36
    Cross-document messaging    Yes ✔
    Server-Sent Events    Yes ✔
    XMLHttpRequest Level 2    Partial ○
    WebSocket    Yes ✔
    Files
    10/20
    FileReader API    Yes ✔
    FileSystem API    No ✘
    Storage
    15/20
    Session Storage    Yes ✔
    Local Storage    Yes ✔
    IndexedDB    No ✘
    The Web SQL Database specification is no longer being updated and has been replaced by IndexedDB. Because at least 3 vendors have shipped implementations of this specification we still include it in this test.   
    Web SQL Database    Yes ✔
    Workers
    15
    Web Workers    Yes ✔
    Shared Workers    Yes ✔
    Local multimedia
    0/20
    Access the webcam    No ✘
    Notifications
    0/10
    Web Notifications    No ✘
    Other
    6/8
    Page Visibility    No ✘
    Text selection    Yes ✔
    Scroll into view    Yes ✔
    Experimental
    Audio
    0/7
    Web Audio API    No ✘
    Audio Data API    No ✘
    Animation
    0/2
    window.requestAnimationFrame    No ✘
    I do not know if this problem is caused by Epiphany, or because it is missing to install some package of Archlinux, would appreciate his answer, thank you in advance.
    Sorry for my English
    Last edited by Infragilis (2012-03-15 15:32:52)

    As it signalled the page of Youtube, expected this answer, but like my knowledge in this matter is scarce, had to ensure me that the problem was not the browser or the absence of a package.
    Thank you for answering

Maybe you are looking for

  • Error 15 with CLFN in nisyscfg.lvlib:Set System Image

    Recently upgraded to LV 2012 and code that worked for imaging cRIOs in LV 2011 had to be replaced with the new and improved nisyscfg.lvlib VIs: Set System Image, Get System Image, etc,... I'm receiving the following error message when my installed ex

  • Acrobat 9 standard. The adobe inons on my desktop turned white, how can I bring back the normal pdf icons?

    Acrobat 9 standard. The adobe inons on my desktop turned white, how can I bring back the normal pdf icons?

  • Can't Find PhoneGap in Dreamweaver CC

    Hello everyone. I have the latest version of Dreamweaver CC. I can't seem to find the PhoneGap Build option under Site Menu. This is a fresh install of DreamWeaver and I haven't installed any of the iOS or Android SDKs yet but I noticed PhoneGap Buil

  • SLD Rebuild

    HI, we are building a new SLD now. As we have already built the 5 XI interfaces in the old SLD, whats the effect we are going to have ...if we recreate the same business systems.....in the new SLD, can we avoid any side effects?. what are the things

  • White Balance - Plug in for adjusting

    I forgot to set the white balance on my camera before recording.  I remember coming across an AE effect plug-in that will set/adjust the white balance but I cant remember which one it is.   thank You CS4