YouTube and transcoding video with vixy.net
I hate all those low quality videos from YouTube. You know there is that trick to concenate &fmt=18 to YouTube-URLs to have it access the new servers with higher quality videos and better bandwidth performance, but still that does not makes me happy.
Having FLV is ok for me, although I dislike non-standard container formats. But the point is copying those FLVs for friends often ends up by them complaining not beeing able to play the files on their Windows or Mac. The same problem persists on the iPod or my mobile phone that just understands 3GP in the moment.
So i end up having to convert the files… or transcoding them.
Conversion vs. Transcoding
Converting usally means decoding the video to a full video-picture – probably with or without any post-processing– and loosing the visual information that was artifically added again by encoding. Also, most of the bitstream-information on the decoded stream is also lost, because you only see a the picture and not what abstract data is behind.
That is the place where transcoding comes into play: It transcodes the data be going deep into the input stream directly translating it the the output stream. The “visual step“ between encoding and deocoding is skipped, because not necessary. In the end we have not only faster conversion process, but have also retained all possible quality.
Ok, if input and output en/decoding algorithms differ too much or you wanna resize the video you still have to convert the videos. Point is that the algorithms used in input and output stream have to be similar to each other (beeing often MPEG4 on nowadays video material).
I discovered vixy (which is based on ffmpeg) und does a nice job on transcoding. On windows and Mac you have a GUI limited to YouTube. The Online-Converter itself seems to be always overloaded. So, time to compile our FLV 2 MPEG4 Tool ourselves (for Ubuntu/Debian):
$ apt-get build-dep ffmpeg
$ mkdir flv2mpeg4
$ cd flv2mpeg4
$ svn co https://vixynet.svn.sourceforge.net/svnroot/vixynet/trunk/flv2mpeg4/ .
$ cd src
$ gcc -O3 -o flv2mpeg4 avformat_writer.c dcprediction.c flv2mpeg4.c fetch.c flvdecoder.c m4vencode.c mp3header.c -lavformat -lavcodec -lavutil -I/usr/include/ffmpeg -L/usr/lib
$ cp flv2mpeg4 /usr/bin
A last word to YouTube. I don’t suggest uploading to it in no way!
- They manipulate view counters on videos with strong political content (e.g. 200 views and 300 comments?)
- Everything you upload, belongs to them! Read the terms!
- Quality still sucks (it’s for the american market; but we have broadband here in germany!)
- Servers are often damn slow, espacially at 23:00 CEST+1 when all americans go on the site
Dezember 29th, 2009 at 20:33
Wow! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog?
rH3uYcBX
Oktober 30th, 2010 at 10:57
Best you could edit the webpage subject title evølutiøn-515.net » Blog Archive » YouTube and transcoding video with vixy.net to something more specific for your webpage you create. I enjoyed the post still.
Dezember 11th, 2010 at 18:57
Theoretisch ist das eine gute Story, ich bin mir aber unsicher, ob das auch auf Dauer machbar ist!
Juli 7th, 2011 at 00:57
Just thought i’d drop in to say i love your style of writing, flows really well and easy to read. Thanks for posting this
Juli 15th, 2011 at 00:41
I adore yours blog design, what theme do you use?? please comment back!
Juli 15th, 2011 at 09:30
hoho your article reminds me of very funny thing my lad did, he walked into soaked napkin, screemed “homoo” and fell down… + food flew to plouse of by stander, this happened at our wedding lol…
Anyways story short, you have written very nice post, makes me smile.
August 21st, 2011 at 19:17
We are a group of volunteers and starting a new scheme in our community. Your web site offered us with valuable information to work on. You’ve done a formidable job and our whole community will be grateful to you.
September 12th, 2011 at 21:19
What is up, awesome web-site. I really like your style. I just now ended cosmetic school and also set up my own personal webpage. Thanks for the amazing posting!
Oktober 9th, 2011 at 02:28
HCG Levels in Early Pregnancy Thanks for writing this, it was very handy and helped me quite a bit…
Thanks for writing this, it was very handy and helped me quite a bit…
Januar 31st, 2012 at 18:25
I absolutely love your blog and find a lot of your post’s to be what precisely I’m looking for. Does one offer guest writers to write content for you? I wouldn’t mind publishing a post or elaborating on most of the subjects you write about here. Again, awesome web log!