VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. Member
    Join Date
    Dec 2021
    Location
    Zagreb
    Search Comp PM
    EDIT: I think I figured it out, I needed to pass GOP settings for both files in ffmpeg first.

    Hello! I'm looking to automate my workflow. Here is my wanted end result:
    https://www.youtube.com/watch?v=-wEC6rWnckQ

    Here is my current pipeline:

    Files can be found here: https://drive.google.com/drive/folders/12Xj34svD5pV93L5BR-_BEcmaMOX9_FDz?usp=sharing

    1. I record two videos (first.mp4 and second.mp4)
    2. I open avidemux, (set it to Mpeg4 AVC (x264) with: GOP Size Minimum: 0, Maximum: 999, Maximum Consecutive B-frames: 0), save both files as first.mkv and second.mkv
    3. I open second.mkv in avidemux and delete all I-frames manually, save this file as second_edit.mkv
    4. I concat files in ffmpeg "ffmpeg -safe 0 -f concat -i ./files.txt -c copy output.mkv"
    5. I compress files into mp4 "ffmpeg -i output.mkv -c:v libx264 -an -x264-params crf=30 compressed.mp4"


    Now if I instead do "ffmpeg -i second.mp4 -c:v libx264 -bsf:v noise=drop='key' -acodec copy second_edit.mp4" and then concat them (https://drive.google.com/open?id=13b5faNFGJUPCUSSmWWTgXV1GTVPQz9gk&authuser=vkvanjavk%...m&usp=drive_fs) then video just freezes when second video is to come. Video on it's own is not runnable which makes me think it does something right at least.
    Last edited by vanjavk; 11th Dec 2021 at 03:39.
    Quote Quote  
  2. What you are doing is absolute nonsense.
    Quote Quote  
  3. Member
    Join Date
    Dec 2021
    Location
    Zagreb
    Search Comp PM
    Originally Posted by ProWo View Post
    What you are doing is absolute nonsense.
    How else would I achieve the same effect given the 2 files?
    Quote Quote  
  4. Originally Posted by ProWo View Post
    What you are doing is absolute nonsense.
    It's a thing. Called datamoshing: http://datamoshing.com/2017/02/12/how-to-datamosh-videos-with-automation/
    Quote Quote  
  5. Originally Posted by vanjavk View Post
    Now if I instead do "ffmpeg -i second.mp4 -c:v libx264 -bsf:v noise=drop='key' -acodec copy second_edit.mp4" and then concat them (https://drive.google.com/open?id=13b5faNFGJUPCUSSmWWTgXV1GTVPQz9gk&authuser=vkvanjavk%...m&usp=drive_fs) then video just freezes when second video is to come. Video on it's own is not runnable which makes me think it does something right at least.
    I get the error message:

    Code:
    [noise @ 00000263f1dace00] Option 'drop' not found
    Error parsing bitstream filter sequence 'noise=drop='key'': Option not found
    Last edited by jagabo; 10th Dec 2021 at 16:57.
    Quote Quote  
  6. Member
    Join Date
    Dec 2021
    Location
    Zagreb
    Search Comp PM
    Originally Posted by jagabo View Post
    Originally Posted by vanjavk View Post
    Now if I instead do "ffmpeg -i second.mp4 -c:v libx264 -bsf:v noise=drop='key' -acodec copy second_edit.mp4" and then concat them (https://drive.google.com/open?id=13b5faNFGJUPCUSSmWWTgXV1GTVPQz9gk&authuser=vkvanjavk%...m&usp=drive_fs) then video just freezes when second video is to come. Video on it's own is not runnable which makes me think it does something right at least.
    I get the error message:

    Code:
    [noise @ 00000263f1dace00] Option 'drop' not found
    Error parsing bitstream filter sequence 'noise=drop='key'': Option not found
    I believe I solved this by installing full version of ffmpeg iirc, but I definitely had same error. On the other hand I think I figured my problem out, I needed to pass GOP settings to ffmpeg and now it seems to be working.
    Quote Quote  



Similar Threads

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