[mythtv-users] mkmovie problem (MPEG patch for 1.0.1)

Dana J Hata estespark at 141.com
Thu Aug 21 14:39:10 EDT 2003


Ok in my mythmkmovie1.01 source directory, I ran the patch -->

[root at localhost mythmkmovie-1.0.1]# patch < diff_mkmovie-1.0.1
(Stripping trailing CRs from patch.)
patching file mkmovie

Then ran perl Makefile.PL ; make ; make install...

And then ran mkmovie and hit 'E' to begin encoding, and got the exact
same behavior as before.  Here is the output of mkmovie -noisy -->

Channel ID: 2011
 Start Time: Aug 19, 2003 at 01:00AM
   End Time: Aug 19, 2003 at 02:00AM
      Title: Star Trek: Voyager
  Sub-Title: Author, Author
Description: The Doctor creates a holo-novel based on an unflattering
portrayal of the Voyager crew.
Obtaining framecount...Done! -  frames
CUT LIST=
INCLUDE LIST: 0:
Output: voyager.avi
Video Bitrate: 1500
Audio Bitrate: 128
Keyframe Interval: 15
**********************************************************************
Creating single frame avi
RUNNING COMMAND: mencoder -mf on:w=480:h=480:fps=29.970 -ovc lavc
-lavcopts vcodec=mpeg4:vhq:vbitrate=1500:keyint=15:aspect=1.3333 -o
/tmp/bframe-1-26801.avi /tmp/bframe-1-26801.png
**********************************************************************
MEncoder 0.91-3.2.2  (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /root/.mplayer/mencoder: No such file or directory
success: format: 0  data: 0x0 - 0x0
forced mf.
[demuxer] mf support.
[demux_mf] file type was not set! trying 'type=png'...
[mf] search expr: /tmp/bframe-1-26801.png*
[mf] number of files: 1 (4)
[V] filefmt:16  fourcc:0x474E504D  size:480x480  fps:29.97
ftime:=0.0334
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
========================================================================
==
Opening video decoder: [mpng] PNG Images decoder
Selected video codec: [mpng] vfm:mpng (PNG images decoder)
========================================================================
==
Writing AVI header...
VDec: vo config request - 1024 x 768 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
VDec: using BGR 32-bit as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from BGR 32-bit to Planar YV12 using MMX2
videocodec: libavcodec (480x480 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
Writing AVI index...
Fixing AVI header...

Video stream:  610.427 kbit/s  (76303 bps)  size: 2546 bytes  0.033 secs
1 frames
**********************************************************************
Creating fourteen frame avi
RUNNING COMMAND: cat /tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi
/tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi
/tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi
/tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi
/tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi
| mencoder -ovc copy -o /tmp/bframe-14-26801.avi -
**********************************************************************
MEncoder 0.91-3.2.2  (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /root/.mplayer/mencoder: No such file or directory
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
AVI file format detected.
AVI: No audio stream found -> no sound.
Could not determine number of frames (for absolute seek)
VIDEO:  [DIVX]  480x480  24bpp  29.97 fps  -17179870.0 kbps (-2097152.0
kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:480x480  fps:29.97  ftime:=0.0334
videocodec: framecopy (480x480 24bpp fourcc=58564944)
Writing AVI header...
Pos:   0.5s     14f (2360%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
Writing AVI index...
Fixing AVI header...

Video stream:  610.427 kbit/s  (76303 bps)  size: 35644 bytes  0.467
secs  14 frames
**********************************************************************
Creating fifteen frame avi
RUNNING COMMAND: cat /tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi
/tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi
/tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi
/tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi
/tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi /tmp/bframe-1-26801.avi
/tmp/bframe-1-26801.avi | mencoder -ovc copy -o /tmp/bframe-15-26801.avi
-
**********************************************************************
MEncoder 0.91-3.2.2  (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /root/.mplayer/mencoder: No such file or directory
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
AVI file format detected.
AVI: No audio stream found -> no sound.
Could not determine number of frames (for absolute seek)
VIDEO:  [DIVX]  480x480  24bpp  29.97 fps  -17179870.0 kbps (-2097152.0
kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:480x480  fps:29.97  ftime:=0.0334
videocodec: framecopy (480x480 24bpp fourcc=58564944)
Writing AVI header...
Pos:   0.5s     15f (2542%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
Writing AVI index...
Fixing AVI header...

Video stream:  610.427 kbit/s  (76303 bps)  size: 38190 bytes  0.501
secs  15 frames
**********************************************************************
RUNNING COMMAND: cat /tmp/bframe-14-26801.avi /tmp/bframe-15-26801.avi|
mencoder -idx -ovc copy -oac copy -o voyager.avi -
**********************************************************************
MEncoder 0.91-3.2.2  (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /root/.mplayer/mencoder: No such file or directory
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
AVI file format detected.
AVI: No audio stream found -> no sound.
VIDEO:  [DIVX]  480x480  24bpp  29.97 fps  610.4 kbps (74.5 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:480x480  fps:29.97  ftime:=0.0334
videocodec: framecopy (480x480 24bpp fourcc=58564944)
Writing AVI header...
Pos:   1.0s     29f (206%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
Writing AVI index...
Fixing AVI header...

Video stream:  610.427 kbit/s  (76303 bps)  size: 73834 bytes  0.968
secs  29 frames
[root at localhost script]# ./mkmovie -noisy
 Channel ID: 2011
 Start Time: Aug 19, 2003 at 01:00AM
   End Time: Aug 19, 2003 at 02:00AM
      Title: Star Trek: Voyager
  Sub-Title: Author, Author
Description: The Doctor creates a hol





- Dana J Hata








-----Original Message-----
From: Russ Southern [mailto:russ.southern at cox.net] 
Sent: Thursday, August 21, 2003 1:12 PM
To: Dana J Hata; mythtv-users at mythtv.org
Subject: Re: [mythtv-users] mkmovie problem (MPEG patch for 1.0.1)

On Thu, Aug 21, 2003 at 12:54:10PM -0400, Dana J Hata wrote:
> Where can I get mythmkmovie1.0rc2?  I checked icelus.org, but only
1.01
> was there.

Argh.  I hadn't checked the website lately.  

Here is a patch against 1.0.1.


> -----Original Message-----
> From: Russ Southern [mailto:russ.southern at cox.net] 
> Sent: Thursday, August 21, 2003 12:47 PM
> To: Dana J Hata; mythtv-users at mythtv.org
> Subject: Re: [mythtv-users] mkmovie problem (MPEG support patch)
> 
> I have a patch for mkmovie to support MPEG files from Hauppauge cards.
> 
> It is based on mythmkmovie1.0rc2.  Download that version, then apply
> this
> patch by running "patch < diff_mkmovie-2030803-2" in the
> mythmkmovie1.0rc2
> directory.
> 
> You will need the transcode package
> (http://freshmeat.net/projects/transcode).
> 
> The script should auto-detect MPEG files automagically.  It then uses
> mencoder and transcode (the only way I could find to make it work
> smoothly)
> to process the cutlist and reencode the file.  All other functionality
> on
> mkmovie should work the same.
> 
> Comments/flames are appreciated.
> 
> Russ
> 
> 




More information about the mythtv-users mailing list