I will be using Resolve with the project editing and output, but couldn't get the information I needed from Resolve itself to get fully started. While technically off-topic, I was hoping someone here was familiar enough with the ffprobe or similar tool to help me with the commands to generate the CSV. I can then cross-reference that information to generate a list of transcode candidates, but my command-line scripting skills are lacking. My next thought was to use a utility like ffprobe to scan the entire source media folder and return a CSV of file attributes. I've tried reverse-creating a list of incompatible files by dragging the 3000-file source media folder into Resolve to export the successful clips from the media pool into a CSV file, but Resolve crashes when importing the media folder so I can't get a list of "successful" clips. I've narrowed down most of the useful ones by previewing them in WMP, saving m3u playlists, and then re-importing that list into the spreadsheet. When exporting CSV data, its recommended to choose the tabular format from the list in Data to. I have a simple list of possible files in a spreadsheet for now. Path: The path and file name where to export the data. I need to transcode some of them so that I can edit them but I don't want to transcode all of them. Some of those sources were originally captured into MPG, AVI, and MP4 files and not all of those files will import into Resolve. You can get a list of Mediainfo parameters to use with “–Info-Parameters” argument.My current project involves more than 3000 source clips from the 1990s/2000s. Mediainfo -Inform="Video %Width%,%Height%,%DisplayAspectRatio/String%,%BitRate%,%FrameRate%" $movieĪnd I get something like: Filename,PixelWidth,PixelHeight,DisplayRatio,Bitrate,FrameRate So this little script will find my MP4 movie files in the “/foo/*” directories and subdirectories, assign the name to the “movie” variable, print out the name and comma without a new line and then spit out a bunch of stuff about the video stream to get me a nice CSV output… #!/bin/shĮcho "Filename,PixelWidth,PixelHeight,DisplayRatio,Bitrate,FrameRate"įind /foo/ -type f | grep -i \.MP4 | while read movie do So I am going to cheat a little with the “echo” command and tell it to print the file name and a comma and not to print out a new line in order to have it create the first column for the CSV row. The file name is in the “General” bucket. I just want a handful of things about the Video stream and the filename. You can tell it to give you multiple data points about a particular stream or “General” aspect about the file. Seems the “Inform” argument can get me some of the way there. But I just want to get a certain set of data and want to move it into a CSV file so I can bring it into something like Google Sheets or Excel. I will work around and those command lines sample, im sure i will found the good one. csv file ashok.g Just missing file path, i guess with a few tuning it should be ok colucix Just missing owner and group name, but i think it would be just fine. It will also spit out a couple of formats in order parse the data such as XML. Your command return me ls command header that i could not manipulate on the. Mediainfo is a pretty handy tool to examine media files like MP4 containers and the streams in it such as the video and audio streams.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |