It looks like a powerful tool.The landlord, persist in doing more than ten years, software optimization is also very good, but also solved a lot of people have this need of difficulties, the spirit of the landlord is admirable, spirit can be praised!
I spent a long time on this software, but I still couldn't get the hang of it. Here are a few questions I would like to ask you:
1. WINDOWS could not call Exiftool software in DOS terminal software. I tried many times and studied for more than a month, but still failed to solve the problem.
1, I am a designer, often take a lot of pictures of pure engineering design, to join the camera parameters, hoping to Exiftool tool to add camera with camera parameters, hope there are two solutions: (1), import the other camera parameters of real photos, pictures of resolution and the size of the file these two aspects is not imported, or the system automatically skip;(2) I hope to have original image reconstruction function. For example, the system software comes with parameters of various brands of cameras and automatically reconstructs photos of various designs, so that the parameters can be written into the design photos and the parameter data of pure design photo cameras can be written to make the design photos become shooting photos.These two kinds of methods, our software has, can achieve!
3, I found that I can't find it, we this software at the time of view camera parameter information, there is no internal serial number, when I do a pure design artwork from the structure, the platform is to consider the internal serial number, so a lot of time is failure will be submitted to (please see the attachment, there is some that other software also do have this information in the photos), I didn't find, is our software doesn't see this information, please the original poster guidance, advice
Your english translation is very funny. I expect my response will be funny for you when translated to Chinese...
Quote from: yandazhuang on August 16, 2020, 11:35:02 PM
1. WINDOWS could not call Exiftool software in DOS terminal software. I tried many times and studied for more than a month, but still failed to solve the problem.
I can't help without more information. Were there any error messages? Did you follow the Windows install instructions (https://exiftool.org/install.html#Windows)?
Quote1, I am a designer, often take a lot of pictures of pure engineering design, to join the camera parameters, hoping to Exiftool tool to add camera with camera parameters, hope there are two solutions: (1), import the other camera parameters of real photos, pictures of resolution and the size of the file these two aspects is not imported, or the system automatically skip;(2) I hope to have original image reconstruction function. For example, the system software comes with parameters of various brands of cameras and automatically reconstructs photos of various designs, so that the parameters can be written into the design photos and the parameter data of pure design photo cameras can be written to make the design photos become shooting photos.These two kinds of methods, our software has, can achieve!
Was there a question here?
Quote3, I found that I can't find it, we this software at the time of view camera parameter information, there is no internal serial number, when I do a pure design artwork from the structure, the platform is to consider the internal serial number, so a lot of time is failure will be submitted to (please see the attachment, there is some that other software also do have this information in the photos), I didn't find, is our software doesn't see this information, please the original poster guidance, advice
The InternalSerialNumber is in the Canon maker notes. But I don't understand what you are asking.
- Phil
Quote from: Phil Harvey on August 17, 2020, 07:46:10 AM
The InternalSerialNumber is in the Canon maker notes. But I don't understand what you are asking.
There's a huge translation problem here, but the subject of the post translates (according to google)
"ExifTool is a tool that does not have an internal serial number to view this information, please!"
That seems to me that it might be a question about if exiftool has a Digital Signature for the install.
Edit: Didn't notice that the subject had been edited since I first saw it last night. I was referring to the original Chinese(?) that the subject original was posted with.
Thank you very much for taking the time out of your busy schedule to reply to my message. Here, thank you very much, but I still want to ask you to solve my problem. I have been puzzled for two months, and it is very painful.Yes, I have an editor, I typed Chinese, but heart you can not understand, I use translation software, translation, my problem is actually three, first, how to operate in the Windows terminal, I see our forum posts, you use the tutorial have seen, or not operation.
Second, how to use exifTool to add camera parameters to the designed art pictures to turn them into pictures taken by the camera and what code to use.
Third, I found that the internal serial number of the camera was not in the exiftool tool. This view item is included in many software I have seen, and the photo itself also has this parameter. May I ask why this happens?
I put it this way, do you understand?
Quote from: yandazhuang on August 17, 2020, 01:04:56 PM
how to operate in the Windows terminal, I see our forum posts, you use the tutorial have seen, or not operation.
What part are you having problems with?
1) have you downloaed exiftool from the Main Exiftool Page (https://exiftool.org/)
2) Have you renamed the file from
exiftool(-k).exe ->
exiftool.exe3) Have you moved the program to a directory that is part of the system PATH environmental variable such
C:\WINDOWSAlternativly, you could try Oliver Betz's alternative exiftool (https://oliverbetz.de/pages/Artikel/ExifTool-for-Windows) which includes an install program
QuoteSecond, how to use exifTool to add camera parameters to the designed art pictures to turn them into pictures taken by the camera and what code to use.
If you mean to copy metadata so it can be more like an image taken from a camera, then you would have to do some trial and error, as we don't know what your requirements are for it to be a camera picture.
If you mean to convert the image data itself, then exiftool cannot do that as it only works with metadata, not the actual image data.
QuoteThird, I found that the internal serial number of the camera was not in the exiftool tool. This view item is included in many software I have seen, and the photo itself also has this parameter. May I ask why this happens?
We would have to have an example picture to take a look at but this might be FAQ #3 (https://exiftool.org/faq.html#Q3) as there are probably duplicate tags called
SerialNumber and exiftool will only show you one of them if you don't use the
-a (duplicates) option (https://exiftool.org/exiftool_pod.html#a---a--duplicates---duplicates).
It seems that you have completely understood what I want to express. It must have taken you not a lot of time and thought to figure it out. Thank you, Master, for your hard work.
As you say, I can only copy pictures of all the data (except for the resolution of the image, and image size,), for example: I want to copy the design picture A and picture B, A and B in the same folder named work, need to take photographs of all the parameters (remove resolution, image size two don't copy, other all replication) copy image to design A, what should I write code: please guide, thank you!Complete code should be how to write, please guide, thank you.
Try
exiftool -TagsFromFile /path/to/SourceFile/ -all:all -MakersNotes -ColorSpaceTags /path/to/DestFile/
That will copy all the tags exiftool will normally copy plus the MakerNotes tags (the Canon tags in your attached image) as well as any color related information such as ICC Profiles.
I may be too stupid, or do not understand our software, sorry for the trouble brought to you, please forgive my ignorance.
I copied your code in, and there was this hint, I don't know why?Please indicate, thank you, sincerely, sincerely thank you.
Here is the error message, it has been copied, please check,
C:\Users\YDZ>cd C:\Users\YDZ\Desktop\exiftool-12.04
C:\Users\YDZ\Desktop\exiftool-12.04>exiftool -TagsFromFile / path / to / SourceFile / -all:all -MakersNotes -ColorSpaceTags / path / to / DestFile /
Warning: Error opening file - /
Error: File not found - path
Error: File not found - to
Error: File not found - SourceFile
Error: File not found - path
Error: File not found - to
Error: File not found - DestFile
7 directories scanned
0 image files updated
6 files weren't updated due to errors
C:\Users\YDZ\Desktop\exiftool-12.04>
You must replace /path/to/DestFile/ with the path to the source file and /path/to/DestFile/ with the path to the destination file. I can't fill these for you because I don't know the names of your files.
Hello, very sorry, because of my ignorance, small white, to disturb you again, I tried many times, always can appear the error message, I want to broken head, really can't think of the reason, he call to bother you again, kiss, I my integrity, and good "folder and file name, the complete code, you see, is where I went wrong, please guide, thank you,
C:\Users\yandazhuang>cd C:\Users\yandazhuang\Desktop\exiftool-12.04
C:\Users\yandazhuang\Desktop\exiftool-12.04>exiftool -TagsFromFile /C:\Users\yandazhuang\Desktop\exiftool-12.04/A.jpg / -all:all -MakersNotes -ColorSpaceTags / C:\Users\yandazhuang\Desktop\exiftool-12.04/B.jpg
File '/C:\Users\yandazhuang\Desktop\exiftool-12.04/A.jpg' does not exist for -tagsFromFile option
C:\Users\yandazhuang\Desktop\exiftool-12.04>exiftool -TagsFromFile /C:\Users\yandazhuang\Desktop\exiftool-12.04/B.jpg / -all:all -MakersNotes -ColorSpaceTags / C:\Users\yandazhuang\Desktop\exiftool-12.04/A.jpg
File '/C:\Users\yandazhuang\Desktop\exiftool-12.04/B.jpg' does not exist for -tagsFromFile option
You're adding a lot of extra characters and spaces. If you're unfamiliar with CMD take some time and look for some tutorials in your native language.
exiftool -TagsFromFile C:\Users\yandazhuang\Desktop\exiftool-12.04\A.jpg -all:all -MakersNotes -ColorSpaceTags C:\Users\yandazhuang\Desktop\exiftool-12.04\B.jpg
I changed a set of codes, but still, I wanted to import the pictures taken by Canon SLR into the pictures of my art design, but it was not successful, I was confused
C:\Users\yandazhuang\Desktop\exiftool-12.04>exiftool -TagsFromfile /C:\Users\yandazhuang\Desktop\exiftool-12.04/B.jpg -all:all>all:all C:\Users\yandazhuang\Desktop\exiftool-12.04/A.jpg
File '/C:\Users\yandazhuang\Desktop\exiftool-12.04/B.jpg' does not exist for -tagsFromFile option
C:\Users\yandazhuang\Desktop\exiftool-12.04>
Why do you keep adding extra slashes to the command?
Look at the last command I listed. That is the format you need to use.
Trouble master, answer again and again, I like small white and childish problem, presumably, let you really have no resistance to, really want to scold me a meal, yandazhuang Sir, why do you this stupid, ha ha, I really want to learn hard, I was the first time contact with these things, you let me with my "CMD" I also watching, as I don't want you so good, but I'm crazy want to understand you, more want me to do things, success, bother you, very kind of you.Thank you very much!!
The code is executed successfully, however, the camera parameters of the picture is not written, or empty.I have uploaded the attachment, you can have a look.
C:\Users\yandazhuang\Desktop\exiftool-12.04>exiftool -TagsFromFile C:\Users\yandazhuang\Desktop\exiftool-12.04\B.jpg -all:all -MakersNotes -ColorSpaceTags C:\Users\yandazhuang\Desktop\exiftool-12.04\A.jpg
1 image files updated
C:\Users\yandazhuang\Desktop\exiftool-12.04>exiftool -TagsFromFile C:\Users\yandazhuang\Desktop\exiftool-12.04\B.jpg -all:all -MakersNotes -ColorSpaceTags C:\Users\yandazhuang\Desktop\exiftool-12.04\A.jpg
1 image files updated
Can you post the output of this command for A.jpg and B.jpg?:
exiftool -a -G1 -s A.jpg B.jpg
- Phil
Phil Harvey
Phil Mr Harvey, all data read is normal, the following is my copy of part A, B.j pg, data is not normal to write, I know everything because I do not know anything about exiftool, "CMD" in the dark, so bring you very big trouble, I have such A small white is also very helpless, I also took so much time, you to my the small white, also took effort, please, you'll help me see, where is I made A mistake, you help me to solve it, thank you.
C:\Users\yandazhuang\Desktop\exiftool-12.04>exiftool -a -G1 -s A.jpg B.jpg
======== A.jpg
[ExifTool] ExifToolVersion : 12.04
[System] FileName : A.jpg
[System] Directory : .
[System] FileSize : 8.2 MB
[System] FileModifyDate : 2020:08:20 00:55:47+08:00
[System] FileAccessDate : 2020:08:20 08:22:40+08:00
[System] FileCreateDate : 2020:08:19 22:33:31+08:00
[System] FilePermissions : rw-rw-rw-
[File] FileType : JPEG
[File] FileTypeExtension : jpg
[File] MIMEType : image/jpeg
[File] ExifByteOrder : Big-endian (Motorola, MM)
[File] ImageWidth : 6720
[File] ImageHeight : 4480
[File] EncodingProcess : Baseline DCT, Huffman coding
[File] BitsPerSample : 8
[File] ColorComponents : 3
[File] YCbCrSubSampling : YCbCr4:2:2 (2 1)
[IFD0] XResolution : 72
[IFD0] YResolution : 72
[IFD0] ResolutionUnit : inches
[IFD0] YCbCrPositioning : Centered
[ExifIFD] ExifVersion : 0232
[ExifIFD] ComponentsConfiguration : Y, Cb, Cr, -
[ExifIFD] FlashpixVersion : 0100
[ExifIFD] ColorSpace : sRGB
[InteropIFD] InteropIndex : R98 - DCF basic file (sRGB)
[InteropIFD] InteropVersion : 0100
[XMP-xmp] Rating : 0
[Composite] ImageSize : 6720x4480
[Composite] Megapixels : 30.1
======== B.jpg
[ExifTool] ExifToolVersion : 12.04
[System] FileName : B.jpg
[System] Directory : .
[System] FileSize : 7.0 MB
[System] FileModifyDate : 2019:10:15 10:27:09+08:00
[System] FileAccessDate : 2020:08:20 08:22:40+08:00
[System] FileCreateDate : 2020:08:13 00:24:07+08:00
[System] FilePermissions : rw-rw-rw-
[File] FileType : JPEG
[File] FileTypeExtension : jpg
[File] MIMEType : image/jpeg
[File] ExifByteOrder : Little-endian (Intel, II)
[File] ImageWidth : 6720
[File] ImageHeight : 4480
[File] EncodingProcess : Baseline DCT, Huffman coding
[File] BitsPerSample : 8
[File] ColorComponents : 3
[File] YCbCrSubSampling : YCbCr4:2:2 (2 1)
[IFD0] Make : Canon
[IFD0] Model : Canon EOS 5D Mark IV
[IFD0] Orientation : Horizontal (normal)
[IFD0] XResolution : 72
[IFD0] YResolution : 72
[IFD0] ResolutionUnit : inches
[IFD0] ModifyDate : 2019:10:15 10:27:09
[IFD0] Artist :
[IFD0] YCbCrPositioning : Co-sited
[IFD0] Copyright :
[ExifIFD] ExposureTime : 1/250
[ExifIFD] FNumber : 7.1
[ExifIFD] ExposureProgram : Program AE
[ExifIFD] ISO : 200
[ExifIFD] SensitivityType : Recommended Exposure Index
[ExifIFD] RecommendedExposureIndex : 200
[ExifIFD] ExifVersion : 0230
[ExifIFD] DateTimeOriginal : 2019:10:15 10:27:09
[ExifIFD] CreateDate : 2019:10:15 10:27:09
[ExifIFD] ComponentsConfiguration : Y, Cb, Cr, -
[ExifIFD] ShutterSpeedValue : 1/250
[ExifIFD] ApertureValue : 7.1
[ExifIFD] ExposureCompensation : 0
[ExifIFD] MeteringMode : Multi-segment
[ExifIFD] Flash : Off, Did not fire
[ExifIFD] FocalLength : 34.0 mm
[ExifIFD] UserComment :
[ExifIFD] SubSecTime : 18
[ExifIFD] SubSecTimeOriginal : 18
[ExifIFD] SubSecTimeDigitized : 18
[ExifIFD] FlashpixVersion : 0100
[ExifIFD] ColorSpace : sRGB
[ExifIFD] ExifImageWidth : 6720
[ExifIFD] ExifImageHeight : 4480
[ExifIFD] FocalPlaneXResolution : 5719.148936
[ExifIFD] FocalPlaneYResolution : 5728.900256
[ExifIFD] FocalPlaneResolutionUnit : inches
[ExifIFD] CustomRendered : Normal
[ExifIFD] ExposureMode : Auto
The writable metadata from B.jpg has not been copied to A.jpg, so your command didn't work.
Quote from: yandazhuang on August 19, 2020, 01:19:45 PM
C:\Users\yandazhuang\Desktop\exiftool-12.04>exiftool -TagsFromFile C:\Users\yandazhuang\Desktop\exiftool-12.04\B.jpg -all:all -MakersNotes -ColorSpaceTags C:\Users\yandazhuang\Desktop\exiftool-12.04\A.jpg
1 image files updated
OK, maybe this is the problem:
There is an odd character in your command: "
-all:all" should be "
-all:all" (you must use a simple ASCII colon ":", not the other one ":").
So try this:
C:\Users\yandazhuang\Desktop\exiftool-12.04>exiftool -TagsFromFile C:\Users\yandazhuang\Desktop\exiftool-12.04\B.jpg -all:all -MakersNotes -ColorSpaceTags C:\Users\yandazhuang\Desktop\exiftool-12.04\A.jpg- Phil
I've been wanting to thank Phil Harvey, Mr. StarGeek. I've been a little busy lately and I'm really sorry for not coming. I've taken the time to read "CMD" so that I won't have to ask any more questions.
Phil Harvey, what do you think, it was all: all out of question, after I changed to your normal use immediately, however, recently, I met two small trouble, one is, after the camera parameters of A into B, 1, rotates 90 degrees to the left, A 2, the thumbnail and import together in the past, let the thumbnail of A and B of A touch, Phil Mr Harvey, what method, can solve the problem of the two small?Thanks again!
Quote from: yandazhuang on August 24, 2020, 12:50:16 PM
after the camera parameters of A into B, 1, rotates 90 degrees to the left,
This may happen if you copy the Orientation tag.
QuoteA 2, the thumbnail and import together in the past, let the thumbnail of A and B of A touch, Phil Mr Harvey, what method, can solve the problem of the two small?Thanks again!
Add
-thumbnailimage to the command if you want to copy the thumbnail, or
--thumbnailimage if you don't want to copy it.
- Phil
1. My Picture B is vertical, and my picture A is also vertical. Why does it rotate 90 degrees automatically when copying?2. How to remove the direction tag? I looked for it in exifTool, but I couldn't find it, so I don't know how to express to remove the direction tag.
exiftool -orientation= FILE
I used the thumbnail, and it solved the problem perfectly. The thumbnail problem was solved, and the image rotation problem seemed to be solved.I'll try a few more later.Can video B and video A also be operated with this command?The animation we designed, I also want to import the camera, or mobile phone shooting parameters.Can it be done?
See here (https://exiftool.org/#supported) for a list of supported file types and their metadata.
- Phil
When I copy the video, every time I get a prompt like this, I wonder what he means.
C:\Users\YDZ\Desktop\exiftool-12.05>exiftool -TagsFromFile C:\Users\YDZ\Desktop\exiftool-12.05\B.MOV -all:all -MakersNotes -ColorSpaceTags --thumbnailimage --orientation C:\Users\YDZ\Desktop\exiftool-12.05\BB.MOV
Warning: [minor] The ExtractEmbedded option may find more tags in the media data - C:\Users\YDZ\Desktop\exiftool-12.05\B.MOV
1 image files updated
C:\Users\YDZ\Desktop\exiftool-12.05>
It means that exiftool may not be extracting all the information in the file. Add the -ee (extractEmbedded) option (https://sno.phy.queensu.ca/~phil/exiftool/exiftool_pod.html#ee--extractEmbedded) to see if there is more data.
Most commonly, this is used to see if there's a GPS track in a video file, such as from a dash cam, GoPro, or drone.
You can safely ignore this or add the -m (ignoreMinorErrors) option (https://exiftool.org/exiftool_pod.html#m--ignoreMinorErrors) to suppress it.
Phil Harvey, Mr StarGeek, a little busy recently, there has been no say hello to Mr. Two, two good Sir, in order to, I also have a small problem, is a matter of copying the video ah, I want to do our animation mp4, copy the video parameters of apple mobile phone, mov format copy, "C: \ Users \ yandazhuang \ Desktop \ exiftool - 12.04 - > exiftool - TagsFromFile C:\ Users \ yandazhuang \ Exiftool-12.04 \ b: all-makersnotes -ColorSpaceTags C: \ Users \ yandazhuang \ Exiftool-12.04 \ a.JPg-c: \ Users \ yandazhuang \ Exiftool-12.04 \ a.jpg-c: \ Users \ yandazhuang \ Exiftool-12.04 \ a.jpg-C: \ Users \ Yandazhuang \ Exiftool-12.04 \ a.jpG-C: \ Users \ Yandazhuang \ Exiftool-12.04 \ a.jpG-C:So it doesn't turn into an iPhone video parameter.Why does this happen? Does this code only work with images?Not suitable for video??I don't know why, but I want a result.
Specifically what tags are you trying to copy?
Copy all the content, I solve, now I have a question, I want to have "the File Modification Date/Time" and "the File Creation Date/Time" this two label to the morning of October 25, 2021 09, 28 minutes and 15 seconds, when the code should be how to write, this is I write these, are not implemented, has been an error, "exiftool" - quicktime: trackcreatedate<xmp:metadatadate" output.MOV = "2021:10:25 09:28:15"
exiftool "-FileCreateDate<FileCreateDate" output.MOV = "2021:10:25 09:28:15"
C: \ Users \ YDZ \ Desktop \ exiftool 12.05 & gt;exiftool "-File Modification Date/Time" output.MOV = "2010:01:01 01:01:01"
Invalid TAG name: "File Modification Date/Time"
======== output.MOV
Warning: Invalid tag name 'File Modification Date/Time' - output.MOV
Error: Zero-length file name - ""
Error: File not found - 2010:01:01 01:01:01
1 image files to read
2 Files could not be read
C: \ Users \ YDZ \ Desktop \ exiftool 12.05 & gt;exiftool "-FileCreateDate" output.MOV = "2010:01:01 01:01:01"
======== output.MOV
File Creation Date/Time: 2020:08:26 00:47:23+08:00
Error: Zero-length file name - ""
Error: File not found - 2010:01:01 01:01:01
1 image files to read
2 Files could not be read
C: \ Users \ YDZ \ Desktop \ exiftool 12.05 & gt;exiftool "-FileCreateDate<xmp:metadatadate" output.MOV = "2010:01:01 01:01:01"
Warning: No writable tags set from output.MOV
Error: Zero-length file name - ""
Warning: Error opening file - 2010:01:01 01:01:01
Error: File not found - 2010:01:01 01:01:01
0 image files updated
1 image files unchanged
1 Files weren't updated due to errors
1 Files could not be read
C: \ Users \ YDZ \ Desktop \ exiftool 12.05 & gt;exiftool "-FileCreateDate<FileCreateDate" output.MOV = "2010:01:01 01:01:01"
Error: Zero-length file name - ""
Warning: Error opening file - 2010:01:01 01:01:01
Error: File not found - 2010:01:01 01:01:01
1 image files updated
1 Files weren't updated due to errors
1 Files could not be read
May I ask how to write the confirmed code? Thank you.
exiftool "-filemodifydate="2010:01:01 01:01:01" output.MOV
There's an extra quote, so the correction would be
exiftool -filemodifydate="2010:01:01 01:01:01" output.MOV
Thanks.
Phil Harvey, stargeek, thank you, sir. I have been bothering you all the time. The code you taught me to change time is very easy to use. I used it. It's really great and I'm very happy. Now I have a small problem. I am copying the original photos without metadata to the drawings designed by the artists. All of them can solve the problem. Now it automatically adds a "[xmp-x] xmptoolkit: Image:: exiftool12.05" automatically every time. I make my original picture a little bit of a fly in the ointment. How can I get rid of this item, that is, this whole column???
Try adding
-xmptoolkit=
to the end of the command
The perfect solution,Perfect solution. Thank you very much.It would be better if you had a copy of the Instructions in Chinese, so I wouldn't have to bother you so much.I have read your manual, but there is no Chinese version.
Phil Harvey, two StarGeek hello, Sir, the tool to I want, can achieve, is really very good, but I now copy do animation add Canon camera video metadata, found that there are more than 300 yuan of Canon camera video data, and I copied to my MP4 in the animated cartoon only 20 LaiXiang be copied.I also tried to convert the animation I made (converted by ffMPEG) to the MOV format of the video file shot by iPhone. When I tried to copy the video metadata of iPhone again, there were more than 100 metadata of iPhone video, and only 10 pieces were copied.
Now, is there any way that you can copy it 100% or modify it 100%?Requirements: We must add 100% animation into Canon camera video, or iPhone video MOV format is also possible.Is there any way to achieve it??
Mp4-all: all-exif-ipTC-XMP-ICC -- Thumbnailimage Mi.mp4
exiftool -exif:all= -tagsfromfile @ -all:all -unsafe mi.mp4
exiftool -TagsFromFile BB.MOV -all:all mi.MP4
Quote from: yandazhuang on September 15, 2020, 01:18:45 PM
Now, is there any way that you can copy it 100% or modify it 100%?
No, not really. Video metadata is a big mess and exiftool can only deal with a small part of it. Some of it can't be copied with any tool.
First thing I would suggest would be to make sure you're not recompressing the video with ffmpeg and make sure it copies as much data as it can. This command will remux from MP4 to Mov as a lossless operation and keep as much metadata as possible
ffmpeg -i Input.mp4 -map 0:v -map 0:a -map 0:s -map_metadata 0 -c copy Output.movYou could then run exiftool with
-all:all to copy anything that exiftool can copy.
That would probably be the best you could do.
StarGeek, Phil Harvey, all I have to do is use this code "ffmpeg-I input.mp4-map 0: V-map 0: A-map 0: s-map_metadata 0-c copy output.mov" and the error comes out: "Stream Map '0:s's matches no Streams".
To ignore this, add a trailing '?'To the map.' I don't understand, I use FFMPEg-I A.M. p4-c copy output.mov, copy few things, use the code you gave me much better, is to report an error, do not output the video, if I remove the "-map 0:s" parameter, you can output normally, I don't understand why here???Thank you very much for your timely reply to my message. I really appreciate it.
I find it hard to tell what command you're actually using because you add and remove spaces randomly which breaks the command.
But the breakdown of the command is this
-i Input.mp4 : The source file, which is number 0
-map 0:v : map all video streams from file 0
-map 0:a : map all audio streams from file 0
-map 0:s : map all subtitle streams from file 0, if you have no subtitles, this can be removed
-map_metadata 0 : map all metadate from file 0
-c copy : copy all streams, do not re-encode
Output.mov : new file to create
I've tried it many times and manually retyped it a few times, or have I been jumping out of the software, no matter what, Sir
Here's what the code looks like in its entirety.
g:\exiftool-12.06>ffmpeg -i MVI9421.mp4 -map 0:v -map 0:a -map 0:s -map_metadata 0 -c copy put.mov
ffmpeg version git-2020-08-31-4a11a6f Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.2.1 (GCC) 20200805
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --enable-libsvtav1 --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 58.100 / 56. 58.100
libavcodec 58.101.101 / 58.101.101
libavformat 58. 51.101 / 58. 51.101
libavdevice 58. 11.101 / 58. 11.101
libavfilter 7. 87.100 / 7. 87.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002131d9fd800] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002131d9fd800] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI9421.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1CAEP
make :
make-eng :
model :
model-eng :
creation_time : 2020-09-04T08:46:44.000000Z
Duration: 00:00:04.04, start: 0.000000, bitrate: 60515 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080, 60015 kb/s, 50 fps, 50 tbr, 50k tbn, 100k tbc (default)
Metadata:
creation_time : 2020-09-04T08:46:44.000000Z
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 253 kb/s (default)
Metadata:
creation_time : 2020-09-04T08:46:44.000000Z
Stream map '0:s' matches no streams.
To ignore this, add a trailing '?' to the map.
As it says, add a ? to the subtitle map or remove it entirely.
-map 0:s?