transcoding

Upload FFmpeg output directly to Amazon S3

一世执手 提交于 2019-12-04 03:46:34
I am using the fluent-ffmpeg library with node.js to transcode videos originally in a flash movie format to the mp3 format with multiple resolutions, 1080p, etc.. Once the transcoding is complete, I would like to move the transcoded video to an s3 bucket. I pull the original .flv file from a source s3 bucket and pass the stream to the ffmpeg constructor function. The issue is after the transcoding completes, how do I then get the stream of the mp4 data to send to s3. Here is the code I have so far: var params = { Bucket: process.env.SOURCE_BUCKET, Key: fileName }; s3.getObject(params, function

What is the difference between AV_SAMPLE_FMT_S16P and AV_SAMPLE_FMT_S16?

家住魔仙堡 提交于 2019-12-03 19:05:26
问题 What happens when you do a conversion from AV_SAMPLE_FMT_S16P to AV_SAMPLE_FMT_S16? How is the AVFrame structure going to contain the planar and non-planar data? 回答1: AV_SAMPLE_FMT_S16P is planar signed 16 bit audio, i.e. 2 bytes for each sample which is same for AV_SAMPLE_FMT_S16 . The only difference is in AV_SAMPLE_FMT_S16 samples of each channel are interleaved i.e. if you have two channel audio then the samples buffer will look like c1 c2 c1 c2 c1 c2 c1 c2... where c1 is a sample for

What transcoding services can people recommend? [closed]

我是研究僧i 提交于 2019-12-03 13:07:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . A client of mine needs to accept a bunch of different video files and convert them to FLV. My experience with FFMEG on a previous project has highlighted that there will be some troublesome files. Depending on the price my client will pay for a professional service. What are people using and how are you finding

Simple way to transcode mp3 to ogg in python (live)?

戏子无情 提交于 2019-12-03 07:44:16
问题 I'm searching for a library / module that can transcode an MP3 (other formats are a plus) to OGG, on the fly. What I need this for: I'm writing a relatively small web app, for personal use, that will allow people to listen their music via a browser. For the listening part, I intend to use the new and mighty <audio> tag. However, few browsers support MP3 in there. Live transcoding seems like the best option because it doesn't waste disk space (like if I were to convert the entire music library

What transcoding services can people recommend? [closed]

淺唱寂寞╮ 提交于 2019-12-03 03:24:48
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. A client of mine needs to accept a bunch of different video files and convert them to FLV. My experience with FFMEG on a previous project has highlighted that there will be some troublesome files. Depending on the price my client will pay for a professional service. What are people using and how are you finding the service? Thanks. <biased answer alert> I recommend Zencoder ( http://zencoder.com ), built by the same

HTML5 <audio>/<video> and live transcoding with FFMPEG

天大地大妈咪最大 提交于 2019-12-03 02:46:23
问题 So from my web server, I would like to use FFMPEG to transcode a media file for use with an HTML <audio> or <video> tag. Easy enough right? The conversion would need to take place in real-time, when an HTTP client requested the converted file. Ideally the file would be streamed back to the HTTP client as it is being transcoded (and not afterwards at the end, since that would potentially take a while before any data starts being sent back). This would be fine, except that in today's browsers,

Programmatically transcode MPEG-2 videos

牧云@^-^@ 提交于 2019-12-01 00:53:09
I need to be able to programmatically transcode mpeg-2 files to .mp4, .mp3, .wmv, .rm (optional), and .flv (optional), and hopefully generate a thumbnail as well. I found the Java Media Framework, but it frankly looks pretty crappy. This will be running a Linux server, so I could shell out to ffmpeg using Commons Exec - does ffmpeg do everything I need to do? FFmpeg seems pretty daunting, which is why I'm having trouble finding this information, but it definitely seems to be a jack-of-all-trades. Any suggestions? Ffmpeg is the best and easiest. To output/convert video: ffmpeg -i {input}.ext -r

Programmatically transcode MPEG-2 videos

喜欢而已 提交于 2019-11-30 20:01:49
问题 I need to be able to programmatically transcode mpeg-2 files to .mp4, .mp3, .wmv, .rm (optional), and .flv (optional), and hopefully generate a thumbnail as well. I found the Java Media Framework, but it frankly looks pretty crappy. This will be running a Linux server, so I could shell out to ffmpeg using Commons Exec - does ffmpeg do everything I need to do? FFmpeg seems pretty daunting, which is why I'm having trouble finding this information, but it definitely seems to be a jack-of-all

Transcoding MJPEG to FLV or MP4

这一生的挚爱 提交于 2019-11-30 07:38:51
I want to transcode MJPEG stream that comes from IP camera ( http://xx.yy.zz.tt:8080/video.cgi ) to FLV or MP4 stream under Linux OS so that users can play the file using a web based Flash player such as Flowplayer . I discovered VLC for that purpose but I cannot figure out the exact command line string. I also need HTTP authentication feature since IP camera access is password protected. I also interested in any non-VLC solution if any (ffmpeg?). appears VLC can do HTTP authentication. http://www.videolan.org/doc/play-howto/en/ch04.html and I believe it can output to flv. Typically I start

SVG to PNG text not showing properly - Arial font

你说的曾经没有我的故事 提交于 2019-11-30 04:44:10
问题 I'm having an issue of converted PNG using Apache Batik is different when there is a text with different font-family, like Arial. The issue occurs in the environment where Cent OS 6 running Tomcat 7 and Java 6. The Java code used to convert SVG to PNG is : // Convert the SVG image to png and send back PNGTranscoder transcoder = new PNGTranscoder(); // TranscoderInput input = new TranscoderInput(new ByteArrayInputStream(svgImage)); outStream = new ByteArrayOutputStream(); TranscoderOutput