Questions tagged [video]

Video is an electronic medium for the recording, copying, and broadcasting of moving visual images. Use more specific tags when relevant, such as [video-editing] for questions related to trimming and modifying videos, [video-encoding] for questions related to editing videos into any format, and [video-processing] for questions related to processing videos with filtering video frames.

As video capture and playback varies significantly across platforms, please include a tag with the target OS or platform (e.g., Windows, OSX, Android, YouTube, Java, QuickTime). Before posting, please also check that your question is on topic.

Video technology was first developed for cathode ray tube (CRT) television systems, but several new technologies for video display devices have since been invented.

Common digital video codecs (or formats) include:

  • CCIR 601 used for broadcast stations
  • MPEG-4 good for online distribution of large videos and video recorded to flash memory
  • MPEG-2 used for DVDs, Super-VCDs, and many broadcast television formats
  • MPEG-1 used for video CDs
  • AVI
  • DIVX
  • XVID
  • H.261
  • H.263
  • H.264 also known as MPEG-4 Part 10, or as AVC, used for Blu-ray Discs and some broadcast television formats
  • Theora used for video on Wikipedia

References:

See also:

32076 questions
85
votes
10 answers

How to play YouTube video in my Android application?

How do I play YouTube videos in my application? I want to play video by streaming it directly from YouTube without downloading. Also, while playing videos, I want provide menu options. I don't want to play video using default intent. How can I do…
user446366
  • 961
  • 1
  • 10
  • 7
80
votes
16 answers

Detect if HTML5 Video element is playing

I've looked through a couple of questions to find out if an HTML5 element is playing, but can't find the answer. I've looked at the W3 documentation and it has an event named "playing" but I can't seem to get it to work. This is my current code: var…
user1076821
80
votes
2 answers

HTML5 - How to stream large .mp4 files?

I'm trying to setup a very basic html5 page that loads a .mp4 video that is 20MB. It appears that the browser needs to download the entire thing rather than just playing the first part of the video and streaming in the rest. This post is the…
longda
  • 9,445
  • 6
  • 44
  • 66
78
votes
8 answers

HTML5 inline video on iPhone vs iPad/Browser

I've created an HTML5 video player (very simple) that works perfectly on the iPad and the browser. However, when I open it on the iPhone, I only get a play button which, when pressed, opens the native video player on a new window, on top of all my…
Andre
  • 4,237
  • 7
  • 29
  • 37
78
votes
1 answer

How to add transparent watermark in center of a video with ffmpeg?

I am currently using these commands: Top left corner ffmpeg –i inputvideo.avi -vf "movie=watermarklogo.png [watermark]; [in][watermark] overlay=10:10 [out]" outputvideo.flv Top right corner ffmpeg –i inputvideo.avi -vf "movie=watermarklogo.png…
mirza
  • 4,970
  • 7
  • 39
  • 70
76
votes
14 answers

Download TS files from video stream

Videos on most sites make use of progressive downloading, which means that the video is downloaded to my computer, and easy to trace. There are lots of extensions out there to do this, and even in the dev-tools this is easily done. On certain…
Nicky Smits
  • 2,406
  • 3
  • 17
  • 23
76
votes
12 answers

an attempt was made to access a socket in a way forbbiden by its access permissions. why?

private void StartReceivingData(string ipAddress, int iPort) { try { if (!_bContinueReciving) { //initializeMainSocket(ipAddress, iPort); _mSocket = new…
andrew
  • 1,027
  • 2
  • 10
  • 16
75
votes
6 answers

Reducing video size with same format and reducing frame size

This question might be very basic Is there a way to reduce the frame size/rate of Lossy compressed (WMV, MPEG) format, to get a smaller video, of lesser size, with same format. Are there any open source or proprietary apis for this?
Vignesh
  • 1,110
  • 2
  • 12
  • 18
70
votes
9 answers

How can I get the resolution (width and height) for a video file from a linux command line?

I've been digging through the mplayer/mencoder and ffmpeg documentation and I can't seem to come up with anything. I'm not especially picky as to the output format as I can use a regular expression to pull it out, I just can't seem to get the data…
Jeremy Logan
  • 45,614
  • 37
  • 119
  • 143
70
votes
13 answers

How to play videos in android from assets folder or raw folder?

I am trying to play a video in android emulator I have the video in my assets folder as well as the raw folder But after doing some research still i cant play video in my emulator i am working on android 2.1 My video format is mp4 so i don't think…
Abhishek Talwar
  • 709
  • 1
  • 6
  • 3
70
votes
12 answers

HTML 5 video or audio playlist

Can I use a
xdevel2000
  • 19,270
  • 35
  • 120
  • 188
69
votes
4 answers

How to embed a YouTube channel into a webpage

Can anyone suggest how I embed a youtube channel into a webpage - I am getting conflicting information from various sites, ideally using the custom player if possible? thanks
Zabs
  • 12,494
  • 42
  • 150
  • 262
69
votes
6 answers

Using FFmpeg in .net?

So I know its a fairly big challenge but I want to write a basic movie player/converter in c# using the FFmpeg library. However, the first obstacle I need to overcome is wrapping the FFmpeg library in c#. I've downloaded ffmpeg but couldn't compile…
daniel
  • 699
  • 1
  • 6
  • 4
68
votes
6 answers

Maintaining good scroll performance when using AVPlayer

I'm working on an application where there is a collection view, and cells of the collection view can contain video. Right now I'm displaying the video using AVPlayer and AVPlayerLayer. Unfortunately, the scrolling performance is terrible. It seems…
Antonio
  • 918
  • 1
  • 7
  • 12
68
votes
4 answers

Is that possible to make

Is that possible to make a video inside tag mirrored horizontally or vertically?
Sergei Basharov
  • 43,294
  • 56
  • 177
  • 295