Up until fairly recently, I've been transcoding videos for playback on my (ancient, 1st-gen) iPod Touch using mencoder. But it's less than ideal. mencoder is, by admission of core mplayer devs, an unsupported, unmaintained piece of software that may or may not work at any given moment, and which isn't particularly high on the fixit list. When it comes to transcoding, ffmpeg is the better platform.
Almost.
ffmpeg isn't too great with subtitles, and I watch a great deal of subtitled content. So what's really required is something that's as good at playback and subtitle rendering as MPlayer, but with FFmpeg's encoding capabilities. So the answer really is to use both: mplayer to write raw video frames to a pipe, and ffmpeg to transcode from that pipe. As a final step, package the encoded video in an iPod-ready m4v
file and copy the audio stream(s) from the original source:
This will block immediately, as there's nothing reading from the pipe that mplayer is writing to, and the pipe only has a small buffer. In another terminal (in the same directory), run this to pull video frames from the pipe into ffmpeg:
Once mplayer terminates at end-of-file, you'll have video-only-file.avi, a silent-movie AVI encapsulating a video stream that's iPod-ready. If you had subtitles, they're burned into the video. You can discard a-named-pipe.fifo. Now, you just need to take the encoded video in the AVI, splice in an AAC version of the audio stream from the original source, and pack it into an M4V container that your device can work with.
Once you've checked that output-video.m4v is good, you can discard the intermediate video-only-file.avi.
Now, this all looks like a lot of hassle (and it kind of is), but it's far more resilient and reliable than the mencoder
-only version. It even gives you chapters and multiple audio streams, if they were in the source.
If all that's a bit too fussy, I've wrapped it up in a Perl script hosted on GitHub, meaning that you can do everything with just:
Feedback and improvement suggestions are always welcome.
The QuickBooks Support Phone Number is accessible every minute of every day to give genuinely necessary reconciliation related support and to expeditiously utilize QuickBooks Premier with other Microsoft Office programming bundles. The QuickBooks Enterprise Tech Support Number is given by specialists who are prepared every now and then to get together with any sort of questions identified with coordinating QuickBooks Premier with Microsoft Office related programming. QuickBooks Pro has made it simple for a businessman to make a receipt, track cost and automatically reinforcement information to abstain from losing them at any expense. This specific QuickBooks item can be introduced up to three PCs and can be all the while gotten to effectively keep up the records.
ReplyDeleteHire Best Packers And Movers Mumbai for hassle-free Household Shifting, ***Office Relocation, ###Car Transporation, Loading Unloading, packing Unpacking at affordable ✔✔✔Price Quotation. Top Rated, Safe and Secure Service Providers who can help you with 24x7 and make sure a Untroubled Relocation Services at Cheapest/Lowest Rate @ Packers And Movers Mumbai
ReplyDeleteperde modelleri
ReplyDeletesms onay
türk telekom mobil ödeme bozdurma
nft nasıl alınır
ANKARA EVDEN EVE NAKLİYAT
trafik sigortası
Dedektör
web sitesi kurma
aşk kitapları