VideoHelp Forum




+ Reply to Thread
Results 1 to 21 of 21
  1. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    Dear All

    I am beginner in the adjustment of the video files
    I want to merge to the video file cover, font, subtitle and remove what in the original file has

    of course this is easy if I have one or two but I have here anime still running and for now it is 80 episodes so how I can change for all folder?

    the single file changing will be as below, at window CMD.exe
    Code:
    "C:/Program Files/MKVToolNix\mkvmerge.exe" --ui-language en --output ^"D:\sample\01.mkv^" --no-subtitles --no-attachments --language 0:und --default-track 0:yes --language 1:jpn --default-track 1:yes ^"^(^" ^"D:\example\01.mkv^" ^"^)^" --language 0:und ^"^(^" ^"D:\example\01.ass^" ^"^)^" --attachment-name ^"adobe arabic.ttf^" --attachment-mime-type application/x-truetype-font --attach-file ^"D:\Attach\adobe arabic.ttf^" --attachment-name cover.jpg --attachment-mime-type image/jpeg --attach-file ^"D:\Attach\cover.jpg^" --track-order 0:0,0:1,1:0
    please note that I used (MKVBatch) but it didn't deal correct and some files went totally wrong in addition the correct files has no attachments
    Last edited by ghazalo; 24th Apr 2019 at 11:52.
    Quote Quote  
  2. I would like to help you, but it is not allowed to deal with warez.
    I'm pretty sure this thread is closed very soon.


    My personal advice: don't use suspicious filenames and directories
    Quote Quote  
  3. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    Originally Posted by flashandpan007 View Post
    I would like to help you, but it is not allowed to deal with warez.
    I'm pretty sure this thread is closed very soon.


    My personal advice: don't use suspicious filenames and directories
    please explain to me ? I don't understand whats the not allowed? I am trying to merge subtitle language to video file so i can watch and understand

    if you like i will change everything to example n sample
    Quote Quote  
  4. Don't make it obvious you're talking about illegally downloaded videos by showing "Torrent" and the series name in your example command line.
    Quote Quote  
  5. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    Originally Posted by jagabo View Post
    Don't make it obvious you're talking about illegally downloaded videos by showing "Torrent" and the series name in your example command line.
    fixed

    please help
    Quote Quote  
  6. Originally Posted by ghazalo View Post
    please explain to me ? I don't understand whats the not allowed?
    https://forum.videohelp.com/threads/72386-Forum-rules-Acceptable-Use-Policy-(AUP)?
    Quote Quote  
  7. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    Originally Posted by flashandpan007 View Post
    Originally Posted by ghazalo View Post
    please explain to me ? I don't understand whats the not allowed?
    https://forum.videohelp.com/threads/72386-Forum-rules-Acceptable-Use-Policy-(AUP)?

    fixed

    please help
    Quote Quote  
  8. Example for remuxing mkv files and ass files with matching filenames in one folder.
    create *.bat file with following code:
    Code:
    for %%a in (*.mkv) do ("C:\Program Files\MKVtoolnix\mkvmerge.exe" -o "D:\new\%%~na.mkv" "%%~na.mkv" "%%~na.ass")
    place that file in folder with files and execute, the muxed new files are saved to D:\new, of course you can change that.
    For your special needs, just extend the bat with language selections and attachments.
    Quote Quote  
  9. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    Originally Posted by flashandpan007 View Post
    Example for remuxing mkv files and ass files with matching filenames in one folder.
    create *.bat file with following code:
    Code:
    for %%a in (*.mkv) do ("C:\Program Files\MKVtoolnix\mkvmerge.exe" -o "D:\new\%%~na.mkv" "%%~na.mkv" "%%~na.ass")
    place that file in folder with files and execute, the muxed new files are saved to D:\new, of course you can change that.
    For your special needs, just extend the bat with language selections and attachments.
    thanks
    what about the attachments?
    Quote Quote  
  10. I need more info for that, is that stuff already in the source mkv or is it a external file? What kind of attachments?
    Quote Quote  
  11. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    Originally Posted by flashandpan007 View Post
    I need more info for that, is that stuff already in the source mkv or is it a external file? What kind of attachments?
    there is English sub and font attached I want to remove

    and there is Arabic font and cover I want to add from external folder called attach

    "C:/Program Files/MKVToolNix\mkvmerge.exe" --ui-language en --output ^"D:\sample\01.mkv^" --no-subtitles --no-attachments --language 0:und --default-track 0:yes --language 1:jpn --default-track 1:yes ^"^(^" ^"D:\example\01.mkv^" ^"^)^" --language 0:und ^"^(^" ^"D:\example\01.ass^" ^"^)^" --attachment-name ^"adobe arabic.ttf^" --attachment-mime-type application/x-truetype-font --attach-file ^"D:\Attach\adobe arabic.ttf^" --attachment-name cover.jpg --attachment-mime-type image/jpeg --attach-file ^"D:\Attach\cover.jpg^" --track-order 0:0,0:1,1:0

    this is the single file exact changing from MKVtoolnix I want to make the same for whole folder
    Last edited by ghazalo; 24th Apr 2019 at 14:30.
    Quote Quote  
  12. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    check the photos for single file changes

    thanks
    Image Attached Thumbnails Click image for larger version

Name:	1.jpg
Views:	142
Size:	154.8 KB
ID:	48811  

    Click image for larger version

Name:	2.jpg
Views:	132
Size:	165.0 KB
ID:	48812  

    Click image for larger version

Name:	3.jpg
Views:	186
Size:	75.9 KB
ID:	48813  

    Quote Quote  
  13. To summarize for me, there are about 80 files in a folder and each file contains an english font, which should be removed and in a separate folder there is a cover and a font, so two files which should be added to each file?

    I am from bavaria and sleep for the next hours, in the meantime upload a file and the separate files to google drive or similar (personal space) and pm me the links and I take a look at it tomorrow. It‘s better to test it when creating that bat file stuff.
    Quote Quote  
  14. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    ok thanks

    have a nice night

    also take your time a I am not in a hurry

    To summarize for me, there are about 80 files in a folder and each file contains an english sub + font, which should be removed and in a separate folder there is a cover and a font, so two files which should be added to each file?

    yes as you said thanks
    Last edited by ghazalo; 24th Apr 2019 at 15:39.
    Quote Quote  
  15. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    link for 1 file of 80

    thanks
    Last edited by ghazalo; 25th Apr 2019 at 06:17.
    Quote Quote  
  16. Please remove the link as fast as possible, link only as pm -> private mail.
    Otherwise the thread might be closed.
    Quote Quote  
  17. I have the zip file already downloaded
    Quote Quote  
  18. At first create a remove sub and attachment.bat file which contains
    Code:
    for %%a in (*.mkv) do ("C:\Program Files\MKVtoolnix\mkvmerge.exe" -o "removed subtitle and attachment\%%~na.mkv" --no-subtitles --no-attachments "%%~na.mkv")
    This creates a subfolder removed subtitle and attachment with all new files without any attachments and subtitles

    Then create a bat file which contains
    Code:
    for %%a in (*.mkv) do ("C:\Program Files\MKVtoolnix\mkvmerge.exe" -o "muxed\%%~na.mkv" --attachment-name "adobe arabic.ttf" --attachment-mime-type application/x-truetype-font --attach-file "D:\project\Attach\adobe arabic.ttf" --attachment-name "cover.jpg" --attachment-mime-type image/jpeg --attach-file "D:\project\Attach\cover.jpg" "%%~na.mkv" --language "0:ara" "%%~na.ass")
    This creates a new subfolder muxed which contains new muxed files with the new arabic ass subtitle set as arabic language and both attachments in the files.

    Done
    Quote Quote  
  19. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    thanks a lot

    I will try and update you
    Quote Quote  
  20. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    it works great thank you very much indeed

    you make my life easier watching long series on my TV screen

    thanks again
    Quote Quote  
  21. Member ghazalo's Avatar
    Join Date
    Mar 2015
    Location
    Riyadh
    Search PM
    thanks i found how
    Last edited by ghazalo; 9th Dec 2019 at 14:50.
    Quote Quote  



Similar Threads

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