Page 1 of 1

FFmpeg info from file.

PostPosted: Wed May 15, 2013 2:38 am
by darkcloud784
I've been having problems with some types of files playing back, I understand the command is ffmpeg -i [filename.extension] but all my movies were imported from an NTFS based drive that was on windows. All my movies were named by the program FileBot so I can collect the metadata. This being said most of my files have naming convension like Anchorman - The Legend Of Ron Burgundy (2004).mkv. This is what I get from ffmpeg: -bash: syntax error near unexpected token `('


Is there another way to get the information from ffmpeg?

Re: FFmpeg info from file.

PostPosted: Wed May 15, 2013 4:13 am
by DenyAll
I'm not sure what the problem is based on the above, however try this (assuming you installed Serviio in the default location and are still using Windows):
  • Start a cmd prompt (in Win 7 you simply type cmd in the Start menu)
  • Change to the folder and drive your media file is in: eg: cd "F:\Videos"
  • Run ffmpeg for the file you want - eg. either: "C:\Program Files (x86)\Serviio\lib\ffmpeg.exe" -i "Anchorman - The Legend Of Ron Burgundy (2004).mkv" for Win 64 bit or "C:\Program Files\Serviio\lib\ffmpeg.exe" -i "Anchorman - The Legend Of Ron Burgundy (2004).mkv" for Win 32 bit
Copy and paste the results. Note you must include all the quotes in the above commands and a space either side of the "-i".

Having said that, I think MediaInfo gives better information for most files. See viewtopic.php?f=5&t=4510.