How to stream mp4 vedio in android
How to stream .mp4
video in android, video is from backed server. By implementing all the solution showing a message can't play this video
android video-streaming
add a comment |
How to stream .mp4
video in android, video is from backed server. By implementing all the solution showing a message can't play this video
android video-streaming
2
can you be more specific on your question?
– Nivedh
Nov 20 '18 at 6:46
i need play mp4 vedio in VedioView UI how can i do that
– Aswin N Nair
Nov 20 '18 at 6:53
Can you share the error shown in logcat too?
– Nivedh
Nov 20 '18 at 6:59
can't play this video
means that video is in unsupported codec. Either use supported video codec, or implement your own video player, which will support your codec. Please note thatmp4
is not a codec, it is just a container type.
– Vladyslav Matviienko
Nov 20 '18 at 7:35
add a comment |
How to stream .mp4
video in android, video is from backed server. By implementing all the solution showing a message can't play this video
android video-streaming
How to stream .mp4
video in android, video is from backed server. By implementing all the solution showing a message can't play this video
android video-streaming
android video-streaming
edited Nov 20 '18 at 7:16
Aniruddh Parihar
2,19911027
2,19911027
asked Nov 20 '18 at 6:42
Aswin N NairAswin N Nair
11
11
2
can you be more specific on your question?
– Nivedh
Nov 20 '18 at 6:46
i need play mp4 vedio in VedioView UI how can i do that
– Aswin N Nair
Nov 20 '18 at 6:53
Can you share the error shown in logcat too?
– Nivedh
Nov 20 '18 at 6:59
can't play this video
means that video is in unsupported codec. Either use supported video codec, or implement your own video player, which will support your codec. Please note thatmp4
is not a codec, it is just a container type.
– Vladyslav Matviienko
Nov 20 '18 at 7:35
add a comment |
2
can you be more specific on your question?
– Nivedh
Nov 20 '18 at 6:46
i need play mp4 vedio in VedioView UI how can i do that
– Aswin N Nair
Nov 20 '18 at 6:53
Can you share the error shown in logcat too?
– Nivedh
Nov 20 '18 at 6:59
can't play this video
means that video is in unsupported codec. Either use supported video codec, or implement your own video player, which will support your codec. Please note thatmp4
is not a codec, it is just a container type.
– Vladyslav Matviienko
Nov 20 '18 at 7:35
2
2
can you be more specific on your question?
– Nivedh
Nov 20 '18 at 6:46
can you be more specific on your question?
– Nivedh
Nov 20 '18 at 6:46
i need play mp4 vedio in VedioView UI how can i do that
– Aswin N Nair
Nov 20 '18 at 6:53
i need play mp4 vedio in VedioView UI how can i do that
– Aswin N Nair
Nov 20 '18 at 6:53
Can you share the error shown in logcat too?
– Nivedh
Nov 20 '18 at 6:59
Can you share the error shown in logcat too?
– Nivedh
Nov 20 '18 at 6:59
can't play this video
means that video is in unsupported codec. Either use supported video codec, or implement your own video player, which will support your codec. Please note that mp4
is not a codec, it is just a container type.– Vladyslav Matviienko
Nov 20 '18 at 7:35
can't play this video
means that video is in unsupported codec. Either use supported video codec, or implement your own video player, which will support your codec. Please note that mp4
is not a codec, it is just a container type.– Vladyslav Matviienko
Nov 20 '18 at 7:35
add a comment |
2 Answers
2
active
oldest
votes
My suggestion is to use Exoplayer which is google's video default player.
is there any sample codes or something
– Aswin N Nair
Nov 20 '18 at 6:51
android.jlelse.eu/android-exoplayer-starters-guide-6350433f256c please check if it helps you.
– Nivedh
Nov 20 '18 at 6:54
add a comment |
here is a very basic, working example of exoplayer 2.8.4 to play livestream or .mp4 files.
https://github.com/ayalus/ExoPlayer-2-Example
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53387572%2fhow-to-stream-mp4-vedio-in-android%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
My suggestion is to use Exoplayer which is google's video default player.
is there any sample codes or something
– Aswin N Nair
Nov 20 '18 at 6:51
android.jlelse.eu/android-exoplayer-starters-guide-6350433f256c please check if it helps you.
– Nivedh
Nov 20 '18 at 6:54
add a comment |
My suggestion is to use Exoplayer which is google's video default player.
is there any sample codes or something
– Aswin N Nair
Nov 20 '18 at 6:51
android.jlelse.eu/android-exoplayer-starters-guide-6350433f256c please check if it helps you.
– Nivedh
Nov 20 '18 at 6:54
add a comment |
My suggestion is to use Exoplayer which is google's video default player.
My suggestion is to use Exoplayer which is google's video default player.
answered Nov 20 '18 at 6:45
NivedhNivedh
738516
738516
is there any sample codes or something
– Aswin N Nair
Nov 20 '18 at 6:51
android.jlelse.eu/android-exoplayer-starters-guide-6350433f256c please check if it helps you.
– Nivedh
Nov 20 '18 at 6:54
add a comment |
is there any sample codes or something
– Aswin N Nair
Nov 20 '18 at 6:51
android.jlelse.eu/android-exoplayer-starters-guide-6350433f256c please check if it helps you.
– Nivedh
Nov 20 '18 at 6:54
is there any sample codes or something
– Aswin N Nair
Nov 20 '18 at 6:51
is there any sample codes or something
– Aswin N Nair
Nov 20 '18 at 6:51
android.jlelse.eu/android-exoplayer-starters-guide-6350433f256c please check if it helps you.
– Nivedh
Nov 20 '18 at 6:54
android.jlelse.eu/android-exoplayer-starters-guide-6350433f256c please check if it helps you.
– Nivedh
Nov 20 '18 at 6:54
add a comment |
here is a very basic, working example of exoplayer 2.8.4 to play livestream or .mp4 files.
https://github.com/ayalus/ExoPlayer-2-Example
add a comment |
here is a very basic, working example of exoplayer 2.8.4 to play livestream or .mp4 files.
https://github.com/ayalus/ExoPlayer-2-Example
add a comment |
here is a very basic, working example of exoplayer 2.8.4 to play livestream or .mp4 files.
https://github.com/ayalus/ExoPlayer-2-Example
here is a very basic, working example of exoplayer 2.8.4 to play livestream or .mp4 files.
https://github.com/ayalus/ExoPlayer-2-Example
answered Nov 26 '18 at 16:12
ayal fieldustayal fieldust
215
215
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53387572%2fhow-to-stream-mp4-vedio-in-android%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
2
can you be more specific on your question?
– Nivedh
Nov 20 '18 at 6:46
i need play mp4 vedio in VedioView UI how can i do that
– Aswin N Nair
Nov 20 '18 at 6:53
Can you share the error shown in logcat too?
– Nivedh
Nov 20 '18 at 6:59
can't play this video
means that video is in unsupported codec. Either use supported video codec, or implement your own video player, which will support your codec. Please note thatmp4
is not a codec, it is just a container type.– Vladyslav Matviienko
Nov 20 '18 at 7:35