[mythtv-users] OT: Suggested ffmpeg commandline

Christopher Meredith chmeredith at gmail.com
Mon Jun 6 20:59:48 UTC 2011


On Mon, Jun 6, 2011 at 3:12 PM, Blammo <blammo.doh at gmail.com> wrote:

> I've spent hours, and multiple failed attempts, trying to come up with
> a good method of conversion from .m2ts to .h264/mkv files.. and have
> MythFrontend play them... .and had no success.
>
> Problems?
> - jumpy/stuttery/dropping audio
> - black/blue/green frames
> - invalid video type
>
> All the resulting videos play in VLC, with zero audio/video issues,
> but MythFrontend won't. Mythfrontend will play the ORIGINAL, much
> larger m2ts file with zero issues.
>
> So I'm looking for suggestions. I'm looking for either ffmpeg or
> mencoder  command-line/scripts, with a target of 8Mbit H.264,1 stream
> of 5.1 audio compressed or not, and english subtitles. Here's an
> example of "ffmpeg -i"
>
> Input #0, mpegts, from 'episode.s01e01.m2ts':
>  Duration: 00:52:04.86, start: 11.608967, bitrate: 38689 kb/s
>  Program 1
>    Stream #0.0[0x1011]: Video: h264 (High), yuv420p, 1920x1080 [PAR
> 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
>    Stream #0.1[0x1100]: Audio: dca (DTS-HD MA), 48000 Hz, 5.1, s16, 1536
> kb/s
>    Stream #0.2[0x1101]: Audio: dca (DTS), 48000 Hz, 5.1, s16, 768 kb/s
>    Stream #0.3[0x1102]: Audio: dca (DTS), 48000 Hz, stereo, s16, 768 kb/s
>    Stream #0.4[0x1103]: Audio: dca (DTS), 48000 Hz, 5.1, s16, 768 kb/s
>    Stream #0.5[0x1104]: Audio: dca (DTS), 48000 Hz, stereo, s16, 768 kb/s
>    Stream #0.6[0x1200]: Subtitle: pgssub
>    Stream #0.7[0x1201]: Subtitle: pgssub
>    Stream #0.8[0x1202]: Subtitle: pgssub
>    Stream #0.9[0x1203]: Subtitle: pgssub
>    Stream #0.10[0x1204]: Subtitle: pgssub
>    Stream #0.11[0x1205]: Subtitle: pgssub
>    Stream #0.12[0x1206]: Subtitle: pgssub
>    Stream #0.13[0x1207]: Subtitle: pgssub
>    Stream #0.14[0x1208]: Subtitle: pgssub
>    Stream #0.15[0x1209]: Subtitle: pgssub
>    Stream #0.16[0x120a]: Subtitle: pgssub
>    Stream #0.17[0x120b]: Subtitle: pgssub
>    Stream #0.18[0x120c]: Subtitle: pgssub
>    Stream #0.19[0x120d]: Subtitle: pgssub
>
> Suggestions? (thanks in advance)
>
>
Have you tried HandBrake? It has some very good out-of-the-box presets and
remains extremely powerful for those who still want flexibility. I'd suggest
trying it with the default options and "high profile" preset with a -q
setting of 20 or a bit lower.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20110606/47270e89/attachment.html 


More information about the mythtv-users mailing list