VideoHelp Forum
+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 32
Thread
  1. Hi anyone,

    I would like transcode from .mxf to .mjpg with FFMPEG but my NLE (In Sync Speed Razor 5.51) don't read the output files that I generate with ffmpeg.

    I have upload my input files C0020.MXF on my dropbox: you can download it if you go on www.dropbox.com ad logon into it with this credential:

    user: mrocchini@email.it
    pass: centrale

    My source is C0020.MXF and my reference output il C0020.AVI

    I can not directly import .mxf files in Speed Razor, but I can use .avi/mjpg file e.g. the C0020.AVI I have in the dropbox.

    This C0020.MXF is generated exporting C0020.mxf from another NLE (In Sync Blade 2.2) but the same results I can achieve using Virtualdub (I have previously installed the PIC Mjpeg compressor/decompressor in my pc).

    I prefer use FFMPEG because I need of a -vtag MJPG [virtualdub generate as video tag "mjpg" but Speed Razor can use only "MJPG" and not "mjpg", but when I modify the output file .avi of virtualdub "mjpg"--->"MJPG" with a HEX editor the file is correctly readable by Speed Razor, so I can prefer use ffmpeg. There is another reason for using ffmpeg: ffmpeg export the same timecode to the .mjpg/avi file of the souce, Virtualdub loss the timecode metadata tag]

    For trascoding C0020.mxf I use:

    ffmpeg -y -i c0020.mxf -vcodec mjpeg -pix_fmt yuvj422p -vtag MJPG -an output.avi

    but output.avi don't work, the NLE import the file but don't play it.

    I would like to achieve a c0020.avi with ffmpeg that have same caratherics of the one I have in the dropbox, this is ok, I can play this file on the NLE:

    General
    Complete name : D:\c20\c0020.avi
    Format : AVI
    Format/Info : Audio Video Interleave
    File size : 38.2 MiB
    Duration : 6s 0ms
    Overall bit rate : 53.4 Mbps

    Video
    ID : 0
    Format : JPEG
    Codec ID : MJPG
    Duration : 6s 0ms
    Bit rate : 53.3 Mbps
    Width : 1 920 pixels
    Height : 1 080 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 : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 1.028
    Stream size : 38.1 MiB (100%)


    The output.avi of ffmpeg, the wrog file it wont'play in NLE, is this:

    General
    Complete name : D:\output.avi
    Format : AVI
    Format/Info : Audio Video Interleave
    File size : 106 MiB
    Duration : 36s 600ms
    Overall bit rate : 24.4 Mbps
    Writing application : Lavf55.18.102

    Video
    ID : 0
    Format : JPEG
    Codec ID : MJPG
    Duration : 36s 600ms
    Bit rate : 24.4 Mbps
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 25.000 fps
    Color space : YUV
    Bit depth : 8 bits
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.470
    Stream size : 106 MiB (100%)

    The source file [c0020.mxf] is this:

    General
    Complete name : d:\C0020.mxf
    Format : MXF
    Commercial name : XDCAM HD422
    Format profile : OP-1a
    Format settings : Closed / Complete
    File size : 263 MiB
    Duration : 36s 600ms
    Overall bit rate : 60.3 Mbps
    Encoded date : 2013-05-24 22:12:18.000
    Writing application : SONY Opt 1.22
    Writing library : SONY Opt 1.22

    Video
    ID : 2
    Format : MPEG Video
    Commercial name : XDCAM HD422
    Format version : Version 2
    Format profile : 4:2:2@High
    Format settings, BVOP : Yes
    Format settings, Matrix : Custom
    Format settings, GOP : M=3, N=12
    Format_Settings_Wrapping : Frame
    Duration : 36s 600ms
    Bit rate : 50.0 Mbps
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 25.000 fps
    Standard : Component
    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) : 0.965
    Stream size : 218 MiB (83%)
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709

    Audio #1
    ID : 3
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Constant
    Bit rate : 1 152 Kbps
    Channel(s) : 1 channel
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Stream size : 5.03 MiB (2%)

    Audio #2
    ID : 4
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Constant
    Bit rate : 1 152 Kbps
    Channel(s) : 1 channel
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Stream size : 5.03 MiB (2%)

    Audio #3
    ID : 5
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Constant
    Bit rate : 1 152 Kbps
    Channel(s) : 1 channel
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Stream size : 5.03 MiB (2%)

    Audio #4
    ID : 6
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Constant
    Bit rate : 1 152 Kbps
    Channel(s) : 1 channel
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Stream size : 5.03 MiB (2%)

    Audio #5
    ID : 7
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Constant
    Bit rate : 1 152 Kbps
    Channel(s) : 1 channel
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Stream size : 5.03 MiB (2%)

    Audio #6
    ID : 8
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Constant
    Bit rate : 1 152 Kbps
    Channel(s) : 1 channel
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Stream size : 5.03 MiB (2%)

    Audio #7
    ID : 9
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Constant
    Bit rate : 1 152 Kbps
    Channel(s) : 1 channel
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Stream size : 5.03 MiB (2%)

    Audio #8
    ID : 10
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Constant
    Bit rate : 1 152 Kbps
    Channel(s) : 1 channel
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Stream size : 5.03 MiB (2%)

    Other #1
    ID : 1
    Type : Time code
    Format : MXF TC
    Time code of first frame : 01:34:21:15
    Time code settings : Striped

    Other #2
    Type : Time code
    Format : SMPTE TC
    Muxing mode : SDTI
    Time code of first frame : 01:34:21:15


    It seems to me the only difference from c0020.avi (the ok file) and ouput.avi (the wrong) is c0020.avi is "progressive".

    Can I achieve the progressive with FFMPEG? thank to all
    Image Attached Thumbnails Click image for larger version

Name:	SR.JPG
Views:	532
Size:	265.5 KB
ID:	20180  

    Last edited by marcorocchini; 25th Sep 2013 at 09:22.
    Quote Quote  
  2. I only saw C0020.AVI file at your dropbox page.
    Quote Quote  
  3. oh sorry it's jet in uploading, it need 50 minutes: sorry
    Quote Quote  
  4. Possibly I would like preserve the 4:2:2 subsampling and 50Mbit/s stream. I think the problem is regarding the fielding.

    Seems the NLE accept only "NO fielding" as source for .avi/mjpg files.

    Another question: can I set the ffmpeg so it generate CBR streams?
    Image Attached Thumbnails Click image for larger version

Name:	SR24.JPG
Views:	411
Size:	404.5 KB
ID:	20181  

    Quote Quote  
  5. file c0020.mxf now present
    Quote Quote  
  6. I was able to open the video in VirtualDub after a straight remux with ffmpeg:

    Code:
     ffmpeg -i c0020.mxf -vcodec copy -acodec copy c0020.avi
    You'll need ffdshow to decode the video. Enable the VFW "MPEG in AVI" decoder. That will probably work in the software you're using. Here's the first 60 frames or so (the remux got a silent audio track).
    Image Attached Files
    Last edited by jagabo; 25th Sep 2013 at 11:49.
    Quote Quote  
  7. My NLE can manage only Mjpeg files. Remux.avi is a mpeg2 and Speed Razor can not manage directly mpeg2 video files: it can do it teorically but the playback is jerky because using VFW codec.
    Speed Razor support native Mjpeg and my target is only Mjpeg.

    My source = .mxf files [mpeg2 hd 4:2:2] ; my target Mjpeg al least 50 Mbs 4:2:2

    using zeranoe version of ffmpeg seems possible achieve directly mpeg2 files:

    ffmpeg -i c0020.mxf -vcodec mpeg2video -an output.avi

    (in low bitrate mode)

    But I need Mjpeg
    Quote Quote  
  8. Originally Posted by marcorocchini View Post
    Speed Razor... can do it teorically but the playback is jerky because using VFW codec.
    You're going to lose quality by reencoding to MJPEG and lose quality again for your final render. You can eliminate the first loss by editing the MPEG 2 video directly.

    Do you know how to set the MJPEG quality with ffmpeg? The default is really bad.
    Last edited by jagabo; 25th Sep 2013 at 12:48.
    Quote Quote  
  9. Have you tried encoding with ffmpeg with 4:2:0 chroma instead of 4:2:2? Does your editor accept that?
    Last edited by jagabo; 25th Sep 2013 at 12:47.
    Quote Quote  
  10. Click image for larger version

Name:	PIC.JPG
Views:	1035
Size:	31.2 KB
ID:	20185

    Is not possibile because it does not support natively Mpeg2. It have a plugin (mjpeg_avi.rzf) that can manage directly only mjpeg format... it's an old but powerful NLE. Unfortunately the software-house (In Sync) manufacturer has closed just before release hd-version.

    It have a brother: Blade 2.2 that can import also .mxf and mpeg2 but the external call to vfw files causes many problem of jerky playback and other problems.

    Speed Razor 5.51 and Blade 2.2 can only manage directly mjpeg .avi files: I have do a series of test with .mjpeg using matrox .mjpeg and PIC .mjpeg video codec: at the best results the quality is 99,9% the original files.

    If I transcode a .mxf avi source with the PIC mjpeg I achieve in mjpeg practically the same quality even if the disk size is 200% greater the source.

    By many and many tests I conducted with broadcast monitor I can say that the loss of quality is absolutely not visible to the naked eye: using PIC mjpeg if the quality ratio is 19 the quality of transcoded video is 99,9% the same.

    I can tell you that in this case the loss of quality is absolutely non-existent.

    If you do not believe try to use the pic exactly as I have configured and compares the source and destination in a HD broadcast monitor: without knowing during the switching you will not be able to distinguish the origin and destination.

    My problem is this: transcoding in .mjpeg I used blade or virtualdub but for practicity I need to use a command line system.

    My question is: I need use FFMPEG to achieve the same results (c0020.avi) of virtualdub. When I open a file generated with virtualdub is all ok, but my nle don't open files mjpeg generated in FFMPEG, maybe because it don't do the progressive
    Quote Quote  
  11. Originally Posted by jagabo View Post
    Have you tried looking for an MJPEG decoder that accepts "mjpg" in addition to "MJPG" as the fourcc? ffdshow's MJPEG decoder works with both. Or is your software limited to using its own internal MJPEG decoder?
    my problem is encoding with a "MJPG" tag: ffmpeg do it, virtualdub not (virtualdub write mjpg and not MJPG)

    my problem is in encoding, not in decoding

    My NLE (speed razor 5.51) have and internal decoder, and can manage mjpeg file by a specific plugin (mjpeg_avi.rzf) so this allow to decode and internally-manage directly the video files, this allow to avoid the use of VFW-codecs and and all the problems that this implies. Unfortunately it can manage only mjpeg files.
    Image Attached Thumbnails Click image for larger version

Name:	VD.JPG
Views:	815
Size:	363.1 KB
ID:	20186  

    Last edited by marcorocchini; 25th Sep 2013 at 13:53.
    Quote Quote  
  12. Originally Posted by jagabo View Post
    Have you tried encoding with ffmpeg with 4:2:0 chroma instead of 4:2:2? Does your editor accept that?
    yes: it don't accept not event 4:2:0

    however, even if the nle would accept 4:2:0 .. I would never use 4:2:0 quality reduction
    Quote Quote  
  13. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Probably ffmpeg writes "something" in the AVI headers that confuses your NLE.

    And I don't think this "feature" of ffmpeg will be fixed or removed anytime soon.
    Quote Quote  
  14. Originally Posted by jagabo View Post
    You're going to lose quality by reencoding to MJPEG and lose quality again for your final render
    tHE source file is on my dropbox [C0020.mxf]

    here I upload the first 30frames reencoding in Matrox Mjpeg @ 10 MB/s (if you need matrox mjpeg codec please go in my dropbox, I have upload the codec in pub folder)

    I have used Virtualdub to encode, and the Mainconcept .mxf reader to load the C0020.mxf in virtualdub

    I found the 2 videos are indistinguishable
    Image Attached Files
    Quote Quote  
  15. Originally Posted by El Heggunte View Post
    Probably ffmpeg writes "something" in the AVI headers that confuses your NLE.

    And I don't think this "feature" of ffmpeg will be fixed or removed anytime soon.
    yes it's strange, seems the ffmpeg don't do a type of file clearly interalced or progressive: virtualdub produce mjpeg file clearly interlace (in mediainfo) and blade produce mjpeg file clearly progressive (in mediainfo) and both are playable in the nle speed razor.

    Using FFMPEG, mediainfo don't specify interlaced or progressive... and the speed razor can not read nothing of the ffmpeg output
    Quote Quote  
  16. excluding the problem on video, using ffmpeg I have 2 important advantages:

    1) the file output have the correct header ("MJPG" and not "mjpg")

    2) I can trasfer timecode in the ouput

    ... but the video part are not readable from the NLE

    Using Virtualdub, the video part is readable... but the header is not correct (I have to use an Hex editor and manually set "MJPG" in place of "mjpg") and I loose timecode

    It's very strange because ffmpeg is a good tool

    ... ... Is there a way to use VFW codec by ffmpeg?
    Quote Quote  
  17. Have you tried remuxing the output from ffmpeg with VirtualDub (Direct Stream Copy mode)? At least as a test. To see if it's something about the way the file is muxed. VirtualDub includes an ODML header and arranges the chunks differently.

    Or what about using -pix_fmt yuyv422 in ffmpeg?
    Quote Quote  
  18. I have try this:

    ffmpeg -y -i c0020.mxf -vcodec mjpeg -pix_fmt yuvj422p -b:v 50M -an -vtag MJPG testout.avi

    Next passage:

    load the testout.avi (in my system the default mjpeg codec is "pic mjpeg codec v.4"), set No audio, direct stream copy and savi to avi testout2.avi

    import testout2.avi in Speed Razor: not readable

    Header of testout2.avi seems ok but file not readable
    Image Attached Thumbnails Click image for larger version

Name:	VD3.JPG
Views:	507
Size:	369.2 KB
ID:	20190  

    Quote Quote  
  19. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by marcorocchini View Post
    ... ... Is there a way to use VFW codec by ffmpeg?
    Very-Good question --- ffmpeg can't use VfW, BUT Mencoder can:

    http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-video-for-windows.html

    NOTICE: Don't take that table of "supported codecs" too seriously, up-to-date documentation has never been the strong point of the Mplayer project

    It's very strange because ffmpeg is a good tool
    Not good enough, sadly. For example, the scene-change detection algorithm CANNOT be used with external libraries (xvid, x264). Besides, the use of B-frames with the libav codecs forces the use of open GOPs, unless you disable the scene-change detection (and therefore, disable the adaptive GOP size as well). Only the Devil knows why.
    Last edited by El Heggunte; 25th Sep 2013 at 18:10.
    Quote Quote  
  20. Originally Posted by marcorocchini View Post
    I have try this:

    ffmpeg -y -i c0020.mxf -vcodec mjpeg -pix_fmt yuvj422p -b:v 50M -an -vtag MJPG testout.avi
    The "-b:v 50M" helps the image quality a lot.

    Originally Posted by marcorocchini View Post
    load the testout.avi (in my system the default mjpeg codec is "pic mjpeg codec v.4"), set No audio, direct stream copy and savi to avi testout2.avi
    Did VirtualDub display the video properly? What decoder did it use? You can use File -> File Information -> Decompressor to see what decoder was used.

    Did you try using -pix_fmt yuyv422 in the ffmpeg command. I'm thinking whatever decoder you're using doesnt like planar 422.
    Quote Quote  
  21. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    MediaInfo thinks it works

    Code:
    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 15.8 MiB
    Duration                                 : 2s 833ms
    Overall bit rate                         : 46.8 Mbps
    Writing application                      : MEncoder Redxii-SVN-r36207-4.6.3
    Writing library                          : MPlayer
    
    Video
    ID                                       : 0
    Format                                   : JPEG
    Codec ID                                 : MJPG
    Duration                                 : 2s 833ms
    Bit rate                                 : 46.8 Mbps
    Width                                    : 640 pixels
    Height                                   : 480 pixels
    Display aspect ratio                     : 4:3
    Frame rate                               : 30.000 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:2
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 5.075
    Stream size                              : 15.8 MiB (100%)
    Quote Quote  
  22. The "p" in "-pix_fmt yuvj422p" stands for planar, not progressive. Ie, the video is stored as YYYYYYYY... UUUU... VVVV..., not YUYVYUYVYUYVYUYV...

    Since each scan line of YUV 4:2:2 video has its own chroma the video is progressive if the 4:2:2 source was progressive, interlaced if the 4:2:2 source was interlaced, regardless of what's flagged at the container level.
    Quote Quote  
  23. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    ^ Well-spotted, jagabo

    So I had to give a try to yuv2lav (from the MJPEGtools package),
    and probably it'll be as good ( or bad ^.^;; ) as Mencoder for the OP

    Code:
    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 13.5 MiB
    Duration                                 : 2s 833ms
    Overall bit rate                         : 39.9 Mbps
    Writing application                      : mjpegtools-2.0.0
    
    Video
    ID                                       : 0
    Format                                   : JPEG
    Codec ID                                 : MJPG
    Duration                                 : 2s 833ms
    Bit rate                                 : 39.8 Mbps
    Width                                    : 640 pixels
    Height                                   : 480 pixels
    Display aspect ratio                     : 4:3
    Frame rate                               : 30.000 fps
    Color space                              : YUV
    
    Chroma subsampling                       : 4:2:2
    
    Bit depth                                : 8 bits
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 4.323
    Stream size                              : 13.5 MiB (100%)
    EDIT: No, the result has the color channels swapped
    Last edited by El Heggunte; 25th Sep 2013 at 20:16. Reason: update
    Quote Quote  
  24. but with the mencoder have you try my C0020.MXF as source?
    Quote Quote  
  25. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by marcorocchini View Post
    but with the mencoder have you try my C0020.MXF as source?
    Yes, Mencoder's mxf demultiplexer is working as expected.

    Not sure what will be the response from your obsolete NLE, though
    Last edited by El Heggunte; 26th Sep 2013 at 07:17. Reason: bash more ;-P
    Quote Quote  
  26. Lone soldier Cauptain's Avatar
    Join Date
    Jan 2006
    Location
    Brazil
    Search Comp PM
    Originally Posted by marcorocchini View Post
    Hi anyone,

    I have upload my input files C0020.MXF on my dropbox: you can download it if you go on www.dropbox.com ad logon into it with this credential:

    user: mrocchini@email.it
    pass: xxxxxxxx
    Hi marcorocchini,

    Just remove your e-mail/password and only "share"(10 seconds action) your files using Dropbox. Too easy man.




    Claudio
    Quote Quote  
  27. Originally Posted by El Heggunte View Post
    Originally Posted by marcorocchini View Post
    but with the mencoder have you try my C0020.MXF as source?
    Yes, Mencoder's mxf demultiplexer is working as expected.

    Not sure what will be the response from your obsolete NLE, though
    oh thanks, so the command line of mencoder is?
    Quote Quote  
  28. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by marcorocchini View Post
    oh thanks, so the command line of mencoder is?
    http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-video-for-windows.html
    Image Attached Images  
    Quote Quote  
  29. I tried to change strategy: in the project setting of the Speed Razor ha have set the using of external-codec call.
    So this way the Speed Razor use PIC mjpeg codec for render parts, transitions ecc.. but I can not set the Speed Razor for use a Mpeg2 codec because playback is wrong, I can use only mjpeg files.

    Using:

    ffmbc -y -i c0020.mxf -vcodec mjpeg -pix_fmt yuvj422p -vf colormatrix=bt709:bt601 -sameq -vtag MJPG -an testout.avi

    it all ok, Speed Razor import clip and work properly when the Speed Razor use the PIC mjpeg external codec.

    Using:

    ffmpeg -y -i c0020.mxf -vcodec mjpeg -pix_fmt yuv422p -vf colormatrix=bt709:bt601 -q:v 0 -vtag MJPG -an testout4.avi

    don't import correctly.


    And yet the two compilers semms are virtually identical but using ffmbc testout.avi is playable, with FFMPEG no.

    So your question is: why you don't use FFMBC? because FFMBC don't copy the timecode metadata tag.


    D:\BUDA\MXForg>ffmbc -y -i c0020.mxf -vcodec mjpeg -pix_fmt yuvj422p -vf colorma
    trix=bt709:bt601 -intra -sameq -vtag MJPG -an testout.avi
    FFmbc version 0.7-rc8
    Copyright (c) 2008-2013 Baptiste Coudurier and the FFmpeg developers
    Input #0, mxf, from 'c0020.mxf':
    Metadata:
    operational_pattern: Op1a
    system_timecode: 01:34:21:15
    timecode: 01:34:21:15
    Duration: 00:00:36.60, bitrate: 60256 kb/s
    Stream #0.0(und): Video: mpeg2video (4:2:2), yuv422p, 1920x1080i tff [PAR 1:
    1 DAR 16:9], 50000 kb/s, 25.00 fps
    Stream #0.1(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.2(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.3(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.4(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.5(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.6(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.7(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.8(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    [colormatrix @ 01cd94c0] bt709 -> bt601
    [scale @ 01e9fea0] w:1920 h:1080 fmt:yuv422p -> w:1920 h:1080 fmt:yuvj422p flags
    :0x4 il:0
    Output #0, avi, to 'testout.avi':
    Metadata:
    ISFT: FFmbc 0.7
    Stream #0.0(und): Video: mjpeg, yuvj422p, 1920x1080p [PAR 1:1 DAR 16:9], 200
    kb/s, 25.00 fps
    Stream mapping:
    Stream #0.0 -> #0.0
    Press [q] to stop, [?] for help
    frame= 3 fps= 12 q=0.0 size= 1726kB time=00:00:00.12 bitrate=117804.0kbits

    ...

    frame= 915 fps= 12 q=0.0 Lsize= 556566kB time=00:00:36.60 bitrate=124573.6kbit
    s/s
    video:556539kB audio:0kB global headers:0kB muxing overhead 0.004930%






    D:\>ffmpeg -y -i c0020.mxf -vcodec mjpeg -pix_fmt yuv422p -vf colormatrix=bt709:
    bt601 -intra -q:v 0 -vtag MJPG -an testout4.avi
    ffmpeg version N-54362-ge0be3cb Copyright (c) 2000-2013 the FFmpeg developers
    built on Jul 2 2013 22:15:59 with gcc 4.7.3 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
    amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
    enable-libxvid --enable-zlib
    libavutil 52. 38.100 / 52. 38.100
    libavcodec 55. 18.100 / 55. 18.100
    libavformat 55. 11.100 / 55. 11.100
    libavdevice 55. 2.100 / 55. 2.100
    libavfilter 3. 77.101 / 3. 77.101
    libswscale 2. 3.100 / 2. 3.100
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 3.100 / 52. 3.100
    Guessed Channel Layout for Input Stream #0.1 : mono
    Guessed Channel Layout for Input Stream #0.2 : mono
    Guessed Channel Layout for Input Stream #0.3 : mono
    Guessed Channel Layout for Input Stream #0.4 : mono
    Guessed Channel Layout for Input Stream #0.5 : mono
    Guessed Channel Layout for Input Stream #0.6 : mono
    Guessed Channel Layout for Input Stream #0.7 : mono
    Guessed Channel Layout for Input Stream #0.8 : mono
    Input #0, mxf, from 'c0020.mxf':
    Metadata:
    uid : 41821e00-3664-05c1-0270-08004602023b
    generation_uid : 41821e00-3664-05c2-0270-08004602023b
    company_name : SONY
    product_name : Opt
    product_version : 1.22
    product_uid : 060e2b34-0401-0103-0e06-012002010300
    modification_date: 2013-05-24 22:12:18
    timecode : 01:34:21:15
    Duration: 00:00:36.60, start: 0.000000, bitrate: 60256 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9
    ], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Incompatible pixel format 'yuv422p' for codec 'mjpeg', auto-selecting format 'yu
    vj422p'
    Output #0, avi, to 'testout4.avi':
    Metadata:
    uid : 41821e00-3664-05c1-0270-08004602023b
    generation_uid : 41821e00-3664-05c2-0270-08004602023b
    company_name : SONY
    product_name : Opt
    product_version : 1.22
    product_uid : 060e2b34-0401-0103-0e06-012002010300
    modification_date: 2013-05-24 22:12:18
    ISMP : 01:34:21:15
    ISFT : Lavf55.11.100
    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 1920x1080 [SAR 1:1
    DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream mapping:
    Stream #0:0 -> #0:0 (mpeg2video -> mjpeg)
    Press [q] to stop, [?] for help
    [mpeg2video @ 02a15dc0] warning: first frame is no keyframe
    Last message repeated 1 times
    frame= 9 fps=0.0 q=0.0 size= 4092kB time=00:00:00.28 bitrate=119725.1kbits

    ...

    frame= 915 fps= 25 q=0.0 Lsize= 555465kB time=00:00:36.60 bitrate=124326.9kbit
    s/s
    video:555437kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.004958%
    Image Attached Thumbnails Click image for larger version

Name:	SR5.JPG
Views:	465
Size:	257.2 KB
ID:	20241  

    Quote Quote  
  30. My question is: why with FFMBC I achieve a correct video mjpeg/.avi and with FFMPEG no?
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!