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
668
votes
9 answers

Cutting the videos based on start and end time using ffmpeg

I tried to cut the video using the start and end time of the video by using the following command ffmpeg -ss 00:00:03 -t 00:00:08 -i movie.mp4 -acodec copy -vcodec copy -async 1 cut.mp4 By using the above command i want to cut the video from…
Kalai
  • 9,097
  • 8
  • 27
  • 47
355
votes
9 answers

How can I embed a YouTube video on GitHub wiki pages?

I am fairly new to markup (though it's extremely easy to pickup). I am working on a package and am trying to get the wiki pages looking nice as a help manual. I can insert a YouTube video link into the wiki page pretty easily but how do I embed a…
Tyler Rinker
  • 99,090
  • 56
  • 292
  • 477
352
votes
9 answers

How do we download a blob url video

I want to download a video whose URL is not a simple MP4 file, but rather a blob type for example:
291
votes
10 answers

Streaming video from Android camera to server

I've seen plenty of info about how to stream video from the server to an android device, but not much about the other way, ala Qik. Could someone point me in the right direction here, or give me some advice on how to approach this?
JCL
  • 2,911
  • 3
  • 14
  • 4
267
votes
23 answers

Programmatically generate video or animated GIF in Python?

I have a series of images that I want to create a video from. Ideally I could specify a frame duration for each frame but a fixed frame rate would be fine too. I'm doing this in wxPython, so I can render to a wxDC or I can save the images to…
FogleBird
  • 65,535
  • 24
  • 118
  • 129
193
votes
1 answer

Meaning of ffmpeg output (tbc, tbn, tbr)

I am using ffmpeg to tell me video info. Specifically: ffmpeg -i video.ext I get the output: Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 704x576 [PAR 12:11 DAR 4:3], 9578 kb/s, 25 tbr, 90k tbn, 50 tbc Does anyone know what tbr, tbn and tbc are…
user7289
  • 25,989
  • 27
  • 64
  • 86
189
votes
5 answers

Embed YouTube video - Refused to display in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'

I am trying to feed my Django page with some resource I am getting from somewhere else. Inside the feed, I have YouTube videos with URL like: https://www.youtube.com/watch?v=A6XUVjK9W4o Once I added this into my page, the video does not show up,…
doniyor
  • 31,751
  • 50
  • 146
  • 233
175
votes
4 answers

Correct mime type for .mp4

I have two applications as mentioned below: Admin application through which I am able to upload a .mp4 file to the server. I am trying to download the .mp4 using mobile application in iPad. The Admin application is made by using asp.net 4.0 and…
santosh kumar patro
  • 5,491
  • 12
  • 48
  • 105
173
votes
12 answers

How can I autoplay a video using the new embed code style for Youtube?

I can't work out how to autoplay a video using the new embed code style for Youtube. I tried adding &autoplay=1 to the url, which worked with the old style, but it didn't work. For example, http://www.youtube.com/embed/JW5meKfy3fY is the embed link,…
ben
  • 26,837
  • 40
  • 121
  • 174
168
votes
14 answers

How to handle "Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first." on Desktop with Chrome 66?

I'm getting the error message.. Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. ..when trying to play video on desktop using Chrome version 66. I did find an ad that began playback…
Steven
  • 2,381
  • 3
  • 16
  • 26
165
votes
7 answers

How to add a new audio (not mixing) into a video using ffmpeg?

I used a command like: ffmpeg -i video.avi -i audio.mp3 -vcodec codec -acodec codec output_video.avi -newaudio in latest version for adding new audio track to video (not mix). But I updated the ffmpeg to the newest version (ffmpeg version…
Vetalll
  • 2,826
  • 5
  • 22
  • 31
161
votes
16 answers

changing source on html5 video tag

I'm trying to build a video player that works everywhere. so far I'd be going with: