trying to convert mpeg2 to dv
Arne Wörner
arne_woerner at yahoo.com
Fri Nov 4 16:53:24 PST 2005
--- Dieter <freebsd at sopwith.solgatos.com> wrote:
> > > mencoder looks more promising:
> > > [...]
> > > I don't know what this frameno.avi file is supposed to be?
> > >
> > I dont know either...
>
> Do you get the
>
> File not found: 'frameno.avi'
> Failed to open frameno.avi
>
> complaint from mencoder?
>
Yes. See:
MEncoder 1.0pre6-3.4.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6,
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
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
Reading disc structure, please wait...
There are 10 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0 data: 0x0 - 0x303800
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9600.0 kbps
(1200.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00
ftime:=0.0400
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0
kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: 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.
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))
==========================================================================
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: BICUBIC scaler, from Planar YV12 to Packed YUY2 using
MMX2
New_Face failed. Maybe the font path is wrong. 0mb A-V:0.004
[0:0]
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
ODML: vprp aspect is 16:9.
1 duplicate frame(s)!
Pos: 0.8s 22f ( 5%) 0fps Trem: 0min 50mb A-V:0.084
[0:75]
Skipping frame!
Pos: 1.3s 34f ( 8%) 26fps Trem: 0min 51mb A-V:0.083
[27900:98]
Skipping frame!
Pos: 4.9s 126f (64%) 24fps Trem: 0min 26mb A-V:0.064
[28565:183]
Flushing video frames
Writing AVI index...
Fixing AVI header...
ODML: vprp aspect is 16:9.
Video stream: 28565.854 kbit/s (3570731 bps) size: 17568000
bytes 4.920 secs 126 frames
Audio stream: 183.751 kbit/s (22968 bps) size: 124032 bytes
5.400 secs
> > I just executed
> > % mencoder -endpos 5 -oac mp3lame -ovc libdv -o /tmp/f+ck.dv
> > dvd://1
> > and
> > % mencoder -endpos 5 -oac mp3lame -ovc libdv -o /tmp/f_ck.dv
> > /tmp/f+ck.dv
> > successfully...
>
> What kind of machine is this on? x86? I'm on amd64, I wonder
> if libdv isn't LP64 clean?
>
See above...
I do not know libdv... But I saw mencoder and mplayer crashing
abnormaling quite often already...
> > Maybe your source file is evil or from a parallel world, where
> > DV format is somehow evil (taken from Futurama/Farnsworth's
> > Parabox)?
>
> I'm not familiar with Futurama/Farnsworth's Parabox.
>
Hmm... That is an episode of the TV series Futurama...
> I tried several source files. Most seg fault core dump, a
> couple did bus error core dump instead. They are from
> over-the-air digital TV, various networks. Mplayer will
> play them with default X11 output, but my X terminal isn't
> fast enough, (and audio would be nice) so I'm trying to
> convert them to DV so I can use my camcorder as a
> firewire-to-TV adapter.
>
Interesting project...
Really looks like libdv does not work on your box so good...
Maybe it helps to compile libdv on your box by
% cd /usr/ports/multimedia/libdv
% make deinstall
% make clean
% make install
(but I am just guessing... I do not have so much experiences with
libdv, camcorders, AMD64, ...)
At least the kernel compiled on my big AMD i386 box (I686_CPU)
does not work on my old Intel i386 box (I586_CPU) (if I recall it
correctly)...
-Arne
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
More information about the freebsd-multimedia
mailing list