How to play h264 encoded videos with Totem?












2















I can play some mkv videos but some others can't play. Why? I don't want to install ubuntu-restricted-extras cause it brings Adobe Flash that has not been supported again and it is the old version. And it is not easy to uninstall.



enter image description here










share|improve this question

























  • What do you mean it's not easy to uninstall? It is...

    – RolandiXor
    Jun 16 '13 at 0:01











  • sorry my english is not good. I am an Indonesian. once I install adobe flash plugin, it can't be uninstalled properly. maybe it deny to be removed.

    – obysr
    Jun 16 '13 at 0:28
















2















I can play some mkv videos but some others can't play. Why? I don't want to install ubuntu-restricted-extras cause it brings Adobe Flash that has not been supported again and it is the old version. And it is not easy to uninstall.



enter image description here










share|improve this question

























  • What do you mean it's not easy to uninstall? It is...

    – RolandiXor
    Jun 16 '13 at 0:01











  • sorry my english is not good. I am an Indonesian. once I install adobe flash plugin, it can't be uninstalled properly. maybe it deny to be removed.

    – obysr
    Jun 16 '13 at 0:28














2












2








2








I can play some mkv videos but some others can't play. Why? I don't want to install ubuntu-restricted-extras cause it brings Adobe Flash that has not been supported again and it is the old version. And it is not easy to uninstall.



enter image description here










share|improve this question
















I can play some mkv videos but some others can't play. Why? I don't want to install ubuntu-restricted-extras cause it brings Adobe Flash that has not been supported again and it is the old version. And it is not easy to uninstall.



enter image description here







totem gstreamer






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 1 '14 at 19:27









Braiam

52k20136222




52k20136222










asked Jun 15 '13 at 22:54









obysrobysr

39051226




39051226













  • What do you mean it's not easy to uninstall? It is...

    – RolandiXor
    Jun 16 '13 at 0:01











  • sorry my english is not good. I am an Indonesian. once I install adobe flash plugin, it can't be uninstalled properly. maybe it deny to be removed.

    – obysr
    Jun 16 '13 at 0:28



















  • What do you mean it's not easy to uninstall? It is...

    – RolandiXor
    Jun 16 '13 at 0:01











  • sorry my english is not good. I am an Indonesian. once I install adobe flash plugin, it can't be uninstalled properly. maybe it deny to be removed.

    – obysr
    Jun 16 '13 at 0:28

















What do you mean it's not easy to uninstall? It is...

– RolandiXor
Jun 16 '13 at 0:01





What do you mean it's not easy to uninstall? It is...

– RolandiXor
Jun 16 '13 at 0:01













sorry my english is not good. I am an Indonesian. once I install adobe flash plugin, it can't be uninstalled properly. maybe it deny to be removed.

– obysr
Jun 16 '13 at 0:28





sorry my english is not good. I am an Indonesian. once I install adobe flash plugin, it can't be uninstalled properly. maybe it deny to be removed.

– obysr
Jun 16 '13 at 0:28










1 Answer
1






active

oldest

votes


















0














You just have to install the gstreamer ugly plugins that includes the h264 codecs:



➜  ~  apt-cache show gstreamer1.0-plugins-ugly | grep Gstreamer-Encoders
Gstreamer-Encoders: audio/AMR; audio/mpeg, mpegversion=(int)1, layer=(int){ 3, 2 };
video/x-h264, stream-format=(string){ avc, byte-stream },
alignment=(string)au, profile=(string){ high-4:4:4, high-4:2:2, high-10,
high, main, baseline, constrained-baseline, high-4:4:4-intra, high-4:2:2-intra, high-10-intra }


So, just run:



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


or



sudo apt-get install gstreamer0.10-plugins-ugly


and it's done. You don't need to install anything else, nor use the ubuntu-restricted-extras package.






share|improve this answer
























  • h.264 decoding is done for gstreamer apps via the libav or ffmpeg plugins. Some older versions were unable to decode High 4:4:4 Predictive which has been the default for the real FFmpeg for some time. (though no longer the case for recent gst libav plugins. This may have been the orig. posters issue, may of not, hard to tell at this point..

    – doug
    May 1 '14 at 21:03











  • @doug weird, for 1.0 Gstreamer the gstreamer plugin page states support for the h264 high-4:4:4 and high-4:4:4-intra. Nothing about predictive :/.

    – Braiam
    May 1 '14 at 21:11











  • Braiam - your right - I went back & checked my old bug report on this. It was in 13.04 but only during the dev, at some point High 4:4:4 Predictive started working again, sorry about that.

    – doug
    May 1 '14 at 22:21











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%2f308666%2fhow-to-play-h264-encoded-videos-with-totem%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You just have to install the gstreamer ugly plugins that includes the h264 codecs:



➜  ~  apt-cache show gstreamer1.0-plugins-ugly | grep Gstreamer-Encoders
Gstreamer-Encoders: audio/AMR; audio/mpeg, mpegversion=(int)1, layer=(int){ 3, 2 };
video/x-h264, stream-format=(string){ avc, byte-stream },
alignment=(string)au, profile=(string){ high-4:4:4, high-4:2:2, high-10,
high, main, baseline, constrained-baseline, high-4:4:4-intra, high-4:2:2-intra, high-10-intra }


So, just run:



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


or



sudo apt-get install gstreamer0.10-plugins-ugly


and it's done. You don't need to install anything else, nor use the ubuntu-restricted-extras package.






share|improve this answer
























  • h.264 decoding is done for gstreamer apps via the libav or ffmpeg plugins. Some older versions were unable to decode High 4:4:4 Predictive which has been the default for the real FFmpeg for some time. (though no longer the case for recent gst libav plugins. This may have been the orig. posters issue, may of not, hard to tell at this point..

    – doug
    May 1 '14 at 21:03











  • @doug weird, for 1.0 Gstreamer the gstreamer plugin page states support for the h264 high-4:4:4 and high-4:4:4-intra. Nothing about predictive :/.

    – Braiam
    May 1 '14 at 21:11











  • Braiam - your right - I went back & checked my old bug report on this. It was in 13.04 but only during the dev, at some point High 4:4:4 Predictive started working again, sorry about that.

    – doug
    May 1 '14 at 22:21
















0














You just have to install the gstreamer ugly plugins that includes the h264 codecs:



➜  ~  apt-cache show gstreamer1.0-plugins-ugly | grep Gstreamer-Encoders
Gstreamer-Encoders: audio/AMR; audio/mpeg, mpegversion=(int)1, layer=(int){ 3, 2 };
video/x-h264, stream-format=(string){ avc, byte-stream },
alignment=(string)au, profile=(string){ high-4:4:4, high-4:2:2, high-10,
high, main, baseline, constrained-baseline, high-4:4:4-intra, high-4:2:2-intra, high-10-intra }


So, just run:



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


or



sudo apt-get install gstreamer0.10-plugins-ugly


and it's done. You don't need to install anything else, nor use the ubuntu-restricted-extras package.






share|improve this answer
























  • h.264 decoding is done for gstreamer apps via the libav or ffmpeg plugins. Some older versions were unable to decode High 4:4:4 Predictive which has been the default for the real FFmpeg for some time. (though no longer the case for recent gst libav plugins. This may have been the orig. posters issue, may of not, hard to tell at this point..

    – doug
    May 1 '14 at 21:03











  • @doug weird, for 1.0 Gstreamer the gstreamer plugin page states support for the h264 high-4:4:4 and high-4:4:4-intra. Nothing about predictive :/.

    – Braiam
    May 1 '14 at 21:11











  • Braiam - your right - I went back & checked my old bug report on this. It was in 13.04 but only during the dev, at some point High 4:4:4 Predictive started working again, sorry about that.

    – doug
    May 1 '14 at 22:21














0












0








0







You just have to install the gstreamer ugly plugins that includes the h264 codecs:



➜  ~  apt-cache show gstreamer1.0-plugins-ugly | grep Gstreamer-Encoders
Gstreamer-Encoders: audio/AMR; audio/mpeg, mpegversion=(int)1, layer=(int){ 3, 2 };
video/x-h264, stream-format=(string){ avc, byte-stream },
alignment=(string)au, profile=(string){ high-4:4:4, high-4:2:2, high-10,
high, main, baseline, constrained-baseline, high-4:4:4-intra, high-4:2:2-intra, high-10-intra }


So, just run:



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


or



sudo apt-get install gstreamer0.10-plugins-ugly


and it's done. You don't need to install anything else, nor use the ubuntu-restricted-extras package.






share|improve this answer













You just have to install the gstreamer ugly plugins that includes the h264 codecs:



➜  ~  apt-cache show gstreamer1.0-plugins-ugly | grep Gstreamer-Encoders
Gstreamer-Encoders: audio/AMR; audio/mpeg, mpegversion=(int)1, layer=(int){ 3, 2 };
video/x-h264, stream-format=(string){ avc, byte-stream },
alignment=(string)au, profile=(string){ high-4:4:4, high-4:2:2, high-10,
high, main, baseline, constrained-baseline, high-4:4:4-intra, high-4:2:2-intra, high-10-intra }


So, just run:



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


or



sudo apt-get install gstreamer0.10-plugins-ugly


and it's done. You don't need to install anything else, nor use the ubuntu-restricted-extras package.







share|improve this answer












share|improve this answer



share|improve this answer










answered May 1 '14 at 19:03









BraiamBraiam

52k20136222




52k20136222













  • h.264 decoding is done for gstreamer apps via the libav or ffmpeg plugins. Some older versions were unable to decode High 4:4:4 Predictive which has been the default for the real FFmpeg for some time. (though no longer the case for recent gst libav plugins. This may have been the orig. posters issue, may of not, hard to tell at this point..

    – doug
    May 1 '14 at 21:03











  • @doug weird, for 1.0 Gstreamer the gstreamer plugin page states support for the h264 high-4:4:4 and high-4:4:4-intra. Nothing about predictive :/.

    – Braiam
    May 1 '14 at 21:11











  • Braiam - your right - I went back & checked my old bug report on this. It was in 13.04 but only during the dev, at some point High 4:4:4 Predictive started working again, sorry about that.

    – doug
    May 1 '14 at 22:21



















  • h.264 decoding is done for gstreamer apps via the libav or ffmpeg plugins. Some older versions were unable to decode High 4:4:4 Predictive which has been the default for the real FFmpeg for some time. (though no longer the case for recent gst libav plugins. This may have been the orig. posters issue, may of not, hard to tell at this point..

    – doug
    May 1 '14 at 21:03











  • @doug weird, for 1.0 Gstreamer the gstreamer plugin page states support for the h264 high-4:4:4 and high-4:4:4-intra. Nothing about predictive :/.

    – Braiam
    May 1 '14 at 21:11











  • Braiam - your right - I went back & checked my old bug report on this. It was in 13.04 but only during the dev, at some point High 4:4:4 Predictive started working again, sorry about that.

    – doug
    May 1 '14 at 22:21

















h.264 decoding is done for gstreamer apps via the libav or ffmpeg plugins. Some older versions were unable to decode High 4:4:4 Predictive which has been the default for the real FFmpeg for some time. (though no longer the case for recent gst libav plugins. This may have been the orig. posters issue, may of not, hard to tell at this point..

– doug
May 1 '14 at 21:03





h.264 decoding is done for gstreamer apps via the libav or ffmpeg plugins. Some older versions were unable to decode High 4:4:4 Predictive which has been the default for the real FFmpeg for some time. (though no longer the case for recent gst libav plugins. This may have been the orig. posters issue, may of not, hard to tell at this point..

– doug
May 1 '14 at 21:03













@doug weird, for 1.0 Gstreamer the gstreamer plugin page states support for the h264 high-4:4:4 and high-4:4:4-intra. Nothing about predictive :/.

– Braiam
May 1 '14 at 21:11





@doug weird, for 1.0 Gstreamer the gstreamer plugin page states support for the h264 high-4:4:4 and high-4:4:4-intra. Nothing about predictive :/.

– Braiam
May 1 '14 at 21:11













Braiam - your right - I went back & checked my old bug report on this. It was in 13.04 but only during the dev, at some point High 4:4:4 Predictive started working again, sorry about that.

– doug
May 1 '14 at 22:21





Braiam - your right - I went back & checked my old bug report on this. It was in 13.04 but only during the dev, at some point High 4:4:4 Predictive started working again, sorry about that.

– doug
May 1 '14 at 22:21


















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f308666%2fhow-to-play-h264-encoded-videos-with-totem%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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?