Bila je jednom ova tema, ali negdje sam zagubio pa da ponovim jope
Ovako Tv input zelim u MPEG, koristim mcoder i nemam pojma negdje sam nekakvu komandu nasao, ali mi pravi male probleme, mozda ni zbog cega ali eto postam pa da vidim dali neko ima rijesenje, zapravo prije je bilo, ali nema toga post-a
[code]medo@medo-desktop:~$ mencoder tv:// -tv driver=v4l2:norm=PAL:device=/dev/video0:input=2:quality=0:width=720:height=576:norm=1:alsa:adevice=hw.0:amode=2:immediatemode=0:forcechan=2 -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=6000:vratetol=9000:aspect=4/3:keyint=132:acodec=ac3:abitrate=448:vrc_maxrate=9000:vrc_buf_size=1835 -oac lavc -vf crop=690:552,pp=lb,hqdn3d=4:3:6,scale=720:576,harddup -noskip -af lavcresample=48000:volume=8 -srate 48000 -endpos 00:04:00 -of mpeg format=dvd:init_vpts=500:init_apts=500:muxrate=10080 -o test2.mpeg
MEncoder 2:1.0~rc2-0ubuntu13+medibuntu1 © 2000-2007 MPlayer Team
CPU: Intel® Pentium® 4 CPU 2.80GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski olschewski@zpr.uni-koeln.de
comment: first try, more to come
Selected device: Pinnacle PCTV 40i/50i/110i (saa
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO
Capabilites: video capture video overlay VBI capture device tuner read/write streaming
supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = SECAM-DK; 7 = SECAM-L; 8 = SECAM-Lc; 9 = PAL-M; 10 = PAL-Nc; 11 = PAL-60;
inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
Current input: 2
Current format: BGR24
v4l2: current audio mode is : LANG1
tv.c: norm_from_string(1): Bogus norm parameter, setting default.
Channel count not available - reverting to default: 2
Channel count not available - reverting to default: 2
[V] filefmt:9 fourcc:0x32315659 size:720x576 fps:25.00 ftime:=0.0400
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
PACKET SIZE: 2048 bytes, deltascr: 245760
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [scale w=720 h=576]
Opening video filter: [hqdn3d=4:3:6]
Opening video filter: [pp=lb]
Opening video filter: [crop w=690 h=552]
Crop: 690 x 552, -1 ; -1
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0x8810770]SwScaler: BICUBIC scaler, from yuv420p to yuv420p using MMX2
[swscaler @ 0x8810770]SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8810770]SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8810770]SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
[swscaler @ 0x8810770]SwScaler: 690x552 -> 720x576
videocodec: libavcodec (720x576 fourcc=3267706d [mpg2])
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
Limiting audio preload to 0.4s.
Increasing audio density to 4.
Forcing audio preload to 0, max pts correction to 0.
Writing header…1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
INITV: 0.200, 0.160, fps: 25.000
Pos: 5.3s 132f ( 0%) 24.55fps Trem: 0min 0mb A-V:0.000 [1713:447]
BUFFER UNDEFLOW at stream 0, raising muxrate to 1980 kb/s, delta_scr: 223418
BUFFER UNDEFLOW at stream 0, raising muxrate to 2178 kb/s, delta_scr: 203107
BUFFER UNDEFLOW at stream 1, raising muxrate to 2395 kb/s, delta_scr: 184643
BUFFER UNDEFLOW at stream 0, raising muxrate to 2635 kb/s, delta_scr: 167857
BUFFER UNDEFLOW at stream 0, raising muxrate to 2898 kb/s, delta_scr: 152597
ERROR: scr 0.403, dts 0.000, pts 0.400
BUFFER UNDEFLOW at stream 0, raising muxrate to 3188 kb/s, delta_scr: 138725
BUFFER UNDEFLOW at stream 0, raising muxrate to 3507 kb/s, delta_scr: 126114
ERROR: scr 0.563, dts 0.560, pts 0.600
ERROR: scr 0.567, dts 0.000, pts 0.528
BUFFER UNDEFLOW at stream 1, raising muxrate to 3858 kb/s, delta_scr: 114649
Pos: 11.4s 285f ( 0%) 24.75fps Trem: 0min 0mb A-V:0.000 [4096:448]
BUFFER UNDEFLOW at stream 0, raising muxrate to 4244 kb/s, delta_scr: 104226
ERROR: scr 6.690, dts 6.680, pts 6.720
BUFFER UNDEFLOW at stream 0, raising muxrate to 4668 kb/s, delta_scr: 94751
ERROR: scr 6.789, dts 0.000, pts 6.736
ERROR: scr 6.877, dts 0.000, pts 6.768
ERROR: scr 6.943, dts 0.000, pts 6.800
ERROR: scr 6.947, dts 0.000, pts 6.832
ERROR: scr 7.133, dts 0.000, pts 6.864
BUFFER UNDEFLOW at stream 0, raising muxrate to 5135 kb/s, delta_scr: 86137[/code]
Da u ovoj komandi ne dostaje -mpegopts iako je bilo, ali nece ovaj Mencoder pa sam je izbacio.
Error parsing option on the command line: -mpegopts
Ako ima neko dobre volje ili da mi posta svoju opciju prebacivanja u mpeg sa mencoder-om ili od transcode ili da mi javi za error sto izbaciva gdje grijesim.