VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Lone soldier Cauptain's Avatar
    Join Date
    Jan 2006
    Location
    Brazil
    Search Comp PM
    Hello guys, how are your doing in this pandemic? Hope your are all right.

    Have a question and need your help and knowledge.

    My wife have several videos of our kids in a folder and they are in MP4 and I would like to turn them all into mkv (play better on PLEX).

    The problem is that the files contain metadata of when it was, the date, the event, the place as I kept everything organized, but I don't want PLEX to have access my videos data.

    So I would like to know if there is any scrip for FFMPEG (Windows) that can remux (no reencode) to MKV and remove all data.

    If that's not possible, the script will help me and then I'll look for some software to remove the data details.

    Thank u everybody.



    Claudio
    Quote Quote  
  2. Member
    Join Date
    Jul 2012
    Location
    FrogLand
    Search PM
    Hey.

    Looked around a bit, seems that there could be several options to test.

    Code:
    ffmpeg -i input.mkv -c copy -fflags +bitexact -flags:v +bitexact -flags:a +bitexact output.mkv
    (fflags/bitexact : this won't strip the existing metadata present in the original file, it will keep ffmpeg from adding it)

    OR

    Code:
    ffmpeg -y -i "test.mkv" -c copy -map_metadata -1 -metadata title="My Title" -metadata creation_time=2016-09-20T21:30:00 -map_chapters -1 "test.mkv"
    (manually changes the metadata : you can write what ever you want)

    OR

    Code:
    ffmpeg -hide_banner -i "test.mkv" -map 0:v:0? -map 0:a? -map 0:s? -c copy -map_metadata:g -1 "TestoutputVideo.mkv"
    (-map_metadata:g -1 to strip metadata , trailing "?" after the stream index will allow the map to be optional: if the map matches no streams the map will be ignored instead of failing. )


    source 1

    source 2


    Try it with one file, and tell us if it worked on your Plex.

    Cheers
    Quote Quote  
  3. Lone soldier Cauptain's Avatar
    Join Date
    Jan 2006
    Location
    Brazil
    Search Comp PM
    Originally Posted by CyberOtter View Post
    Hey.

    Looked around a bit, seems that there could be several options to test.

    Code:
    ffmpeg -i input.mkv -c copy -fflags +bitexact -flags:v +bitexact -flags:a +bitexact output.mkv
    (fflags/bitexact : this won't strip the existing metadata present in the original file, it will keep ffmpeg from adding it)

    OR

    Code:
    ffmpeg -y -i "test.mkv" -c copy -map_metadata -1 -metadata title="My Title" -metadata creation_time=2016-09-20T21:30:00 -map_chapters -1 "test.mkv"
    (manually changes the metadata : you can write what ever you want)

    OR

    Code:
    ffmpeg -hide_banner -i "test.mkv" -map 0:v:0? -map 0:a? -map 0:s? -c copy -map_metadata:g -1 "TestoutputVideo.mkv"
    (-map_metadata:g -1 to strip metadata , trailing "?" after the stream index will allow the map to be optional: if the map matches no streams the map will be ignored instead of failing. )


    source 1

    source 2


    Try it with one file, and tell us if it worked on your Plex.

    Cheers
    Thank u very much CyberOtter for fast reply.

    Thank you very much for the tips. I ended up using part of them together with FFMPEG BATCH.

    I didn't know about this program and it does EVERYTHING it needed.

    Image
    [Attachment 60295 - Click to enlarge]




    Claudio
    Quote Quote  
  4. Member
    Join Date
    Jul 2012
    Location
    FrogLand
    Search PM
    I know, this program is awesome, I use it all the time too.
    (cf my post here )

    Anyways, glad it could help.

    Cheers
    Quote Quote  



Similar Threads

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