transcode

Transcoding audio and video

What is the best way to transcode audio and video to show on the web? I need to do it programmatically. I'd like to do something like YouTube or Google Video where users can upload whatever format they want, and I encode it to flv, mp3, and/or mp4. I could do it on our server, but I would rather use an EC2 instance or even a web ser...

Programmatically convert a video to FLV

Hi all, i am currently working on a web application that needs to accept video uploaded by users in any format (.avi, .mov, etc.) and convert them to flv for playing in a flash-based player. Since the site is OpenCms-based, the best solution would be a ready-made plugin for OpenCms that allowed to upload and play videos doing the transc...

Get empty image when transcoding SVG to PNG

Hi, I'm trying to generate an SVG image and then transcode it to PNG using Apache Batik. However, I end up with an empty image and I can't see why. I use the Document from SVGDomImplementation as the base for my transcoding (to avoid writing the SVG to disk and loading it again). Here's an example: DOMImplementation domImpl = SVGDOM...

error in one line Xerces program

The following application gives me an access violation on its first line, whats with that? // test.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <xercesc/util/XMLString.hpp> using namespace xercesc; int main() { XMLCh* path= XMLString::transcode("test.xml"); ...

Using ffmpeg with audio in a video

I am using ffmpeg to convert one video format to another: "ffmpeg -ac 1 -i vid1.mp4 -sameq vid1.avi" And I am getting the error: "encoding 6 channel(s) is not allowed in mp2" Now I understand what this means - and the transcoding works fine if I switch sound transcoding off (using "-an" option). How do I get around this and still ret...

Transcode FLAC on the fly to MP3 for streaming

I have a large collection of FLAC audio files on my server. I would like to be able to listen to them from my computer (preferably over SSH) and from my iPhone. I realize that SubSonic is able to do all of this but I also found a tool called MP3fs which mounts a mp3 transcode of flac files. What solution should I choose and why? ...