Skip to main content
53 votes

After an MP3 file has downloaded is it possible to see where it was downloaded from?

On macOS, the source URL of the downloaded file itself, the URL of the referring webpage, and more information are often stored in the file's extended attributes. Finder: you can right click on the ...
chrisk's user avatar
  • 696
46 votes

After an MP3 file has downloaded is it possible to see where it was downloaded from?

For a Windows equivalent to chrisk's macOS answer, the source of a downloaded file may be stored in an Alternate Data Stream called Zone.Identifier. This stream, if it exists, can be viewed with the ...
Bob's user avatar
  • 64.2k
42 votes

Change rotation flag in MP4 video (without losing metadata)

exiftool version 10.89 now has support to rotate mp4 videos without changing other metadata. Usage: exiftool -rotation=90 video.mp4
aXeL-HH's user avatar
  • 1,179
34 votes
Accepted

Change rotation flag in MP4 video (without losing metadata)

To get true lossless rotation, I couldn't find a solution, so I grabbed a hex editor (eg HxD) and analyzed the rotated video files. Open mp4 with hex editor and search for vide to find the metadata ...
aXeL-HH's user avatar
  • 1,179
24 votes

How to change internal page numbers in the meta data of a PDF?

NOTE 1: The accepted answer is still mostly correct, but has some gaps. It is lacking in that many PDF files are not directly editable as text. Even when they are, such editing can sometimes damage ...
hackerb9's user avatar
  • 1,127
20 votes

How to increase the byte size of a file without affecting content?

The literal answer to your question is no, by definition. The size of a file is the length of its content. If you want to change the size, you'll need to change the content. However, it may be ...
Gilles 'SO- stop being evil''s user avatar
19 votes
Accepted

Which protocol to send the most possible data through satellite?

The way to get the most data possible out of your 130kB/day is to eliminate as many layers of protocol as possible. FTP provides features like filenames, permissions, directory structure, ...
9072997's user avatar
  • 651
18 votes

How do I get the meta-data of a video file?

With ffmpeg comes ffprobe $ ffprobe -show_data -hide_banner xyz.mp4 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'xyz.mp4': Metadata: major_brand : mp42 minor_version : 0 ...
Ph3n0x's user avatar
  • 311
16 votes
Accepted

How to prevent recovering metadata when using ExifTool?

The author of exiftool looked into zeroing out the data in August 2019 and has decided that against it. It is harder than I had hoped to simply zero out the existing metadata. The solution wouldn't ...
StarGeek's user avatar
  • 1,880
15 votes
Accepted

Updating mp4 chapter times and names with ffmpeg?

Solved - looks like -map_metadata only does the top keys before the chapters, you need -map_chapters to get the chapters as well. ffmpeg -i INPUT -i FFMETADATAFILE -map_metadata 1 -map_chapters 1 -...
cogm's user avatar
  • 351
14 votes
Accepted

FFMPEG Adding Metadata to an .mp3 From .mp3 Input?

Your ffmpeg build does not have any MP3 encoder. However, for your use case, that's irrelevant. Use ffmpeg -i input.mp3 -c copy -metadata artist="Someone" output.mp3 Output has to be a separate file....
Gyan's user avatar
  • 39.7k
14 votes
Accepted

Why is there no tags option in properties?

From what I understood, each file has some metadata where tag information can be added No, that's not entirely correct. In earlier versions of Windows, this dialog box supported editing two kinds of ...
grawity's user avatar
  • 516k
12 votes

How to get video duration in seconds?

mediainfo --Output='General;%Duration%' file.flv This outputs the duration in milliseconds as a single integer value. No need for grep/cut/sed/...
Josef Kufner's user avatar
12 votes

How do I use ffmpeg to get the video resolution?

The following commands rely purely on ffmpeg (and grep and cut) to get you the height or width as required: Width: $ ffmpeg -i video.mp4 2>&1 | grep Video: | grep -Po '\d{3,5}x\d{3,5}' | cut -d'...
aalaap's user avatar
  • 740
12 votes

Is there something like EXIF for video?

Yes, I have used exiftool to read the metadata from mov videos from iphone and mp4 videos from android. It contains metadata like the datetime that the video was taken (not when the file was saved or ...
wisbucky's user avatar
  • 3,396
12 votes

Windows Media Player Changes not reflected in File Explorer

Steps to update apply media information from windows media player to files. Tools(Ctrl+M)->Options->Library-> tick "write media information changes to files" Update media information manually by write ...
user1436887's user avatar
12 votes
Accepted

How do I change audio language using ffmpeg in video files contaning two or more audio tracks

You needed a few more options: ffmpeg -i input.mp4 -map 0 -c copy -metadata:s:a:0 language=pol output.mp4 -map 0 to include all streams. Default without -map only includes 1 stream per type. See ...
llogan's user avatar
  • 64.1k
11 votes
Accepted

Preserve metadata when converting .opus audio with embedded covers

After looking through SE and the ffmpeg docs for a few hours I finally found an easy solution: using -map_metadata 0:s:a:0, which copies metadata from the first input file (0:), first audio stream (s:...
Laura Hausmann's user avatar
10 votes

Which protocol to send the most possible data through satellite?

Can't comment yet, so here are my pointers: 130kb/day is probably too limited for a lot of file based transfers, but can be used rather efficiently in other ways if you constraint yourself a bit more. ...
Robin Modisch's user avatar
9 votes

How to change internal page numbers in the meta data of a PDF?

The Java variant of pdftk has support for editing page labels starting from version 3.1.0. To use it, first create a file with the labels, let's say it's called metadata.txt: PageLabelBegin ...
Pkkm's user avatar
  • 191
9 votes

How to change internal page numbers in the meta data of a PDF?

There is a little python script, that can do the job: https://github.com/lovasoa/pagelabels-py In your case call something like: ./addpagelabels.py --delete file.pdf ./addpagelabels.py --startpage 1 ...
DG''s user avatar
  • 879
9 votes

Find out rotation metadata from video in ffmpeg

Applied to your question, in concrete terms, you can get the rotation by: ffprobe -loglevel error -select_streams v:0 -show_entries stream_tags=rotate -of default=nw=1:nk=1 -i in.mov Legend: -...
Agile Bean's user avatar
9 votes

Determine video bitrate using ffmpeg

Edit: See Cliff's note below if you have an MKV video instead of MP4. The easiest way to get the bitrate of a video in proper format is to use FFMPEG's utility ffprobe $ ffprobe -v quiet -...
rlittles's user avatar
  • 218
9 votes

How to show file names instead of metadata title in VLC?

For me, both $F and $U in Preferences>All>Input/Codecs>Advanced>Change title according to current media work fine. $F shows the full file path, $U - just filename. After changing this ...
almaceleste's user avatar
9 votes

After an MP3 file has downloaded is it possible to see where it was downloaded from?

It depends, but probably not. If the site writes its information to file metadata, then you'll be able to read that. But there is nothing inherent to the MP3 file that means you'll be able to see this ...
music2myear's user avatar
9 votes

Which protocol to send the most possible data through satellite?

I read here (How are filenames stored?) and here (Doesn't metadata occupy any size?) that metadata are stored in a dedicated part of the file system, but it is not clear for me how much Bytes it will &...
grawity's user avatar
  • 516k
9 votes

Why doesn’t abcde rip track metadata automatically?

Take a look at the man page and /etc/abcde.conf (and/or ~/.abcde.conf, if any). Apparently the default method is to use MusicBrainz, which requires some modules to be installed for the perl ...
Tom Yan's user avatar
  • 11.4k
8 votes

How to make Handbrake preserve capture time / creation time?

If you mean the file-level modification time, then I had the same problem, and was able to recover it with exiftool. exiftool -tagsFromFile input.mp4 -extractEmbedded -all:all -FileModifyDate -...
bennetimo's user avatar
  • 181
8 votes
Accepted

Does any picture file format embed author, title etc.?

Exif can contain metadata about title, author, etc Exif (Exchangeable image file format) can contain authorship, copyright information: The metadata tags defined in the Exif standard cover a broad ...
bertieb's user avatar
  • 7,583
8 votes

ffmpeg : Extract metadata

ffprobe I believe is the tool you want as it analyzes files vs. trying to convert/make files like ffmpeg. I am not terribly familiar with it, but its documentation is VERY large. I believe ffprobe -...
gregg's user avatar
  • 6,445

Only top scored, non community-wiki answers of a minimum length are eligible