trying to convert mpeg2 to dv
Dieter
freebsd at sopwith.solgatos.com
Fri Nov 4 10:01:55 PST 2005
> > Are there alternatives to transcode I should be looking at?
> >
> I personally like mencoder/mplayer... But I do not know, if it
> knows DV format... Mencoder seems to use free MS Windows
> executables (DLLs or so?), if I understood that right...
mplayer can input DV but I don't see any way to get mplayer
to output DV?
mencoder looks more promising:
mencoder -oac copy -vf scale=720:480 -vc mpeg12 -ovc libdv /tmp/test.mpeg2 /tmp/test_output.dv
MEncoder 1.0pre7-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
File not found: 'frameno.avi'
Failed to open frameno.avi
success: format: 0 data: 0x0 - 0xa00000
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=65)AUDIO A52(pid=68) NO SUBS (yet)! PROGRAM N. 0
Opened TS demuxer, audio: 2000(pid 68), video: 10000002(pid 65)...POS=15040
VIDEO: MPEG2 704x480 (aspect 2) 29.970 fps 15000.0 kbps (1875.0 kbyte/s)
[V] filefmt:29 fourcc:0x10000002 size:704x480 fps:29.97 ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AC3: 2.0 (stereo) 48000 Hz 384.0 kbit/s
No accelerated resampler found
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
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 filter: [scale w=720 h=480]
==========================================================================
Forced video codec: mpeg12
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 bps=48000 sample-1)
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
VDec: vo config request - 704 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: BICUBIC scaler, from Planar YV12 to Packed YUY2 using MMX2
Pos: 0.0s 1f ( 6%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
ODML: vprp aspect is 4:3.
Segmentation fault: 11 (core dumped)m: 0min 0mb A-V:-0.003 [0:0]
I don't know what this frameno.avi file is supposed to be?
I'm not sure if "-oac copy" is the right thing to specify?
Once again I get a seg fault. :-(
More information about the freebsd-multimedia
mailing list