Questions tagged [media]

Media are the storage and transmission channels or tools used to store and deliver information or data.

Media (singular medium) are the storage and transmission channels or tools used to store and deliver information or data.

Source: http://en.wikipedia.org/wiki/Media_(communication)

3363 questions
37
votes
3 answers

Capturing Video with AVFoundation

I've been looking around on Stack and I have found similar questions to this, but none have worked for me. I am a complete novice to Swift 3.0. Essentially what I'm trying to do is record a video using AVFoundation. So far I have managed to capture…
Adam Allard
  • 403
  • 1
  • 5
  • 11
37
votes
2 answers

How to query Android MediaStore Content Provider, avoiding orphaned images?

I'm trying to provide an in-app Activity which displays thumbnails of photos in the device's media store, and allow the user to select one. After the user makes a selection, the application reads the original full-size image and does things with…
mportuesisf
  • 5,587
  • 2
  • 33
  • 26
36
votes
5 answers

How to serve django media files via nginx ?

I'm new at Nginx, I've successfully bound my django project to Nginx. However I can't serve my static files and I guess I set my media folder's location wrongly. Here is my file tree: root_directory my_django_project ... …
iva123
  • 3,395
  • 10
  • 47
  • 68
36
votes
3 answers

How to create a custom media type (application/vnd) for a RESTful web service?

I'm playing with REST right now and thought I properly implement HATEOAS just to get all concepts right. For that I want to create my own media types (application/vnd[...]+xml and application/vnd[...]+json). One first question: Does the media type…
JohnDoDo
  • 4,720
  • 8
  • 31
  • 47
33
votes
5 answers

Recommended Java library for creating a video programmatically

Can anyone recommend a Java library that would allow me to create a video programmatically? Specifically, it would do the following: take a series of BufferedImages as the frames allow a background WAV/MP3 to be added allow 'incidental' WAV/MP3s to…
Neil Coffey
  • 21,615
  • 7
  • 62
  • 83
33
votes
5 answers

Where to save pictures on Android?

My application uses quite a lot of pictures that are downloaded from the internet and cached locally on the Android phone. I am wondering, what is the correct way to save those pictures. There are several ways I see, that are not fully…
Ulrich Scheller
  • 11,800
  • 5
  • 28
  • 32
33
votes
1 answer

How to split video or audio by silent parts

I need to automatically split video of a speech by words, so every word is a separate video file. Do you know any ways to do this? My plan was to detect silent parts and use them as words separators. But i didn't find any tool to do this and looks…
TermiT
  • 717
  • 1
  • 8
  • 15
33
votes
4 answers

How do you Require Login for Media Files in Django

I'm serving "sensitive" information in downloadable PDF's and Spreadsheets within a user registration section of a site. Is there a way to allow the django authentication to secure this media without serving it (and not have to manually login using…
TomFuertes
  • 7,150
  • 5
  • 35
  • 49
32
votes
6 answers

Playing BG Music Across Activities in Android

Hello! First time to ask a question here at stackoverflow. Exciting! Haha. We're developing an Android game and we play some background music for our intro (we have an Intro Activity) but we want it to continue playing to the next Activity, and…
jhie
  • 641
  • 2
  • 6
  • 12
32
votes
2 answers

Django upload_to outside of MEDIA_ROOT

My deployment script overwrites the media and source directories which means I have to move the uploads directory out of the media directory, and replace it after the upload has been extracted. How can I instruct django to upload to /uploads/…
user210437
32
votes
4 answers

List all music in MediaStore with the PATHs

Ok so I've been working on this project for a few days now and most of my time has been working out how to list all the music on a device in a LIST VIEW or something else, I have searched for a few days now and this is killing me. I did get so close…
user1853951
  • 321
  • 1
  • 3
  • 3
28
votes
3 answers

Pre-Select Images when opening WordPress 3.5 media manager

I've been playing around with the new media manager in WordPress and had some fun with it, but have reached the point where I'm banging my head against a wall. I have a custom meta box that I'd like to store some images in (well it's a hidden input…
Mark
  • 3,005
  • 1
  • 21
  • 30
27
votes
1 answer

What does -webkit-min-device-pixel-ratio: 2 stand for?

@media only screen and (max-device-width:480px), only screen and (-webkit-min-device-pixel-ratio: 2) { /*iphone css*/ } max-device width makes sense but pixel ratio doesn't make any sense to me. thanks.
Marin
  • 12,531
  • 17
  • 56
  • 80
27
votes
10 answers

Android: save a file from an existing URI

How to save a media file (say .mp3) from an existing URI, which I am getting from an Implicit Intent?
CyBer2t
  • 524
  • 1
  • 5
  • 12
25
votes
3 answers

ckeditor doesn´t read media embed code

I use the media embed plugin for ckeditor. It works fine, the code is correctly saved in the database and youtube, soundcloud etd. players display ok on the page. But when the user goes to his administration, where he can edit the info, the text…
Michal S
  • 1,103
  • 6
  • 19
  • 31