Hi
considering my source https://dl.dropboxusercontent.com/u/39871584/C0020.mxf
I use virtualdub (Virtualdub 1.10.04+FFmpeginputdriverplugin V0.8.1.4) in fast recompress mode to encode video with morgan mjpeg codec with this parameters:
General
Complete name : D:\vd.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 269 MiB
Duration : 36s 600ms
Overall bit rate : 61.7 Mbps
Writing library : VirtualDub build 35491/release
Video
ID : 0
Format : JPEG
Codec ID : MJPG
Duration : 36s 600ms
Bit rate : 61.7 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Original height : 1 088 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 1.190
Stream size : 269 MiB (100%)
But now I try to use mencoder as this:
mencoder C0020.mxf -ovc vfw -xvfwopts codec=m3jpeg32.dll:compdata=dialog -nosound -o outputMencoder.avi
and set in the dialog the same parameters used in virtualdub
MEncoder sherpya-r36986+g9c99bc1-4.8 (C) 2000-2014 MPlayer Team
success: format: 0 data: 0x0 - 0x106e6e60
libavformat version 55.34.100 (internal)
libavformat file format detected.
[lavf] stream 0: video (mpeg2video), -vid 0
[lavf] stream 1: audio (pcm_s24le), -aid 0
[lavf] stream 2: audio (pcm_s24le), -aid 1
[lavf] stream 3: audio (pcm_s24le), -aid 2
[lavf] stream 4: audio (pcm_s24le), -aid 3
[lavf] stream 5: audio (pcm_s24le), -aid 4
[lavf] stream 6: audio (pcm_s24le), -aid 5
[lavf] stream 7: audio (pcm_s24le), -aid 6
[lavf] stream 8: audio (pcm_s24le), -aid 7
VIDEO: [MPG2] 1920x1080 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x3247504D size:1920x1080 fps:25.000 ftime:=0.0400
Loading codec DLL: 'm3jpeg32.dll'
Loaded DLL driver m3jpeg32.dll at 10000000
HIC: 2671b98
568 - 568 - 568
Compressor type: 63646976
Compressor subtype: 47504a4d
Compressor flags: 3, version 65536, ICM version: 260
Flags: quality
ICCompressGetFormatSize ret: 68
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.52.102 (internal)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
================================================== ========================
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [flip]
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 01474f00]using unscaled yuv422p -> bgr24 special converter
Opening video filter: [expand]
Expand: -1 x -1, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
Starting compression:
Input format:
biSize 40
biWidth 1920
biHeight 1080
biPlanes 1
biBitCount 24
biCompression 0x0 ('')
biSizeImage 6220800
Output format:
biSize 40
biWidth 1920
biHeight 1080
biPlanes 1
biBitCount 24
biCompression 0x47504a4d ('MJPG')
biSizeImage 6220800
Output format after query/begin:
biSize 40
biWidth 1920
biHeight 1080
biPlanes 1
biBitCount 24
biCompression 0x47504a4d ('MJPG')
biSizeImage 6220800
Fontconfig error: Cannot load default config file 0mb A-V:0.000 [0:0]
Fontconfig failed to select a font. Trying without fontconfig...
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Fontconfig failed to select a font. Trying without fontconfig...
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: vprp aspect is 16:9.
Writing header...
ODML: vprp aspect is 16:9.
Pos: 0.1s 3f ( 1%) 0.00fps Trem: 0min 34mb A-V:0.000 [0:0]
[VD_FFMPEG] DRI failure.
Pos: 36.6s 916f (99%) 27.25fps Trem: 0min 293mb A-V:0.000 [67178:0]
Skipping frame!
Pos: 36.6s 917f (99%) 27.28fps Trem: 0min 293mb A-V:0.000 [67178:0]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16:9.
Video stream: 67178.013 kbit/s (8397251 B/s) size: 307339408 bytes 36.600 sec
s 917 frames
Resultant ouputMencoder.avi is:
General
Complete name : D:\outputMencoder.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 293 MiB
Duration : 36s 600ms
Overall bit rate : 67.2 Mbps
Writing application : MEncoder sherpya-r36986+g9c99bc1-4.8
Writing library : MPlayer
Video
ID : 0
Format : JPEG
Codec ID : MJPG
Duration : 36s 600ms
Bit rate : 67.2 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Original height : 1 088 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 1.296
Stream size : 293 MiB (100%)
But I demand: is shure the outputMencoder.avi is really YUV and not an RGB video file?
If is RGB how can I change the commandline of mencoder to avoid YUV/RGB conversion (or internal hide conversion), can I encode in yuvj422p also to have correct video levels? ouputMencoder.avi have the black too stretched, meanwhile the virtualdub one (vd.avi) is correct
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
-vc mpeg12 does not work, however I have to achieve a mjpeg file
with avisynt I have installed FFDshow (output YUY2) + LavSplitter to frameserve avisynth
gatto.avs is :
DirectShowSource("d:\c0020.mxf")
ConvertToYUY2()
and then:
mencoder C:\gatto.avs -ss 0 -endpos 50 -ovc vfw -xvfwopts codec=m3jpeg32.dll:compdata=dialog -nosound -o outputMencoder.avi
but seems nothing change, levels are bad.
Hoewever I have try mencoder hoping preserve timecode and vtag=MJPG but also mencoder seems too problematic