Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Linux: Videos play fastforward

  1. Feb 8, 2018 #1
    Hello,

    Everything was just fine, and today when I opened Ubuntu on VirtualBox, the videos on YouTube played fastforward (and the voice as well). I googled this issue, and the solution seemed to change the audio output option as System>Preferences>Sound>Output Then select "Internal Audio Analog Stereo Stereo", but I don't have this option. What else can I do to solve this issue? I also have Linux Mint, and it suffers from the same problem. It does seem that turning off the output audio makes the videos play in normal speed, but there will be no voice!!

    Thanks
     
  2. jcsd
  3. Feb 8, 2018 #2

    jedishrfu

    Staff: Mentor

    Time to learn lip reading ?



    This video walks you through some steps. It may be what you tried already but may be not.
     
  4. Feb 9, 2018 #3
    It is, actually.
     
  5. Feb 9, 2018 #4

    QuantumQuest

    User Avatar
    Science Advisor
    Gold Member

    I don't know the Ubuntu version you're running but regardless if you go to "Sound" tab , "All Settings", (sub)tab "Output", "Play sound through" there is the option "Analogue Output". Did you try this?
     
  6. Feb 9, 2018 #5
    Yes, I did. Didn't work. I use Ubuntu 16.10, but I yesterday installed a new version 16.04.3 LTS, with the same problem!! It seems to happen on all Linux OSs on my computer. I checked the Flash Player, and it is deactivated and marked as vulnerable software or something, and I cannot activate or install it. I am not sure if this has anything to do with my problem!! I also tried different commands as it worked with some users, like

    Code (Text):
    pulseaudio -k
    killall pulseaudio
    but didn't work for me.
     
  7. Feb 9, 2018 #6

    QuantumQuest

    User Avatar
    Science Advisor
    Gold Member

    Did you try to install the adobe-flushplugin package? This is for both Firefox and Chromium like web browsers. In order to get it make sure that the Canonical partner repository is activated (there have been issues with errors related to old repositories so that's why I 'm pointing this out). Then run

    Code (Text):
    sudo apt-get install adobe-flashplugin
    .
     
  8. Feb 9, 2018 #7
    Yes, the Canonical Partners is checked. I tried to run this command before, it gives me the following error:

    Code (Text):
    E: Unable to locate package adobe-flashplugin
     
  9. Feb 9, 2018 #8

    QuantumQuest

    User Avatar
    Science Advisor
    Gold Member

    Do you have "canonical" in your "/etc/apt/sources.list"? Check and if not add the line

    Code (Text):
    deb http://archive.canonical.com/ubuntu yakkety partner
    Then run
    Code (Text):
    sudo apt update
     
    If you already have it then I would recommend to install all the multimedia plugins and libraries needed for .mp3 and video formats by running

    Code (Text):
    sudo apt-get install ubuntu-restricted-extras

     
    This will also install adobe flash player.
     
    Last edited: Feb 9, 2018
  10. Feb 9, 2018 #9
    How can I check "/etc/apt/sources.list"? I put this in the terminal and it gave me "Permission denied". Then I went to Software & Updates window, I checked the "other software" tap, there was canonical partner, and when I added

    Code (Text):
    deb http://archive.canonical.com/ubuntu yakkety partner
    it added (Source Code) at the end. So, I have duplicates now. Shall I remove one?

    Anyway, after that I tried to update using

    Code (Text):
    sudo apt update
    and I got a bunch of errors saying that

    Code (Text):
    X: The repository Y does not have a Release file
    with different Xs and Ys!! What does this mean?
     
  11. Feb 9, 2018 #10

    QuantumQuest

    User Avatar
    Science Advisor
    Gold Member

    You can open the "sources.list" file using some editor e.g. nano. Run

    Code (Text):
    sudo nano /etc/apt/sources.list
    Take note that before making any modification to your "sources.list" file you have to create a back up in order to be on the safe side. You can do this by running

    Code (Text):
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
    Alternately, if you try to add a line to the file from a terminal and get "Permission denied" you can run
    Code (Text):
    sudo su -c "echo 'deb http://archive.canonical.com/ubuntu yakkety partner' >> /etc/apt/sources.list"
    I have to point out that the method of using "su" is dangerous regarding grant of privileges so it is not to be used if there is no absolute need.

    One is enough.

    It has no files for your version.
     
    Last edited: Feb 9, 2018
  12. Feb 9, 2018 #11
    I checked the canonical and it was in the sources.list. Running the command

    Code (Text):
    sudo apt-get install ubuntu-restricted-extras
    gives me the following message:

    Code (Text):
    W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list: 2 and /etc/apt/sources.list: 7
    E: Unable to locate package ubuntu-restricted-extras
    What does this mean?
     
  13. Feb 9, 2018 #12

    QuantumQuest

    User Avatar
    Science Advisor
    Gold Member

    Did you add the line I mentioned in the "sources.list" file or there was already a duplicate in there? Also, I see that you've edited your last post - it was previously what I've quoted above. I say it because I see two typos there i.e. in
    Code (Text):
    Line2: deb-src http://archive.ubuntu.com/ubuntu yakkety main retricted

    Line7: deb http://archive.ubuntu.com/ubuntu yakkety main retricted
    the word "retrictred" instead of "restricted".

    Is it like that in your file or it was just a typo in the post?
     
    Last edited: Feb 9, 2018
  14. Feb 9, 2018 #13
    I didn't add anything to the sources.list. After I found the canonical line, I exited the file.

    My mistake, both are "restricted". Yes, they were typos in the post. I was typing the line manually. I edited my post, because I found out that the second line, namely

    Code (Text):
    Line7: deb http://archive.ubuntu.com/ubuntu yakkety main restricted
    is in fact line 6 not 7 in sources.list. Line 7 (again counting from the first line with a #, and the count includes empty lines) is

    Code (Text):
    deb-src http://archive.ubuntu.com/ubuntu yakkety universe multiverse main
     
  15. Feb 9, 2018 #14

    QuantumQuest

    User Avatar
    Science Advisor
    Gold Member

    So, are there any duplicates?
     
  16. Feb 9, 2018 #15
    I have these lines

    Code (Text):
    deb-src http://archive.ubuntu.com/ubuntu yakkety main restricted

    deb http://archive.ubuntu.com/ubuntu yakkety main restricted
    Are they duplicates because of -src in the first line?
     
  17. Feb 9, 2018 #16

    QuantumQuest

    User Avatar
    Science Advisor
    Gold Member

    They are not. The deb-src repos contain the source code files for the software which is in binary form in the deb repos.
     
  18. Feb 9, 2018 #17
    I don't see any identical lines. Now what can I do?
     
  19. Feb 9, 2018 #18

    QuantumQuest

    User Avatar
    Science Advisor
    Gold Member

    You can go to Ubuntu Software Center > edit > software sources and see in the "Ubuntu Software" tab if (main), (universe), (restricted), (multiverse) boxes are checked (if not check them) and in the "Other Software" tab do the same for Canonical Partners and Independent. Then run

    Code (Text):
    sudo apt-get update && sudo apt-get install ubuntu-restricted-extras
    and check if it solved the problem of getting the ubuntu-restricted-extras.
     
  20. Feb 9, 2018 #19
    In Ubuntu Software tab all are checked, even the Source Code (shall I remove this?). In Other Software tab the Canonical Partners is checked, but I don't have Independent!!
     
  21. Feb 9, 2018 #20

    QuantumQuest

    User Avatar
    Science Advisor
    Gold Member

    The source code is useful if you want to download it and compile it yourself so it's up to you if you need it or not.

    Never mind I talk based on one of my distros so no problem for Independent.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted