How to install h.264 decoder?












7














I tried playing videos in movie player but only the audio could be heard.
I tried playing the video with dragon player but here also only the audio could be heard.



A message box appeared showing the following message:




Python (v2.7) requires to install plugins to play media files of the following type: H.264 decoder




I tried installing the plugin but it couldn't be installed.
It isn't available in the software center too.
How can I get this plugin?










share|improve this question
























  • which video format you are trying to play?? and by the way have you installed Ubuntu-restricted-extras??
    – Sukupa91
    Dec 1 '13 at 17:34












  • m trying to play MPEG-4 video (video/mp4)
    – sonakshi
    Dec 2 '13 at 5:48










  • yes the restrictd packages are installd
    – sonakshi
    Dec 2 '13 at 5:48










  • install h264enc causing the error as mentioned by rajagenupula..
    – Sukupa91
    Dec 2 '13 at 5:50












  • The reader of this question might also want to have a look at the question askubuntu.com/q/214421/217269 (about multimedia decoders)
    – strpeter
    May 21 '14 at 11:26


















7














I tried playing videos in movie player but only the audio could be heard.
I tried playing the video with dragon player but here also only the audio could be heard.



A message box appeared showing the following message:




Python (v2.7) requires to install plugins to play media files of the following type: H.264 decoder




I tried installing the plugin but it couldn't be installed.
It isn't available in the software center too.
How can I get this plugin?










share|improve this question
























  • which video format you are trying to play?? and by the way have you installed Ubuntu-restricted-extras??
    – Sukupa91
    Dec 1 '13 at 17:34












  • m trying to play MPEG-4 video (video/mp4)
    – sonakshi
    Dec 2 '13 at 5:48










  • yes the restrictd packages are installd
    – sonakshi
    Dec 2 '13 at 5:48










  • install h264enc causing the error as mentioned by rajagenupula..
    – Sukupa91
    Dec 2 '13 at 5:50












  • The reader of this question might also want to have a look at the question askubuntu.com/q/214421/217269 (about multimedia decoders)
    – strpeter
    May 21 '14 at 11:26
















7












7








7


2





I tried playing videos in movie player but only the audio could be heard.
I tried playing the video with dragon player but here also only the audio could be heard.



A message box appeared showing the following message:




Python (v2.7) requires to install plugins to play media files of the following type: H.264 decoder




I tried installing the plugin but it couldn't be installed.
It isn't available in the software center too.
How can I get this plugin?










share|improve this question















I tried playing videos in movie player but only the audio could be heard.
I tried playing the video with dragon player but here also only the audio could be heard.



A message box appeared showing the following message:




Python (v2.7) requires to install plugins to play media files of the following type: H.264 decoder




I tried installing the plugin but it couldn't be installed.
It isn't available in the software center too.
How can I get this plugin?







12.04 video python-2.7 h264






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 21 '14 at 11:31









bain

9,08322942




9,08322942










asked Dec 1 '13 at 17:23









sonakshi

43116




43116












  • which video format you are trying to play?? and by the way have you installed Ubuntu-restricted-extras??
    – Sukupa91
    Dec 1 '13 at 17:34












  • m trying to play MPEG-4 video (video/mp4)
    – sonakshi
    Dec 2 '13 at 5:48










  • yes the restrictd packages are installd
    – sonakshi
    Dec 2 '13 at 5:48










  • install h264enc causing the error as mentioned by rajagenupula..
    – Sukupa91
    Dec 2 '13 at 5:50












  • The reader of this question might also want to have a look at the question askubuntu.com/q/214421/217269 (about multimedia decoders)
    – strpeter
    May 21 '14 at 11:26




















  • which video format you are trying to play?? and by the way have you installed Ubuntu-restricted-extras??
    – Sukupa91
    Dec 1 '13 at 17:34












  • m trying to play MPEG-4 video (video/mp4)
    – sonakshi
    Dec 2 '13 at 5:48










  • yes the restrictd packages are installd
    – sonakshi
    Dec 2 '13 at 5:48










  • install h264enc causing the error as mentioned by rajagenupula..
    – Sukupa91
    Dec 2 '13 at 5:50












  • The reader of this question might also want to have a look at the question askubuntu.com/q/214421/217269 (about multimedia decoders)
    – strpeter
    May 21 '14 at 11:26


















which video format you are trying to play?? and by the way have you installed Ubuntu-restricted-extras??
– Sukupa91
Dec 1 '13 at 17:34






which video format you are trying to play?? and by the way have you installed Ubuntu-restricted-extras??
– Sukupa91
Dec 1 '13 at 17:34














m trying to play MPEG-4 video (video/mp4)
– sonakshi
Dec 2 '13 at 5:48




m trying to play MPEG-4 video (video/mp4)
– sonakshi
Dec 2 '13 at 5:48












yes the restrictd packages are installd
– sonakshi
Dec 2 '13 at 5:48




yes the restrictd packages are installd
– sonakshi
Dec 2 '13 at 5:48












install h264enc causing the error as mentioned by rajagenupula..
– Sukupa91
Dec 2 '13 at 5:50






install h264enc causing the error as mentioned by rajagenupula..
– Sukupa91
Dec 2 '13 at 5:50














The reader of this question might also want to have a look at the question askubuntu.com/q/214421/217269 (about multimedia decoders)
– strpeter
May 21 '14 at 11:26






The reader of this question might also want to have a look at the question askubuntu.com/q/214421/217269 (about multimedia decoders)
– strpeter
May 21 '14 at 11:26












8 Answers
8






active

oldest

votes


















7














If you want only H.264 then



sudo apt-get install h264enc


will install H.264 in your system.






share|improve this answer





















  • i tried aftr d whole procedure,postfix configuration popped up..but nothing hapened
    – sonakshi
    Dec 2 '13 at 7:57






  • 4




    Isn't this the encoder, not the decoder?
    – HarlemSquirrel
    Dec 11 '13 at 20:30










  • h264enc is "A shell script which makes it easy to encode DVDs or video files to the H.264/AVC/MPEG-4 Part 10 video format using MEncoder from the MPlayer project". That doesn't sound like the codec that's wanted, but converting the videos might be a fallback option.
    – mc0e
    Feb 21 '16 at 15:21










  • Tried sudo apt-get install h264enc, but Ubuntu says it is not available. Tried apt-cache search h264enc but got nothing.
    – Craig S. Anderson
    Jan 30 '18 at 20:07










  • @CraigS.Anderson make sure you have "multiverse" repository enabled. packages.ubuntu.com/search?keywords=h264enc
    – rɑːdʒɑ
    Jan 31 '18 at 4:26



















6














In order to play h.264 encoded videos the corresponding decoder comes with the following library:



apt install gstreamer1.0-libav





share|improve this answer





























    3














    I think this is part of the package gstreamer-plugins-bad. If you search for this in Software Center it should show up. It might be that you have to activate the multiverse repository (start Software & Sources and tick the appropriate box for this).



    After you have installed the package, Movie Player should be able to play the file.






    share|improve this answer





















    • the gstreamer-plugin that u mentiond is n being able to b instald..it shows some eror like this isnt availble in ur software
      – sonakshi
      Dec 2 '13 at 5:49










    • i tried something and now finally i can c d video...thnx alot everyone for ur help..:)
      – sonakshi
      Dec 2 '13 at 8:08










    • The package was probably not available because you hadn't activated the multiverse repository, as I wrote you might have to do :)
      – foh1981
      Dec 3 '13 at 0:04



















    3














    Installing gstreamer0.10-ffmpeg from a PPA as described below solved this for me.



    sudo add-apt-repository ppa:mc3man/trusty-media
    sudo apt-get update
    sudo apt-get install gstreamer0.10-ffmpeg





    share|improve this answer































      1














      The package that fixed it for me on 16.04 is the gstreamer plugins bad.
      I got a message about Python-3.5 minimal wanting to install some MPEG-4 AAC plugin, which did not do anything. To fix:
      In a terminal type:



      sudo apt-get install gstreamer1.0-plugins-bad


      If you still can't get it to work somehow, you can try VLC as a workaround, installable by:



      sudo apt-get install vlc


      I did not unclick the restricted software, that may work but may disable other codecs.
      By the way, movie player or Video is the Totem video player.






      share|improve this answer





























        1














        Following this video (https://www.youtube.com/watch?v=Vk5viMViSXk) worked for me. Now, I am able to play and seek forward/backward h264 files created by my Chinese IP Camera.



        To sum up:




        • Open VLC.


        • Go to: Tools/Preferences. Select Show settings: `All'


        • In Input / Codecs / Demuxers, select Demux module as h264 video demuxer. Save and restart VLC.



        Now you should be able to play h264 file.






        share|improve this answer























        • thank. its works.
          – Yosi Azwan
          Dec 27 '18 at 6:17



















        0














        I had the same problem with playing videos. Video player wanted to download mpeg - 4 acc decoder and h.264 decoder, but this hadn`t happened due to legal reasons (-if I understand correctly what was written in the window what appears after pc was trying to download mentioned programs).



        After I unclicked Software & updates -> Ubuntu software -> "unclick" Software restricted by copyright or legal issues (multiverse) all start working again. (I mean that after this operation pc downloads what he needed and that it started working).






        share|improve this answer





























          0














          The audio-only gstreamer bug can easily be resolved



          Hearing only audio on H.264 playback with an otherwise black video screen was reported as gstreamer1.0 bug #1562875.



          Luckily, this bug can easily be resolved by issuing the following command once:



          $ rm -R ~/.cache/gstreamer-1.0


          This will take effect after restarting the application.






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f384650%2fhow-to-install-h-264-decoder%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            8 Answers
            8






            active

            oldest

            votes








            8 Answers
            8






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            7














            If you want only H.264 then



            sudo apt-get install h264enc


            will install H.264 in your system.






            share|improve this answer





















            • i tried aftr d whole procedure,postfix configuration popped up..but nothing hapened
              – sonakshi
              Dec 2 '13 at 7:57






            • 4




              Isn't this the encoder, not the decoder?
              – HarlemSquirrel
              Dec 11 '13 at 20:30










            • h264enc is "A shell script which makes it easy to encode DVDs or video files to the H.264/AVC/MPEG-4 Part 10 video format using MEncoder from the MPlayer project". That doesn't sound like the codec that's wanted, but converting the videos might be a fallback option.
              – mc0e
              Feb 21 '16 at 15:21










            • Tried sudo apt-get install h264enc, but Ubuntu says it is not available. Tried apt-cache search h264enc but got nothing.
              – Craig S. Anderson
              Jan 30 '18 at 20:07










            • @CraigS.Anderson make sure you have "multiverse" repository enabled. packages.ubuntu.com/search?keywords=h264enc
              – rɑːdʒɑ
              Jan 31 '18 at 4:26
















            7














            If you want only H.264 then



            sudo apt-get install h264enc


            will install H.264 in your system.






            share|improve this answer





















            • i tried aftr d whole procedure,postfix configuration popped up..but nothing hapened
              – sonakshi
              Dec 2 '13 at 7:57






            • 4




              Isn't this the encoder, not the decoder?
              – HarlemSquirrel
              Dec 11 '13 at 20:30










            • h264enc is "A shell script which makes it easy to encode DVDs or video files to the H.264/AVC/MPEG-4 Part 10 video format using MEncoder from the MPlayer project". That doesn't sound like the codec that's wanted, but converting the videos might be a fallback option.
              – mc0e
              Feb 21 '16 at 15:21










            • Tried sudo apt-get install h264enc, but Ubuntu says it is not available. Tried apt-cache search h264enc but got nothing.
              – Craig S. Anderson
              Jan 30 '18 at 20:07










            • @CraigS.Anderson make sure you have "multiverse" repository enabled. packages.ubuntu.com/search?keywords=h264enc
              – rɑːdʒɑ
              Jan 31 '18 at 4:26














            7












            7








            7






            If you want only H.264 then



            sudo apt-get install h264enc


            will install H.264 in your system.






            share|improve this answer












            If you want only H.264 then



            sudo apt-get install h264enc


            will install H.264 in your system.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 1 '13 at 17:38









            rɑːdʒɑ

            56.9k84216301




            56.9k84216301












            • i tried aftr d whole procedure,postfix configuration popped up..but nothing hapened
              – sonakshi
              Dec 2 '13 at 7:57






            • 4




              Isn't this the encoder, not the decoder?
              – HarlemSquirrel
              Dec 11 '13 at 20:30










            • h264enc is "A shell script which makes it easy to encode DVDs or video files to the H.264/AVC/MPEG-4 Part 10 video format using MEncoder from the MPlayer project". That doesn't sound like the codec that's wanted, but converting the videos might be a fallback option.
              – mc0e
              Feb 21 '16 at 15:21










            • Tried sudo apt-get install h264enc, but Ubuntu says it is not available. Tried apt-cache search h264enc but got nothing.
              – Craig S. Anderson
              Jan 30 '18 at 20:07










            • @CraigS.Anderson make sure you have "multiverse" repository enabled. packages.ubuntu.com/search?keywords=h264enc
              – rɑːdʒɑ
              Jan 31 '18 at 4:26


















            • i tried aftr d whole procedure,postfix configuration popped up..but nothing hapened
              – sonakshi
              Dec 2 '13 at 7:57






            • 4




              Isn't this the encoder, not the decoder?
              – HarlemSquirrel
              Dec 11 '13 at 20:30










            • h264enc is "A shell script which makes it easy to encode DVDs or video files to the H.264/AVC/MPEG-4 Part 10 video format using MEncoder from the MPlayer project". That doesn't sound like the codec that's wanted, but converting the videos might be a fallback option.
              – mc0e
              Feb 21 '16 at 15:21










            • Tried sudo apt-get install h264enc, but Ubuntu says it is not available. Tried apt-cache search h264enc but got nothing.
              – Craig S. Anderson
              Jan 30 '18 at 20:07










            • @CraigS.Anderson make sure you have "multiverse" repository enabled. packages.ubuntu.com/search?keywords=h264enc
              – rɑːdʒɑ
              Jan 31 '18 at 4:26
















            i tried aftr d whole procedure,postfix configuration popped up..but nothing hapened
            – sonakshi
            Dec 2 '13 at 7:57




            i tried aftr d whole procedure,postfix configuration popped up..but nothing hapened
            – sonakshi
            Dec 2 '13 at 7:57




            4




            4




            Isn't this the encoder, not the decoder?
            – HarlemSquirrel
            Dec 11 '13 at 20:30




            Isn't this the encoder, not the decoder?
            – HarlemSquirrel
            Dec 11 '13 at 20:30












            h264enc is "A shell script which makes it easy to encode DVDs or video files to the H.264/AVC/MPEG-4 Part 10 video format using MEncoder from the MPlayer project". That doesn't sound like the codec that's wanted, but converting the videos might be a fallback option.
            – mc0e
            Feb 21 '16 at 15:21




            h264enc is "A shell script which makes it easy to encode DVDs or video files to the H.264/AVC/MPEG-4 Part 10 video format using MEncoder from the MPlayer project". That doesn't sound like the codec that's wanted, but converting the videos might be a fallback option.
            – mc0e
            Feb 21 '16 at 15:21












            Tried sudo apt-get install h264enc, but Ubuntu says it is not available. Tried apt-cache search h264enc but got nothing.
            – Craig S. Anderson
            Jan 30 '18 at 20:07




            Tried sudo apt-get install h264enc, but Ubuntu says it is not available. Tried apt-cache search h264enc but got nothing.
            – Craig S. Anderson
            Jan 30 '18 at 20:07












            @CraigS.Anderson make sure you have "multiverse" repository enabled. packages.ubuntu.com/search?keywords=h264enc
            – rɑːdʒɑ
            Jan 31 '18 at 4:26




            @CraigS.Anderson make sure you have "multiverse" repository enabled. packages.ubuntu.com/search?keywords=h264enc
            – rɑːdʒɑ
            Jan 31 '18 at 4:26













            6














            In order to play h.264 encoded videos the corresponding decoder comes with the following library:



            apt install gstreamer1.0-libav





            share|improve this answer


























              6














              In order to play h.264 encoded videos the corresponding decoder comes with the following library:



              apt install gstreamer1.0-libav





              share|improve this answer
























                6












                6








                6






                In order to play h.264 encoded videos the corresponding decoder comes with the following library:



                apt install gstreamer1.0-libav





                share|improve this answer












                In order to play h.264 encoded videos the corresponding decoder comes with the following library:



                apt install gstreamer1.0-libav






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 27 '16 at 13:03









                Sebastian

                6111




                6111























                    3














                    I think this is part of the package gstreamer-plugins-bad. If you search for this in Software Center it should show up. It might be that you have to activate the multiverse repository (start Software & Sources and tick the appropriate box for this).



                    After you have installed the package, Movie Player should be able to play the file.






                    share|improve this answer





















                    • the gstreamer-plugin that u mentiond is n being able to b instald..it shows some eror like this isnt availble in ur software
                      – sonakshi
                      Dec 2 '13 at 5:49










                    • i tried something and now finally i can c d video...thnx alot everyone for ur help..:)
                      – sonakshi
                      Dec 2 '13 at 8:08










                    • The package was probably not available because you hadn't activated the multiverse repository, as I wrote you might have to do :)
                      – foh1981
                      Dec 3 '13 at 0:04
















                    3














                    I think this is part of the package gstreamer-plugins-bad. If you search for this in Software Center it should show up. It might be that you have to activate the multiverse repository (start Software & Sources and tick the appropriate box for this).



                    After you have installed the package, Movie Player should be able to play the file.






                    share|improve this answer





















                    • the gstreamer-plugin that u mentiond is n being able to b instald..it shows some eror like this isnt availble in ur software
                      – sonakshi
                      Dec 2 '13 at 5:49










                    • i tried something and now finally i can c d video...thnx alot everyone for ur help..:)
                      – sonakshi
                      Dec 2 '13 at 8:08










                    • The package was probably not available because you hadn't activated the multiverse repository, as I wrote you might have to do :)
                      – foh1981
                      Dec 3 '13 at 0:04














                    3












                    3








                    3






                    I think this is part of the package gstreamer-plugins-bad. If you search for this in Software Center it should show up. It might be that you have to activate the multiverse repository (start Software & Sources and tick the appropriate box for this).



                    After you have installed the package, Movie Player should be able to play the file.






                    share|improve this answer












                    I think this is part of the package gstreamer-plugins-bad. If you search for this in Software Center it should show up. It might be that you have to activate the multiverse repository (start Software & Sources and tick the appropriate box for this).



                    After you have installed the package, Movie Player should be able to play the file.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Dec 1 '13 at 17:28









                    foh1981

                    321112




                    321112












                    • the gstreamer-plugin that u mentiond is n being able to b instald..it shows some eror like this isnt availble in ur software
                      – sonakshi
                      Dec 2 '13 at 5:49










                    • i tried something and now finally i can c d video...thnx alot everyone for ur help..:)
                      – sonakshi
                      Dec 2 '13 at 8:08










                    • The package was probably not available because you hadn't activated the multiverse repository, as I wrote you might have to do :)
                      – foh1981
                      Dec 3 '13 at 0:04


















                    • the gstreamer-plugin that u mentiond is n being able to b instald..it shows some eror like this isnt availble in ur software
                      – sonakshi
                      Dec 2 '13 at 5:49










                    • i tried something and now finally i can c d video...thnx alot everyone for ur help..:)
                      – sonakshi
                      Dec 2 '13 at 8:08










                    • The package was probably not available because you hadn't activated the multiverse repository, as I wrote you might have to do :)
                      – foh1981
                      Dec 3 '13 at 0:04
















                    the gstreamer-plugin that u mentiond is n being able to b instald..it shows some eror like this isnt availble in ur software
                    – sonakshi
                    Dec 2 '13 at 5:49




                    the gstreamer-plugin that u mentiond is n being able to b instald..it shows some eror like this isnt availble in ur software
                    – sonakshi
                    Dec 2 '13 at 5:49












                    i tried something and now finally i can c d video...thnx alot everyone for ur help..:)
                    – sonakshi
                    Dec 2 '13 at 8:08




                    i tried something and now finally i can c d video...thnx alot everyone for ur help..:)
                    – sonakshi
                    Dec 2 '13 at 8:08












                    The package was probably not available because you hadn't activated the multiverse repository, as I wrote you might have to do :)
                    – foh1981
                    Dec 3 '13 at 0:04




                    The package was probably not available because you hadn't activated the multiverse repository, as I wrote you might have to do :)
                    – foh1981
                    Dec 3 '13 at 0:04











                    3














                    Installing gstreamer0.10-ffmpeg from a PPA as described below solved this for me.



                    sudo add-apt-repository ppa:mc3man/trusty-media
                    sudo apt-get update
                    sudo apt-get install gstreamer0.10-ffmpeg





                    share|improve this answer




























                      3














                      Installing gstreamer0.10-ffmpeg from a PPA as described below solved this for me.



                      sudo add-apt-repository ppa:mc3man/trusty-media
                      sudo apt-get update
                      sudo apt-get install gstreamer0.10-ffmpeg





                      share|improve this answer


























                        3












                        3








                        3






                        Installing gstreamer0.10-ffmpeg from a PPA as described below solved this for me.



                        sudo add-apt-repository ppa:mc3man/trusty-media
                        sudo apt-get update
                        sudo apt-get install gstreamer0.10-ffmpeg





                        share|improve this answer














                        Installing gstreamer0.10-ffmpeg from a PPA as described below solved this for me.



                        sudo add-apt-repository ppa:mc3man/trusty-media
                        sudo apt-get update
                        sudo apt-get install gstreamer0.10-ffmpeg






                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Jul 17 '15 at 8:44









                        A.B.

                        67.9k12164254




                        67.9k12164254










                        answered Mar 21 '15 at 6:40









                        Ibungo

                        23226




                        23226























                            1














                            The package that fixed it for me on 16.04 is the gstreamer plugins bad.
                            I got a message about Python-3.5 minimal wanting to install some MPEG-4 AAC plugin, which did not do anything. To fix:
                            In a terminal type:



                            sudo apt-get install gstreamer1.0-plugins-bad


                            If you still can't get it to work somehow, you can try VLC as a workaround, installable by:



                            sudo apt-get install vlc


                            I did not unclick the restricted software, that may work but may disable other codecs.
                            By the way, movie player or Video is the Totem video player.






                            share|improve this answer


























                              1














                              The package that fixed it for me on 16.04 is the gstreamer plugins bad.
                              I got a message about Python-3.5 minimal wanting to install some MPEG-4 AAC plugin, which did not do anything. To fix:
                              In a terminal type:



                              sudo apt-get install gstreamer1.0-plugins-bad


                              If you still can't get it to work somehow, you can try VLC as a workaround, installable by:



                              sudo apt-get install vlc


                              I did not unclick the restricted software, that may work but may disable other codecs.
                              By the way, movie player or Video is the Totem video player.






                              share|improve this answer
























                                1












                                1








                                1






                                The package that fixed it for me on 16.04 is the gstreamer plugins bad.
                                I got a message about Python-3.5 minimal wanting to install some MPEG-4 AAC plugin, which did not do anything. To fix:
                                In a terminal type:



                                sudo apt-get install gstreamer1.0-plugins-bad


                                If you still can't get it to work somehow, you can try VLC as a workaround, installable by:



                                sudo apt-get install vlc


                                I did not unclick the restricted software, that may work but may disable other codecs.
                                By the way, movie player or Video is the Totem video player.






                                share|improve this answer












                                The package that fixed it for me on 16.04 is the gstreamer plugins bad.
                                I got a message about Python-3.5 minimal wanting to install some MPEG-4 AAC plugin, which did not do anything. To fix:
                                In a terminal type:



                                sudo apt-get install gstreamer1.0-plugins-bad


                                If you still can't get it to work somehow, you can try VLC as a workaround, installable by:



                                sudo apt-get install vlc


                                I did not unclick the restricted software, that may work but may disable other codecs.
                                By the way, movie player or Video is the Totem video player.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Dec 5 '16 at 11:48









                                Vincent Gerris

                                68459




                                68459























                                    1














                                    Following this video (https://www.youtube.com/watch?v=Vk5viMViSXk) worked for me. Now, I am able to play and seek forward/backward h264 files created by my Chinese IP Camera.



                                    To sum up:




                                    • Open VLC.


                                    • Go to: Tools/Preferences. Select Show settings: `All'


                                    • In Input / Codecs / Demuxers, select Demux module as h264 video demuxer. Save and restart VLC.



                                    Now you should be able to play h264 file.






                                    share|improve this answer























                                    • thank. its works.
                                      – Yosi Azwan
                                      Dec 27 '18 at 6:17
















                                    1














                                    Following this video (https://www.youtube.com/watch?v=Vk5viMViSXk) worked for me. Now, I am able to play and seek forward/backward h264 files created by my Chinese IP Camera.



                                    To sum up:




                                    • Open VLC.


                                    • Go to: Tools/Preferences. Select Show settings: `All'


                                    • In Input / Codecs / Demuxers, select Demux module as h264 video demuxer. Save and restart VLC.



                                    Now you should be able to play h264 file.






                                    share|improve this answer























                                    • thank. its works.
                                      – Yosi Azwan
                                      Dec 27 '18 at 6:17














                                    1












                                    1








                                    1






                                    Following this video (https://www.youtube.com/watch?v=Vk5viMViSXk) worked for me. Now, I am able to play and seek forward/backward h264 files created by my Chinese IP Camera.



                                    To sum up:




                                    • Open VLC.


                                    • Go to: Tools/Preferences. Select Show settings: `All'


                                    • In Input / Codecs / Demuxers, select Demux module as h264 video demuxer. Save and restart VLC.



                                    Now you should be able to play h264 file.






                                    share|improve this answer














                                    Following this video (https://www.youtube.com/watch?v=Vk5viMViSXk) worked for me. Now, I am able to play and seek forward/backward h264 files created by my Chinese IP Camera.



                                    To sum up:




                                    • Open VLC.


                                    • Go to: Tools/Preferences. Select Show settings: `All'


                                    • In Input / Codecs / Demuxers, select Demux module as h264 video demuxer. Save and restart VLC.



                                    Now you should be able to play h264 file.







                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited Dec 27 '18 at 7:19

























                                    answered Dec 17 '16 at 0:59









                                    Hieu

                                    37138




                                    37138












                                    • thank. its works.
                                      – Yosi Azwan
                                      Dec 27 '18 at 6:17


















                                    • thank. its works.
                                      – Yosi Azwan
                                      Dec 27 '18 at 6:17
















                                    thank. its works.
                                    – Yosi Azwan
                                    Dec 27 '18 at 6:17




                                    thank. its works.
                                    – Yosi Azwan
                                    Dec 27 '18 at 6:17











                                    0














                                    I had the same problem with playing videos. Video player wanted to download mpeg - 4 acc decoder and h.264 decoder, but this hadn`t happened due to legal reasons (-if I understand correctly what was written in the window what appears after pc was trying to download mentioned programs).



                                    After I unclicked Software & updates -> Ubuntu software -> "unclick" Software restricted by copyright or legal issues (multiverse) all start working again. (I mean that after this operation pc downloads what he needed and that it started working).






                                    share|improve this answer


























                                      0














                                      I had the same problem with playing videos. Video player wanted to download mpeg - 4 acc decoder and h.264 decoder, but this hadn`t happened due to legal reasons (-if I understand correctly what was written in the window what appears after pc was trying to download mentioned programs).



                                      After I unclicked Software & updates -> Ubuntu software -> "unclick" Software restricted by copyright or legal issues (multiverse) all start working again. (I mean that after this operation pc downloads what he needed and that it started working).






                                      share|improve this answer
























                                        0












                                        0








                                        0






                                        I had the same problem with playing videos. Video player wanted to download mpeg - 4 acc decoder and h.264 decoder, but this hadn`t happened due to legal reasons (-if I understand correctly what was written in the window what appears after pc was trying to download mentioned programs).



                                        After I unclicked Software & updates -> Ubuntu software -> "unclick" Software restricted by copyright or legal issues (multiverse) all start working again. (I mean that after this operation pc downloads what he needed and that it started working).






                                        share|improve this answer












                                        I had the same problem with playing videos. Video player wanted to download mpeg - 4 acc decoder and h.264 decoder, but this hadn`t happened due to legal reasons (-if I understand correctly what was written in the window what appears after pc was trying to download mentioned programs).



                                        After I unclicked Software & updates -> Ubuntu software -> "unclick" Software restricted by copyright or legal issues (multiverse) all start working again. (I mean that after this operation pc downloads what he needed and that it started working).







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Jul 17 '15 at 8:34









                                        Andrii Rozrutskyi

                                        1




                                        1























                                            0














                                            The audio-only gstreamer bug can easily be resolved



                                            Hearing only audio on H.264 playback with an otherwise black video screen was reported as gstreamer1.0 bug #1562875.



                                            Luckily, this bug can easily be resolved by issuing the following command once:



                                            $ rm -R ~/.cache/gstreamer-1.0


                                            This will take effect after restarting the application.






                                            share|improve this answer


























                                              0














                                              The audio-only gstreamer bug can easily be resolved



                                              Hearing only audio on H.264 playback with an otherwise black video screen was reported as gstreamer1.0 bug #1562875.



                                              Luckily, this bug can easily be resolved by issuing the following command once:



                                              $ rm -R ~/.cache/gstreamer-1.0


                                              This will take effect after restarting the application.






                                              share|improve this answer
























                                                0












                                                0








                                                0






                                                The audio-only gstreamer bug can easily be resolved



                                                Hearing only audio on H.264 playback with an otherwise black video screen was reported as gstreamer1.0 bug #1562875.



                                                Luckily, this bug can easily be resolved by issuing the following command once:



                                                $ rm -R ~/.cache/gstreamer-1.0


                                                This will take effect after restarting the application.






                                                share|improve this answer












                                                The audio-only gstreamer bug can easily be resolved



                                                Hearing only audio on H.264 playback with an otherwise black video screen was reported as gstreamer1.0 bug #1562875.



                                                Luckily, this bug can easily be resolved by issuing the following command once:



                                                $ rm -R ~/.cache/gstreamer-1.0


                                                This will take effect after restarting the application.







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Oct 30 '16 at 20:56









                                                Serge Stroobandt

                                                2,0021833




                                                2,0021833






























                                                    draft saved

                                                    draft discarded




















































                                                    Thanks for contributing an answer to Ask Ubuntu!


                                                    • Please be sure to answer the question. Provide details and share your research!

                                                    But avoid



                                                    • Asking for help, clarification, or responding to other answers.

                                                    • Making statements based on opinion; back them up with references or personal experience.


                                                    To learn more, see our tips on writing great answers.





                                                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                                    Please pay close attention to the following guidance:


                                                    • Please be sure to answer the question. Provide details and share your research!

                                                    But avoid



                                                    • Asking for help, clarification, or responding to other answers.

                                                    • Making statements based on opinion; back them up with references or personal experience.


                                                    To learn more, see our tips on writing great answers.




                                                    draft saved


                                                    draft discarded














                                                    StackExchange.ready(
                                                    function () {
                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f384650%2fhow-to-install-h-264-decoder%23new-answer', 'question_page');
                                                    }
                                                    );

                                                    Post as a guest















                                                    Required, but never shown





















































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown

































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown







                                                    Popular posts from this blog

                                                    How did Captain America manage to do this?

                                                    迪纳利

                                                    南乌拉尔铁路局