User Tools

Site Tools


howto_win_ffmpeg

Command line method

1. type cmd in the search programmes and files box,(located in the windows start button ) it should bring up a black screen with a flashing tab

2. type in the following… The following assumes serviio is located in c drive, programme files. and windows is being used. type

cd "\Program Files\Serviio\lib"

or

cd "\Program Files (x86)\Serviio\lib"

3. next you need to type ffmpeg.exe -i “file name and location goes here”

so it might look like this

ffmpeg.exe -i "C:\Users\johndoe\Documents\green zone.avi"

you will then get a list of results that look like this…

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\johndoe>cd "\Program Files\Serviio\lib

C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i "C:\Users\johndoe\Documents\green
zone.avi"
FFmpeg version SVN-r23012, Copyright (c) 2000-2010 the FFmpeg developers
built on May 3 2010 19:05:24 with gcc 3.4.5 (mingw-vista special r3)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-w32threads --extra-ldf
lags=-L/static/lib --extra-cflags=-I/static/include
libavutil 50.15. 0 / 50.15. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.62. 0 / 52.62. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
[mpeg4 @ 02a208c0]Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'C:\Users\johndoe\Documents\green zone.avi':
Duration: 01:54:10.30, start: 0.000000, bitrate: 858 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x272 [PAR 1:1 DAR 40:17], 23.98 tbr,
23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s
At least one output file must be specified

C:\Program Files\Serviio\lib>

4. click in the black box anywhere on the info, right click and select, select all. You will see everything turn white, Again right click, which will copy all the info ready for you to paste into a post on here.

Batch method

1. With notepad editor, create a “Info.bat” and save it into “C:\Program Files\Serviio\lib>”:
Info.bat:

@echo off
C:\Program Files\Serviio\lib\ffmpeg.exe -i "%1"
pause

2. Drag&Drop the movie file over the Info.bat batch will automatically open the windows terminal with ffmpeg result.
3. Click in the black box anywhere on the info, right click and select, select all. You will see everything turn white. Again right click, which will copy all the info ready for you to paste into a post on here.

howto_win_ffmpeg.txt · Last modified: 2012/09/24 19:50 by illico