Questions tagged [playback]

Playing a sound or a video from an existing audio or video file or stream.

Playing a sound or a video from an existing audio or video file or stream.

1540 questions
7
votes
10 answers

How to hide the JWPlayer play button?

How can I hide the play button that's in the center of the video screen in JW Player? I'm using version 5.4 of the player and I am embedding it using their own 'JW Embedder' technique. I've tried the following with no…
AJB
  • 7,389
  • 14
  • 57
  • 88
7
votes
2 answers

How can I know users click fast forward and fast rewind buttons on the playback controls in iPhone

I want to implement the following things, App is running a music or video (using MPMoviePlayerController) in background. User double clicks the home button and go to the first screen showing playback controls (fast rewind, play or pause, fast…
alones
  • 2,848
  • 2
  • 27
  • 30
7
votes
3 answers

How to play .mp3 file from resources in C#?

I put music.mp3 in resources and then I added Windows Media Player to references. I wrote this code: WindowsMediaPlayer wmp = new WindowsMediaPlayer(); wmp.URL = "music.mp3"; wmp.controls.play(); It doesn't work. How can I…
carck3r
  • 317
  • 1
  • 5
  • 17
7
votes
2 answers

What's right way to change playback speed with ffmpeg?

In my project i'm using ffmpeg to playback media. Currently I'm trying to implement changing of playback speed. Will it be right to drop certain packets at high rates, for example not keyframes ? Or I should rely only on changing timestamps and…
user2440195
  • 151
  • 1
  • 1
  • 7
7
votes
0 answers

Android Reverse Playback and Frame by Frame

I am trying to create an app with the following features: normal video playback slower video playback frame by frame reverse video playback (normal, slower, frame by frame) seekable to specific times video scrubbing no video sound needed video is…
D3vinno
  • 183
  • 2
  • 6
7
votes
2 answers

Input of a Rhythm Game

So, Unity does not do a lot of rhythm games on android. I decided to find out why, and program one as assignment (the basics of it anyway). My most important hurdle is user input. As we know that input is based on frame rate in unity, and a music…
Smileynator
  • 677
  • 8
  • 24
7
votes
2 answers

Play a part of a .wav file in python

Is it possible to play a certain part of a .wav file in Python? I'd like to have a function play(file, start, length) that plays the audiofile file from start seconds and stops playing after length seconds. Is this possible, and if so, what library…
Lewistrick
  • 2,649
  • 6
  • 31
  • 42
7
votes
3 answers

JLayer - Pause and resume song

I've noticed that a lot of topics were about pausing/resuming an MP3 using JLayer, so in order to help everybody, I've made a whole entire class designed just for that! Please see the answer below. Note: This was for my personal use, so it may not…
Josh M
  • 11,611
  • 7
  • 39
  • 49
6
votes
1 answer

How to play MIDI with AudioKit's new AKSequencer

I'm on AudioKit 4.9.1 and can't manage to play a MIDI file with the new AKSequencer (replacing AKAppleSequencer). No sound playing. Assume that MIDI file AND samples are loaded correctly since they previously worked with AKAppleSequencer. Background…
Frankie Simon
  • 721
  • 1
  • 7
  • 14
6
votes
2 answers

Save video with modified playback speed using SCRecorder in Objective-C

Using SCRecorder want to save video after recording, with different playback speed chosen by user ex: 2x, 3x. Using AVPlayer, it can be achieved using this code: //create mutable composition AVMutableComposition *mixComposition =…
iPhone 7
  • 1,731
  • 1
  • 27
  • 63
6
votes
1 answer

Media controls notification emits alert on Android O

Ever since adding support for Android O, Android devices running O receive an alert (tone or vibration) whenever my app's media controls notification gets updated (metadata or playback state changes). I'm looking for a way to disable this alert…
Ryan
  • 3,414
  • 2
  • 27
  • 34
6
votes
3 answers

Sound in batch?

I am making a game in batch, and I want to play music while the player is 'battling'. I managed to play the music, but I can't seem to stop the music once the player is done with the battle. @echo off set "file=BattleMusic.mp3" ( echo Set Sound =…
FudgeMuffins
  • 321
  • 2
  • 12
6
votes
2 answers

User gesture required to start playback in Android HTML5 player

I am using the HTML5 video tag on android and sometimes the chrome browser says it requires an explicit user gesture/click to start playback: Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture I know this…
Novice
  • 411
  • 1
  • 5
  • 14
6
votes
4 answers

How to view an animated GIF / PNG frame by frame, or slow it down

Is there a way to view animated GIFs demonstrations step-by-step? Example of an animated image produced with Blender screencast which is way too fast: Source: What is the fastest way to create a curved plane? on Blender.SE. My own search was not…
mins
  • 6,478
  • 12
  • 56
  • 75
6
votes
1 answer

How can I play raw PCM file that I dumped from a codec?

I'm debugging an audio codec and need to test if the data is coming out of a codec properly. I have my code dumping the raw pcm stream into a file and now I want to try to play it in VLC or another OS X compatible player. I've heard that this is…
Joey Carson
  • 2,973
  • 7
  • 36
  • 60