Howto Idenficated your files

Publish your Openshot tutorials here.

Moderators: Andy, Cenwen, beats

Howto Idenficated your files

Postby Cenwen » Sat May 08, 2010 7:24 pm

Hi,
i open this Howto for identify your files because we have a lot of time some people who have some problems, also with the AVCHD Format or just for create a new profile.

There are several tools on Linux for knowing some information on a file but there is three tools mosly. It is FFmpeg, Tcprobe a part of Transcode and MediaInfo.
Ffmpeg :
Code: Select all
ffmpeg -i myfile.monextension

Tcprobe:
Code: Select all
tcprobe --H10 -X i myfile.monextension

Mediainfo is a graphical tool for Linux but too for windows and mac
you can have this tool here : http://mediainfo.sourceforge.net/fr
Exemple :
Code: Select all
olivier@Triton:~/Vidéos/rushtests$ tcprobe -H 10 -X -i MVI_2838.MOV
[probe_mov.c] audio codec=sowt
[probe_mov.c] video codec=avc1
[tcprobe] Apple QuickTime movie file
[tcprobe] summary for MVI_2838.MOV, (*) = not default, 0 = not detected
import frame size: -g 1920x1080 [720x576] (*)
     aspect ratio: 16:9 (*)
       frame rate: -f 30.000 [25.000] frc=5 (*)
      audio track: -a 0 [0] -e 44100,16,2 [48000,16,2] -n 0x1 [0x2000] (*)
           length: 293 frames, frame_time=33 msec, duration=0:00:09.766

Code: Select all
olivier@Triton:~/Vidéos/rushtests$ ffmpeg -i MVI_2838.MOV
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Mar  4 2010 12:41:55, gcc: 4.4.3

Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (30/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_2838.MOV':
  Duration: 00:00:09.76, start: 0.000000, bitrate: 40938 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 1920x1080, 30 tbr, 30 tbn, 60 tbc
    Stream #0.1(eng): Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
At least one output file must be specified

And now, Mediainfo which can provide you two means for knowing/showing your information by a screenshot or/and by a file text.
So, now, you know howto do for having some information about your files. :D
Attachments
screenshot_208.png
screenshot_208.png (142.33 KiB) Viewed 3309 times
Le jour où j'ai découvert le libre, j'ai su que je ne reviendrai jamais en arrière
Mon blog sur le multimédia, la photo et Openshot : http://linuxevolution.wordpress.com/
Google+ : https://plus.google.com/u/0/111472725110173916234/posts
User avatar
Cenwen
Moderator
 
Posts: 1609
Joined: Wed Nov 18, 2009 4:07 pm
Location: Clermont-Ferrand-Auvergne-France

Re: Howto Idenficated your files

Postby johntn » Tue Jul 26, 2011 2:47 am

tcprobe yields this on my mpg:

import frame size: -g 720x480 [720x576] (*)
aspect ratio: 16:9 (*)
frame rate: -f 29.970 [25.000] frc=4 (*)
PTS=0.2869, frame_time=33ms bitrate=9100 kbps
audio track: -a 0 [0] -e 48000,16,5 [48000,16,2] -n 0x2000 [0x2000] (*)
PTS=0.2841, bitrate=256 kbps
-D 0 --av_fine_ms 2 (frames & ms) [0] [0]

ffmpeg -i this:

Duration: 00:59:17.02, start: 0.220133, bitrate: 9320 kb/s
Stream #0.0[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
Stream #0.1[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9100 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc


So what settings yield this for an export??
johntn
New member
 
Posts: 15
Joined: Sun Apr 18, 2010 9:45 pm

Re: Howto Idenficated your files

Postby Cenwen » Tue Jul 26, 2011 1:45 pm

Hi,
This setting yields are more done for to know and to take the good profile in input when you create your own project And you can create with your own profile in input if he is not in the list and that you have some particulars files in input.

You can take the DV NTSC Widescreen in input and after to export you have two ways : one simple and the other advanced.
At first look you ' d like to create a DVD so use the good selection and done the few modifications.
In the second tab, you can choose more informations like the format, the codec audio, the codec video ,....
For you it can resume it on the screenshot that I attach.
Attachments
Export MPEG2.png
Export MPEG2.png (53.42 KiB) Viewed 2463 times
Le jour où j'ai découvert le libre, j'ai su que je ne reviendrai jamais en arrière
Mon blog sur le multimédia, la photo et Openshot : http://linuxevolution.wordpress.com/
Google+ : https://plus.google.com/u/0/111472725110173916234/posts
User avatar
Cenwen
Moderator
 
Posts: 1609
Joined: Wed Nov 18, 2009 4:07 pm
Location: Clermont-Ferrand-Auvergne-France

Re: Howto Idenficated your files

Postby johntn » Wed Jul 27, 2011 2:14 am

thanks cenwen, I'll try that :)
johntn
New member
 
Posts: 15
Joined: Sun Apr 18, 2010 9:45 pm

Re: Howto Idenficated your files

Postby cecilia » Sat Aug 13, 2011 11:30 pm

I have VLC on my Ubuntu - I generally use that to figure out the details of a video file.
Ubuntu 10.04 ....OpenShot 1.4.3
User avatar
cecilia
New member
 
Posts: 10
Joined: Sat Dec 11, 2010 3:46 pm


Return to Tutorials

Who is online

Users browsing this forum: No registered users