大约有 351 项符合查询结果(耗时:0.0080秒) [XML]
Convert audio files to mp3 using ffmpeg
I need to convert audio files to mp3 using ffmpeg.
11 Answers
11
...
How to concatenate two MP4 files using FFmpeg?
I'm trying to concatenate two mp4 files using ffmpeg. I need this to be an automatic process hence why I chose ffmpeg. I'm converting the two files into .ts files and then concatenating them and then trying to encode that concated .ts file. The files are h264 and aac encoded and I'm hoping to kee...
Play sound on button click android
...
This is the most important part in the code provided in the original post.
Button one = (Button) this.findViewById(R.id.button1);
final MediaPlayer mp = MediaPlayer.create(this, R.raw.soho);
one.setOnClickListener(new OnClickListener(){
...
Crop MP3 to first 30 seconds
...
I also recommend ffmpeg, but the command line suggested by John Boker has an unintended side effect: it re-encodes the file to the default bitrate (which is 64 kb/s in the version I have here at least). This might give your customers a false im...
List files with certain extensions with ls and grep
I just want to get the files from the current dir and only output .mp4 .mp3 .exe files nothing else.
So I thought I could just do this:
...
How can I check the extension of a file?
...
Assuming m is a string, you can use endswith:
if m.endswith('.mp3'):
...
elif m.endswith('.flac'):
...
To be case-insensitive, and to eliminate a potentially large else-if chain:
m.lower().endswith(('.png', '.jpg', '.jpeg'))
...
Accessing MP3 metadata with Python [closed]
How can I retrieve mp3 metadata in Python?
16 Answers
16
...
Playing .mp3 and .wav in Java?
How can I play an .mp3 and a .wav file in my Java application? I am using Swing. I tried looking on the internet, for something like this example:
...
Use ffmpeg to add text subtitles [closed]
I am trying to add text subtitles to an .mp4 container using ffmpeg:
9 Answers
9
...
How do I download a file over HTTP using Python?
I have a small utility that I use to download an MP3 file from a website on a schedule and then builds/updates a podcast XML file which I've added to iTunes.
...