video-player

Java: Guide to write a custom video codec [closed]

独自空忆成欢 提交于 2019-12-09 08:27:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 months ago . I have quite a weird question, but here it is: Is it possible, and are there any guides for writing a custom video codec in C++ or Java? Here's the weird part: I don't need to dive into those tons of info about audio and motion picture I don't understand. What I actually need is the technical stuff behind how

support srt/vtt subtitle and syncing in video player flutter

浪子不回头ぞ 提交于 2019-12-08 09:50:46
问题 I want to play srt subtitles in my app. I have integrated srt_parser so far. Also, I am able to get the current position of the player by this code inMilliseconds = _videoPlayerController.value.position.inMilliseconds; Here is srt parse code. String data = '''1 00:00:01,600 --> 00:00:04,200 English (US) 2 00:00:05,900 --> 00:00:07,999 This is a subtitle in American English 3 00:00:10,000 --> 00:00:14,000 Adding subtitles is very easy to do'''; srtParser() { List<Subtitle> subtitles = parseSrt

My MKV to MP4 converted video doesn't play in flex

南楼画角 提交于 2019-12-08 05:43:36
问题 I am stuck on one issue from last 1 day. I am using Adobe flex video display to play video for my site. There is some converted video from MKV to MP4 using ffmpeg. ffmpeg -i Test.mkv -vcodec copy -acodec copy Test.mp4 Now, i am trying to play that video from local it's working fine. But when i upload that video on server and trying to play video. Then it will not work with flex VideoDisplay same will work in browser and HTML videoplayer and also works with JWPlayer. Other mp4 video which are

how to pause a video file played using videosourceplayer

*爱你&永不变心* 提交于 2019-12-07 18:55:01
问题 I am playing a videofile(.wmv)using videosourceplayer .I am able to stop videoplayer but when i start it ,it starts from the beginning but not from the current frame.How can i achieve the pause and resume playback of the video 来源: https://stackoverflow.com/questions/27738369/how-to-pause-a-video-file-played-using-videosourceplayer

My MKV to MP4 converted video doesn't play in flex

半世苍凉 提交于 2019-12-06 21:16:28
I am stuck on one issue from last 1 day. I am using Adobe flex video display to play video for my site. There is some converted video from MKV to MP4 using ffmpeg. ffmpeg -i Test.mkv -vcodec copy -acodec copy Test.mp4 Now, i am trying to play that video from local it's working fine. But when i upload that video on server and trying to play video. Then it will not work with flex VideoDisplay same will work in browser and HTML videoplayer and also works with JWPlayer. Other mp4 video which are not converted works very fine. Only converted Videos are not working in only flex VideoDisplay. I am

How to play mp4 video in JAVA (swing) jframe using vlcj?Is there any other way to play mp4 in JAVA?

扶醉桌前 提交于 2019-12-06 07:18:27
问题 I want to play video file in JAVA(java swing). I have used JMF(java media framework). But it support .mpg format only. I want to play .mp4 format video file. How to do this? I could play mpg video using this code mediaPlayer1.setMediaLocation("file:///C:/mpgvdo/Best_Song2.mpg"); mediaPlayer1.start(); I want to know how i could use vlcj to play mp4 files.I need complete steps.starting from vlcj installation. I have included vlcj jar file in netbeans library also added to palette but I did not

how to pause a video file played using videosourceplayer

柔情痞子 提交于 2019-12-06 06:12:02
I am playing a videofile(.wmv)using videosourceplayer .I am able to stop videoplayer but when i start it ,it starts from the beginning but not from the current frame.How can i achieve the pause and resume playback of the video 来源: https://stackoverflow.com/questions/27738369/how-to-pause-a-video-file-played-using-videosourceplayer

Android Vitamio library makes apk too big

倖福魔咒の 提交于 2019-12-06 01:19:32
I'm trying to use Vitamio library. My apk without Vitamio is about 400k , and when I add Vitamio's library it become more than 11 MB ! I just want to use Vitamio's videoView. Is it any way to customize the library ? I started copying and pasting necessary classes from the library but they are a lot! Please give me some advice and thanks in advance. EDIT: Also I insert the jar file in libs folder instead of adding the library and it's just about 50kb. This time when I run the app, it says in a dialog that I have to install the Vitamio app first to continue :/ Deleting the libarm.so file will

How not to seek to keyframes

让人想犯罪 __ 提交于 2019-12-03 21:36:05
I've tried to find a solution to seek frame by frame (not only to keyframes) in my android app. approach: A simple VideoView of the android sdk : Here I've got a onSeekCompleteListener of the base class MediaPlayer from the onPreparedListener of VideoView and pause the playback right after started it and moved to a preferred position. Problem : Only seeks to keyframes! approach: MediaMetaRetriever : I have got something like this: MediaMetadataRetriever retriever; long Position; ImageView video; TextView lbPosition; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate

Java: Guide to write a custom video codec [closed]

匆匆过客 提交于 2019-12-03 10:41:07
I have quite a weird question, but here it is: Is it possible, and are there any guides for writing a custom video codec in C++ or Java? Here's the weird part: I don't need to dive into those tons of info about audio and motion picture I don't understand. What I actually need is the technical stuff behind how to make a software layer between a movie player and a movie file. Here's why: I would like to create a library or ultimately 2 functions - encode / decode - in C++ / Java, which will take the RAW binary input of any type of file and encode / decode it according to a given password or