VideoHelp Forum




+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 41 of 41
  1. Originally Posted by poisondeathray View Post
    Add -map 0:0 after the ffmbc inputs to specify that you are using the piped video
    oh my ***

    Name:  CMC.jpg
Views: 298
Size:  60.9 KB
    Quote Quote  
  2. __________________________________________________ _______________

    Image
    [Attachment 30541 - Click to enlarge]
    Quote Quote  
  3. Code:
    ffmpeg -y -i C0104.MXF -vf yadif=1:tff,scale=720:576,colormatrix=bt709:bt601,interlace -an -pix_fmt yuv422p -c:v rawvideo -f rawvideo - | ffmbc -y -f rawvideo -pix_fmt yuv422p -s 720x576 -r 25 -i - -i C0104.MXF -vf colormatrix=bt709:bt601 -map 0:0 -acodec pcm_s24le -map_audio_channel 1:1:0:0:1:0 -map_audio_channel 1:2:0:0:1:1 -map_audio_channel 1:3:0:0:1:2 -map_audio_channel 1:4:0:0:1:3 -map_audio_channel 1:5:0:0:1:4 -map_audio_channel 1:6:0:0:1:5 -map_audio_channel 1:7:0:0:1:6 -map_audio_channel 1:8:0:0:1:7 -target imx50 thisdontvibrate.mxf
    adding the -map 0:0 it don't vibrate and seems ok

    without the -map 0:0 image vibrate :=)
    Quote Quote  
  4. but seems to me that the 2° adding colormatrix in ffmbc results in wrong levels, seems to me that using only one colormatrix 709-->601 in ffmpeg is correct

    Code:
    ffmpeg -y -i C0104.MXF -vf yadif=1:tff,scale=720:576,colormatrix=bt709:bt601,interlace -sws_flags lanczos+accurate_rnd -an -pix_fmt yuv422p -c:v rawvideo -f rawvideo - | ffmbc -y -f rawvideo -pix_fmt yuv422p -s 720x576 -r 25 -i - -i C0104.MXF -map 0:0 -acodec pcm_s24le -map_audio_channel 1:1:0:0:1:0 -map_audio_channel 1:2:0:0:1:1 -map_audio_channel 1:3:0:0:1:2 -map_audio_channel 1:4:0:0:1:3 -map_audio_channel 1:5:0:0:1:4 -map_audio_channel 1:6:0:0:1:5 -map_audio_channel 1:7:0:0:1:6 -map_audio_channel 1:8:0:0:1:7 -target imx50 output20.mxf
    I have add the -sws_flags lanczos+accurate_rnd that is almost equal the -sws_flags lanczos but final image seems a little less detailed, is there a way to have more details avoiding the use of sharp?
    Quote Quote  
  5. about the colormatrix:

    this is original camera-recording of the broadcast bars IMX: https://www.dropbox.com/s/v8tzb23ytsyrbc4/barsIMX.MXF?dl=0

    and this the HD bars: https://www.dropbox.com/s/06ixtq6rr8slth4/barsHD.MXF?dl=0

    applying

    Code:
    ffmpeg -y -i barsHD.MXF -vf yadif=1:tff,scale=720:576,colormatrix=bt709:bt601,interlace -sws_flags lanczos+accurate_rnd -an -pix_fmt yuv422p -c:v rawvideo -f rawvideo - | ffmbc -y -f rawvideo -pix_fmt yuv422p -s 720x576 -r 25 -i - -i barsHD.MXF -map 0:0 -acodec pcm_s24le -map_audio_channel 1:1:0:0:1:0 -map_audio_channel 1:2:0:0:1:1 -map_audio_channel 1:3:0:0:1:2 -map_audio_channel 1:4:0:0:1:3 -map_audio_channel 1:5:0:0:1:4 -map_audio_channel 1:6:0:0:1:5 -map_audio_channel 1:7:0:0:1:6 -map_audio_channel 1:8:0:0:1:7 -target imx50 barsHDtoIMX.mxf
    seems to me that the new barsHDtoIMX.mxf is (almost) identical to the barsIMX.mxf that is the original recording bars IMX (SD) or the camera
    Quote Quote  
  6. I retested it and it doesn't matter, as long as you have 1 instance (either before or after) of colormatrix

    But in the past, there was a problem with ffmpeg's colormatrix filter (quality was lower than ffmbc's for some reason), and both were worse than avisynth's colormatrix despite using the same code for some reason

    I have add the -sws_flags lanczos+accurate_rnd that is almost equal the -sws_flags lanczos but final image seems a little less detailed, is there a way to have more details avoiding the use of sharp?
    -vf interlace will apply low pass (vertical blur) by default. But if you disable it the lowpass, then you get more line twittering
    https://ffmpeg.org/ffmpeg-filters.html#interlace
    Quote Quote  
  7. Originally Posted by poisondeathray View Post

    -vf interlace will apply low pass (vertical blur) by default. But if you disable it the lowpass, then you get more line twittering
    https://ffmpeg.org/ffmpeg-filters.html#interlace
    yes, too twittering (and doubled duration)

    is there another method to interlace but having more detail?
    Quote Quote  
  8. You already went through about 20 different variations on methods to resize and re-interlace +/- lowpass. Check the old threads.

    For ffmpeg-only filters, the only 2 options were -vf interlace, and -vf tinterlace. If you recall you didn't like either

    You have to live with "not as sharp", for interlace material during motion. This was already discussed several times
    Quote Quote  
  9. in ffmpeg I have found only unsharp filter, but I cannot find a "sharpen" filter :=(
    Quote Quote  
  10. Originally Posted by marcorocchini View Post
    in ffmpeg I have found only unsharp filter, but I cannot find a "sharpen" filter :=(
    unsharp is the sharpen filter in ffmpeg. It can sharpen or blur. (+) values sharpen , (-) values blur

    https://ffmpeg.org/ffmpeg-filters.html#unsharp-1
    Quote Quote  
  11. https://www.dropbox.com/s/tvcw60evf4eyey8/C0058.MXF?dl=0


    Code:
    ffmpeg -y -i C0058.MXF -vf yadif=1:tff,scale=720:576,unsharp=luma_msize_x=3:luma_msize_y=3:luma_amount=0.8,colormatrix=bt709:bt601,interlace -sws_flags lanczos+accurate_rnd -an -pix_fmt yuv422p -c:v rawvideo -f rawvideo - | ffmbc -y -f rawvideo -pix_fmt yuv422p -s 720x576 -r 25 -i - -i C0058.MXF -map 0:0 -acodec pcm_s24le -map_audio_channel 1:1:0:0:1:0 -map_audio_channel 1:2:0:0:1:1 -map_audio_channel 1:3:0:0:1:2 -map_audio_channel 1:4:0:0:1:3 -map_audio_channel 1:5:0:0:1:4 -map_audio_channel 1:6:0:0:1:5 -map_audio_channel 1:7:0:0:1:6 -map_audio_channel 1:8:0:0:1:7 -target imx50 C0058HDtoIMX.mxf
    Name:  HC1.jpg
Views: 282
Size:  26.7 KB thanks poison
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!