I've transcoded many files from my tivo (a UK Series 1 tivo) into DivX. I use the following command line: Mencoder <tivofile.ty> -o <divxfile.avi> -mc 0 -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:vhq:acod ec=mp3:vbitrate=800:keyint=250:vpass=1:turbo -ffourcc DIVX -vop scale=::::::pal Mostly, this works with no problems at all, but every now and then, it doesn't work (about 1 file in 10 maybe)... this is the output from the precompiled version available at http://armory.nicewarrior.org/projects/cygmp/ MEncoder dev-CVS-050113-21:57-3.3.3 (C) 2000-2005 MPlayer Team CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4) Detected cache-line size is 64 bytes CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection. File not found: 'frameno.avi' Failed to open frameno.avi success: format: 0 data: 0x0 - 0x3f800d55 demux: File doesn't contain the selected audio or video stream. Encrypted VOB file! Read DOCS/HTML/en/dvd.html. Encrypted VOB file! Read DOCS/HTML/en/dvd.html. MPEG-PS file format detected. Encrypted VOB file! Read DOCS/HTML/en/dvd.html. Encrypted VOB file! Read DOCS/HTML/en/dvd.html. demux: File doesn't contain the selected audio or video stream. MPEG: FATAL: EOF while searching for sequence header. Video: Cannot read properties. Exiting... And this is the output from a recent cvs version I compiled myself: MEncoder dev-CVS-050918-13:04-3.4.4 (C) 2000-2005 MPlayer Team CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4) Detected cache-line size is 64 bytes CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection. File not found: 'frameno.avi' Failed to open frameno.avi success: format: 0 data: 0x0 - 0x3f800d55 demux: File doesn't contain the selected audio or video stream. Encrypted VOB file! Read DOCS/HTML/en/dvd.html. Encrypted VOB file! Read DOCS/HTML/en/dvd.html. MPEG-PS file format detected. Encrypted VOB file! Read DOCS/HTML/en/dvd.html. Encrypted VOB file! Read DOCS/HTML/en/dvd.html. demux: File doesn't contain the selected audio or video stream. MPEG: FATAL: EOF while searching for sequence header. Video: Cannot read properties. Exiting... Any idea why mencoder/mplayer thinks this is a MPEG-PS file rather than a MPEG-TY file (which it is). The same file plays back fine on the TiVo and in Windows Media Player, using TyShow, so I do not believe it to be corrupt in any way. Any help or advice much appreciated... Thanks, Ash.
On Tue, 20 Sep 2005 12:38:20 +0100 "Burrows, Ashley" <aburrows@northbayim.com> wrote:
Any idea why mencoder/mplayer thinks this is a MPEG-PS file rather than a MPEG-TY file (which it is).
No idea, but you should be able to force it with "-demuxer 33"
RC <rcooley <at> spamcop.net> writes:
On Tue, 20 Sep 2005 12:38:20 +0100 "Burrows, Ashley" <aburrows <at> northbayim.com> wrote:
Any idea why mencoder/mplayer thinks this is a MPEG-PS file rather than a MPEG-TY file (which it is).
No idea, but you should be able to force it with "-demuxer 33"
Excellent -- I didn't realise that... I'll try it. Thanks very much! By the way... where does the magic number 33 come from? I can't see this in the documentation -- is it just the magic constant for MPEG-TY in the source? Which source file do I look in to see this? Ash.
On Wed, 21 Sep 2005 08:47:09 +0000 (UTC) Ash <aburrows@northbayim.com> wrote:
By the way... where does the magic number 33 come from? I can't see this in the documentation -- is it just the magic constant for MPEG- TY in the source? Which source file do I look in to see this?
It's in: libmpdemux/demuxer.h
participants (3)
-
Ash -
Burrows, Ashley -
RC