[mythtv-users] Partly OT: Converting HD content in MPEG2-TS to DVD compliant MPEG2

casey dunn casey.dunn at gmail.com
Fri Mar 17 20:01:39 UTC 2006


Thanks.  That's a hell of a lot better than what I was coming up with but,
I've still got a few bugs...

When I play the file back in VLC it reports two audio streams the first is
silent the second appears to be the #2 audio stream from the original file,
ffmpeg only show's the one audio stream and totem-gstreamer has no audio at
all.


mencoder House\ -\ Skin\ Deep\ -\ 20060220\,\ 8-00PM.nuv -ovc lavc -oac copy
-vf decimate=2:1000:1600:.001,scale=480:480 -ofps 24000/1001 -lavcopts
vcodec=mpeg2video:aspect=16/9:vrc_buf_size=917:vrc_maxrate=2500:vbitrate=1800:keyint=15:trell
-of mpeg -mpegopts format=xsvcd -o House\ -\ Skin\ Deep\ -\ 20060220\,\
8-00PM.mpeg


MEncoder 2:0.99+1.0pre7try2+cvs20060117-0ubuntu5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Duron/Athlon 4/MP/XP Palomino (Family: 6,
Stepping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x173c5f50
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=49)AUDIO A52(pid=53) NO SUBS (yet)!  PROGRAM N. 1
Opened TS demuxer, audio: 2000(pid 53), video: 10000002(pid 49)...POS=564
VIDEO:  MPEG2  1280x720  (aspect 3)  59.940 fps  19000.0 kbps (2375.0kbyte/s)
[V] filefmt:29  fourcc:0x10000002  size:1280x720  fps:59.94  ftime:=0.0167
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 1.0 (mono)  48000 Hz  192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
PACKET SIZE: 2324 bytes
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=480 h=480]
Opening video filter: [decimate=2:1000:1600:.001]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1280 x 720 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 B/s=24000
sample-1)
Limiting audio preload to 0.4s
Increasing audio density to 4
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (480x480 fourcc=3267706d [mpg2])
New_Face failed. Maybe the font path is wrong.n   0mb  A-V:-0.002 [0:0]
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...



ffmpeg -i House\ -\ Skin\ Deep\ -\ 20060220\,\ 8-00PM.mpeg
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --libdir=${prefix}/lib --enable-shared
--enable-mp3lame --enable-gpl --enable-faad --mandir=${prefix}/share/man
--enable-vorbis --enable-pthreads --enable-faac --enable-xvid --enable-dts
--enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-a52
--enable-theora --enable-libgsm --enable-x264
  libavutil version: 49.0.0
  libavcodec version: 51.2.0
  libavformat version: 50.2.1
  built on Feb 10 2006 16:14:47, gcc: 4.0.3 20060128 (prerelease) (Debian
4.0.2-8)
Input #0, mpeg, from 'House - Skin Deep - 20060220, 8-00PM.mpeg':
  Duration: 00:00:35.2, start: 0.200000, bitrate: 2111 kb/s
  Stream #0.0[0x1e0], 23.98 fps(r): Video: mpeg2video, yuv420p, 480x480,
2500 kb/s
  Stream #0.1[0x80]: Audio: ac3, 48000 Hz, mono, 192 kb/s
Must supply at least one output file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060317/7d8465ff/attachment.htm 


More information about the mythtv-users mailing list