VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. i want to add 1 black frame to 100 clips, but the process should be fast, file will be h264 24p
    Quote Quote  
  2. far too few details to really help, so let's assume your clips all are:
    - already in the target format and have the same characteristics (resolution and format parameters)
    - have no audio
    - you want to append that frame to the start or the end
    you could create a single 1 frame long clip with the same format characteristics and use for example ffmpeg to append that frame to any of your clips using a batch file.
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  3. - already in the target format and have the same characteristics (resolution and format parameters)
    yes
    - have no audio
    have audio, but all have same format just like video
    - you want to append that frame to the start or the end
    doesnt matter start or end just add 1 frame or 10 or 1 sec clip

    the problem is i dont know and i tried ffmpeg but it didnt works, so is there any software, to do so.
    Quote Quote  
  4. what was the error message in ffmpeg ?
    Quote Quote  
  5. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Since you already have the Black video in the right format, you can use the following batch to add it to each file in the folder. I ran it in a folder with all the MP4's and the black.mp4 and the CMD file. It created all files with a black leader, even the Black file had a black leader but just delete it.

    create the following and save it as whatever.CMD

    Code:
    for %%a in (*mp4) Do (
    @echo file 'Black480 X 270_1.mp4' > mylist.txt
    @echo file '%%a' >> mylist.txt
    ffmpeg -safe 0 -f concat -i "mylist.txt" -c copy -y "%%~dpna_wframe.mp4" 
    )
    It automatically make a new list with Black first and each video 2nd and then concatenates them. You should end up with a folder like the following:

    Image
    [Attachment 52270 - Click to enlarge]


    Pay no attention to the fact that the thumbnail is not Black. My thumbnail provider is not set to the first frame and I have never bothered to change it but the video plays with 1 second black frame before video starts.

    Image
    [Attachment 52272 - Click to enlarge]
    Last edited by Budman1; 7th Mar 2020 at 22:58. Reason: better image
    Quote Quote  
  6. @budman1 any software to do so
    i dont know how to use ffmpeg and i tried but didnt work thats why i need software to do so, yesterday i research about myffmpeg software and i install it but dont know how to do this in that.
    Quote Quote  



Similar Threads

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