MEncode - dynamicky bitrate?

Mario

MEncode - dynamicky bitrate?
« kdy: 09. 03. 2012, 09:25:15 »
Ahoj, mam problem s prevadenim videa, ktere ma dynamicky bitrate a tim mi MEncode vynechava framy. Vysledne video potrebuji mit ve statickem? Nejaky napad jak to resit? Popripade i jiny program...


trubicoid2

Re:MEncode - dynamicky bitrate?
« Odpověď #1 kdy: 09. 03. 2012, 09:52:22 »
asi mam podobny problem, vstupni video je 3gp z android mobilu s h264, pise sice 30fps, ale jaksi skutecny fps jsou nizsi a pro kazdy video jiny....

kdyz to koduju do xvid avi s mencoderem, tak se mi rozjizdi zvuk s obrazem :(

takze predpokladam, ze mame stejny problem, von podle me avi + xvid umi jenom konstantni fps

ja bych to ani nepotreboval prekodovat, ale nektery videa jsou hlavou-dolu, tak bych to potreboval nejak otocit

Mario

Re:MEncode - dynamicky bitrate?
« Odpověď #2 kdy: 09. 03. 2012, 10:37:54 »
Upresneni problemu....
MEncoder dev-SVN-r26940 (C) 2000-2008 MPlayer Team

CPU: Intel(R) Xeon(R) CPU           X3430  @ 2.40GHz (Family: 6, Model: 30, Stepping: 5)

CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1

Compiled with runtime CPU detection.

success: format: 0  data: 0x0 - 0x5ba78148

TS file format detected.

VIDEO MPEG2(pid=501) AUDIO MPA(pid=511) NO SUBS (yet)!  PROGRAM N. 770

VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0 kbyte/s)

[V] filefmt:29  fourcc:0x10000002  size:720x576  fps:25.000  ftime:=0.0400

==========================================================================

Opening audio decoder: [mp3lib] MPEG layer-2, layer-3

AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)

Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)

==========================================================================

Opening video filter: [expand osd=1]

Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1

Opening video filter: [scale w=352 h=288]

==========================================================================

Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough

VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)

The selected video_out device is incompatible with this codec.

Try appending the scale filter to your filter list,

e.g. -vf spp,scale instead of -vf spp.

VDecoder init failed :(

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)

==========================================================================

Forcing output FourCC to 44495658 [XVID].

MP3 audio selected.

VDec: vo config request - 720 x 576 (preferred colorspace: 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 10 -> 12

SwScaler: reducing / aligning filtersize 10 -> 12

SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: reducing / aligning filtersize 9 -> 8

[swscaler @ 0xa1e8d0]BICUBIC scaler, from yuv420p to yuv420p using MMX2

[swscaler @ 0xa1e8d0]using n-tap MMX scaler for horizontal luminance scaling

[swscaler @ 0xa1e8d0]using n-tap MMX scaler for horizontal chrominance scaling

[swscaler @ 0xa1e8d0]using n-tap MMX scaler for vertical scaling (YV12 like)

[swscaler @ 0xa1e8d0]720x576 -> 352x288

videocodec: libavcodec (352x288 fourcc=44495658 [XVID])

Writing header...

ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Setting audio delay to 0.048s.

Writing header...

ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Setting audio delay to 0.048s.

Writing header...

ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Setting audio delay to 0.048s.

New_Face failed. Maybe the font path is wrong.

Please supply the text font file (~/.mplayer/subfont.ttf).

subtitle font: load_sub_face failed.

New_Face failed. Maybe the font path is wrong.

Please supply the text font file (~/.mplayer/subfont.ttf).

subtitle font: load_sub_face failed.

Writing header...

ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Setting audio delay to 0.048s.

Writing header...

ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Setting audio delay to 0.048s.

VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)

VDec: using Planar YV12 as output csp (no 0)

Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.

[mpeg2video @ 0xa38c60]00 motion_type at 12 30

[mpeg2video @ 0xa38c60]00 motion_type at 2 4

[mpeg2video @ 0xa38c60]00 motion_type at 3 5

[mpeg2video @ 0xa38c60]00 motion_type at 0 6

[mpeg2video @ 0xa38c60]00 motion_type at 0 7

[mpeg2video @ 0xa38c60]00 motion_type at 0 8

[mpeg2video @ 0xa38c60]00 motion_type at 0 9

[mpeg2video @ 0xa38c60]00 motion_type at 10 10

[mpeg2video @ 0xa38c60]00 motion_type at 0 11

[mpeg2video @ 0xa38c60]00 motion_type at 0 12

[mpeg2video @ 0xa38c60]00 motion_type at 0 13

[mpeg2video @ 0xa38c60]00 motion_type at 0 14

[mpeg2video @ 0xa38c60]00 motion_type at 26 15

[mpeg2video @ 0xa38c60]00 motion_type at 5 16

[mpeg2video @ 0xa38c60]00 motion_type at 2 17

[mpeg2video @ 0xa38c60]00 motion_type at 3 18

[mpeg2video @ 0xa38c60]00 motion_type at 19 19

[mpeg2video @ 0xa38c60]00 motion_type at 19 20

[mpeg2video @ 0xa38c60]00 motion_type at 11 21

[mpeg2video @ 0xa38c60]mb incr damaged

[mpeg2video @ 0xa38c60]00 motion_type at 0 23

[mpeg2video @ 0xa38c60]00 motion_type at 0 24

[mpeg2video @ 0xa38c60]00 motion_type at 0 25

[mpeg2video @ 0xa38c60]00 motion_type at 0 26

[mpeg2video @ 0xa38c60]00 motion_type at 0 27

[mpeg2video @ 0xa38c60]00 motion_type at 0 28

[mpeg2video @ 0xa38c60]00 motion_type at 0 29

[mpeg2video @ 0xa38c60]00 motion_type at 0 30

[mpeg2video @ 0xa38c60]00 motion_type at 0 31

[mpeg2video @ 0xa38c60]00 motion_type at 0 32

[mpeg2video @ 0xa38c60]00 motion_type at 0 33

[mpeg2video @ 0xa38c60]00 motion_type at 0 34

[mpeg2video @ 0xa38c60]00 motion_type at 0 35

[mpeg2video @ 0xa38c60]Warning MVs not available

[mpeg2video @ 0xa38c60]concealing 1440 DC, 1440 AC, 1440 MV errors

[mpeg2video @ 0xa38c60]concealing 3 DC, 3 AC, 3 MV errors

[mpeg2video @ 0xa38c60]00 motion_type at 15 30

[mpeg2video @ 0xa38c60]concealing 45 DC, 45 AC, 45 MV errors

[mpeg2video @ 0xa38c60]00 motion_type at 43 15

[mpeg2video @ 0xa38c60]Warning MVs not available

[mpeg2video @ 0xa38c60]concealing 135 DC, 135 AC, 135 MV errors

[mpeg2video @ 0xa38c60]concealing 96 DC, 96 AC, 96 MV errors

[mpeg2video @ 0xa38c60]concealing 30 DC, 30 AC, 30 MV errors

[mpeg2video @ 0xa38c60]00 motion_type at 14 14

[mpeg2video @ 0xa38c60]concealing 194 DC, 194 AC, 194 MV errors

[mpeg2video @ 0xa38c60]concealing 194 DC, 194 AC, 194 MV errors

[mpeg2video @ 0xa38c60]invalid cbp at 26 2

[mpeg2video @ 0xa38c60]concealing 90 DC, 90 AC, 90 MV errors

[mpeg2video @ 0xa38c60]mb incr damaged

[mpeg2video @ 0xa38c60]concealing 90 DC, 90 AC, 90 MV errors

[mpeg2video @ 0xa38c60]invalid mb type in I Frame at 0 18

[mpeg2video @ 0xa38c60]Warning MVs not available

[mpeg2video @ 0xa38c60]concealing 90 DC, 90 AC, 90 MV errors

[mpeg2video @ 0xa38c60]invalid mb type in P Frame at 23 20

[mpeg2video @ 0xa38c60]concealing 45 DC, 45 AC, 45 MV errors

[mpeg2video @ 0xa38c60]ac-tex damaged at 28 17

[mpeg2video @ 0xa38c60]concealing 45 DC, 45 AC, 45 MV errors

[mpeg2video @ 0xa38c60]concealing 42 DC, 42 AC, 42 MV errors

[mpeg2video @ 0xa38c60]invalid cbp at 16 19

[mpeg2video @ 0xa38c60]concealing 180 DC, 180 AC, 180 MV errors

[mpeg2video @ 0xa38c60]mb incr damaged

[mpeg2video @ 0xa38c60]00 motion_type at 29 30

[mpeg2video @ 0xa38c60]concealing 270 DC, 270 AC, 270 MV errors

[mpeg2video @ 0xa38c60]ac-tex damaged at 9 35

[mpeg2video @ 0xa38c60]concealing 90 DC, 90 AC, 90 MV errors

[mpeg2video @ 0xa38c60]00 motion_type at 3 3

[mpeg2video @ 0xa38c60]concealing 180 DC, 180 AC, 180 MV errors

TS_PARSE: COULDN'T SYNC

 

Broken frame at 0x50B42A0

 

Flushing video frames.

Writing index...

Writing header...

ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Setting audio delay to 0.040s.

 

Video stream:  632.153 kbit/s  (79019 B/s)  size: 278580234 bytes  3525.480 secs  88153 frames

 

Audio stream:   64.000 kbit/s  (8000 B/s)  size: 28201920 bytes  3525.240 secs

 

trubicoid2

Re:MEncode - dynamicky bitrate?
« Odpověď #3 kdy: 12. 03. 2012, 17:24:32 »
no a z ceho jsi usoudil, ze mas dynamicky bitrate? a jaky prikaz pouzivas na konverzi?

mas -vf harddup? spis mi pripada, ze mencoder spatne demultiplexuje ten vstupni stream, co to je?