VideoHelp Forum




+ Reply to Thread
Results 1 to 21 of 21
  1. Member
    Join Date
    Mar 2004
    Location
    France
    Search Comp PM
    Hello all,

    I have an inboard video from a race car in MOV format with the following specs

    Profil du format : QuickTime
    Identifiant du codec : qt
    Taille du fichier : 3,17 Gio
    Durée : 29mn 59s
    Type de débit global : Constant
    Débit global moyen : 15,1 Mb/s


    Vidéo
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Profil du format : Main@L4.0
    Paramètres du format, CABAC : Oui
    Paramètres du format, RefFrames : 4 images
    Paramètres du format, GOP : M=3, N=15
    Identifiant du codec : avc1
    Identifiant du codec/Info : Advanced Video Coding
    Durée : 29mn 59s
    Type de débit : Constant
    Débit : 15,0 Mb/s
    Largeur : 1 920 pixels
    Hauteur : 1 080 pixels
    Format à l'écran : 16/9
    Type d'images/s : Constant
    Images par seconde : 29,970 Im/s
    Espace de couleurs : YUV
    Sous-échantillonnage de la chrominance : 4:2:0
    Profondeur des couleurs : 8 bits
    Type de balayage : Entrelacé
    Ordre de balayage : Ligne du haut d'abord
    Bits/(Pixel*Image) : 0.241
    Taille du flux : 3,14 Gio (99%)


    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Profil du format : LC
    Identifiant du codec : 40
    Durée : 29mn 59s
    Type de débit : Constant
    Débit : 128 Kbps
    Canaux : 2 canaux
    Position des cannaux : Front: L R
    Echantillonnage : 48,0 KHz
    Mode de compression : Avec perte


    I'd like to run this one though the deshaker plugin in virtualdub because there was no image stabiliser on the camera.

    But before doing do I need to convert the file to something that virtualdub can read and process because my mov file does not seem to make virtualdub happy....

    WHat would be the best steps ?

    Convert the mod into h264 or whatever so that I can run deshaker or find the way to open the mov file into virtualdub and run deshaker from it 'as-is'.

    Does deshaker work "better" with one video encoding compared to another one ?

    Thanks for the help
    Quote Quote  
  2. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    Don't convert, use the latest ffmpeg input driver to import that mov into Virtualdub for DeShaker processing.

    Get it here: https://code.google.com/p/ffinputdriver/downloads/list

    ***EDIT: here are the latest versions. http://forums.virtualdub.org/index.php?act=ST&f=7&t=20025&
    Last edited by racer-x; 4th Jan 2015 at 06:26.
    Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
    Quote Quote  
  3. Member
    Join Date
    Jul 2014
    Location
    Denmark
    Search Comp PM
    You can also use the deshaker filter in ffmpeg if you do not need any other editing of the video. The ffqueue GUI for ffmpeg can help you to deshake
    I'm the developer behind FFQueue. My posts might reflect this! ;-)
    Quote Quote  
  4. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    Originally Posted by TorBru View Post
    You can also use the deshaker filter in ffmpeg if you do not need any other editing of the video. The ffqueue GUI for ffmpeg can help you to deshake
    Or better yet.....Batch 2-pass stabilize a whole folder of MOVs with my script: https://forum.videohelp.com/threads/368117-Batch-stabilize-script-for-ffmpeg
    Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
    Quote Quote  
  5. Member
    Join Date
    Jul 2014
    Location
    Denmark
    Search Comp PM
    Originally Posted by racer-x View Post
    Or better yet.....Batch 2-pass stabilize a whole folder of MOVs with my script: https://forum.videohelp.com/threads/368117-Batch-stabilize-script-for-ffmpeg
    Looks nice! Do you have any experience with the vidstab detect/transform filters getting better results than deshake filter?
    I'm the developer behind FFQueue. My posts might reflect this! ;-)
    Quote Quote  
  6. Member
    Join Date
    Mar 2004
    Location
    France
    Search Comp PM
    Hello and thanks for all the tips, I'm trying to edit the original mov file in virtualdub to extract 2-3 minutes and then i'll try the different methods and report the results.
    Quote Quote  
  7. Member
    Join Date
    Mar 2004
    Location
    France
    Search Comp PM
    AH, first problem in virtualdub, it won't read the audio format AAC 128, what do i need to solve this ?

    Thanks a lot again
    Quote Quote  
  8. Member
    Join Date
    Jul 2014
    Location
    Denmark
    Search Comp PM
    You need the ACM AAC codec in order to decode AAC in VirtualDub. I am not sure that it is possible to encode AAC with VirtualDub (at least not with this codec).

    https://www.videohelp.com/tools/AAC-ACM-Codec
    I'm the developer behind FFQueue. My posts might reflect this! ;-)
    Quote Quote  
  9. Member
    Join Date
    Mar 2004
    Location
    France
    Search Comp PM
    Thanks, i' going to be the 1 457 254th idiot to say this but why the **** didn't they come up with a unique set of format.......
    Quote Quote  
  10. Member
    Join Date
    Mar 2004
    Location
    France
    Search Comp PM
    Ok, got the aac running, will keep the video in direct stream copy, encode the audio in mp3 192 whatever and then start again

    Thanks, I'll report the results....
    Quote Quote  
  11. Originally Posted by txl View Post
    Ok, got the aac running, will keep the video in direct stream copy, encode the audio in mp3 192 whatever and then start again

    Thanks, I'll report the results....
    you can't use "direct stream copy" with deshaker
    Quote Quote  
  12. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    And all you need is the latest version of ffmpeg input driver, nothing else. You don't need aac acm.

    1) Use the latest version of Virtualdub (I'm using v 1.10.5).
    2) Put the the ffmpeg plugin in the plugins32 folder.
    3) Drag and drop your MOV into Virtualdub.
    Image Attached Thumbnails Click image for larger version

Name:	ffmpeg.jpg
Views:	317
Size:	163.0 KB
ID:	29471  

    Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
    Quote Quote  
  13. Member
    Join Date
    Mar 2004
    Location
    France
    Search Comp PM
    ok, got my file in AVC1 and MP3 192....now on to the fun part

    Starting ffqueue with the deshake filter on standard setting.

    Then I'll start a virtualdub with the deshaker plugin and we'll see what happens.

    Thanks for the tips guys...
    Quote Quote  
  14. Member
    Join Date
    Mar 2004
    Location
    France
    Search Comp PM
    Ok, first try with ffqueue was a complete disaster

    started with a 290megs file and finished with a 2.4gig unusable file....

    Did a virtualdub deshake and deinterlace, saving now, it says it will be 28gigs....

    What kind of compression settings should I use ?

    Thanks for the help
    Quote Quote  
  15. Member
    Join Date
    Jul 2014
    Location
    Denmark
    Search Comp PM
    Please try copy the block below, open ffqueue, open preset manager and click Paste and a new preset will appear named "x264 with deinterlace and deshake". The preset uses standard settings for deshake and deinterlace filters (you might want to experiment with the settings). It uses quality setting (VBR / CRF) for video (you can lower or raise the quality by editing the preset under Video -> Quality and adjust the best / worst constant quality. The audio-stream is copied without modifications.

    //94AgAAeNpVUc1O4zAQvlfqO/gBDLLTJpTRDlIQFw6wF9g9II
    TcZNpYTeOs40CC9uF34hKqVezxZH6+b35eWk8dhdflwpZYPT08
    9gd3m+f5b9rn+Xj7wCrictGYI+GQZGvxYUMlSrJNIF+bgoRpSv
    7vKnOg5eLdluTeCldSgbXdThnLxYHGt51nhA6llEqu1Rz4pze1
    DSMqeZVKLbMVi3XKIdcqxrHQHGz60s6ohWvH2eJNINTJhrOknI
    1nzA2nhqo/bjuMSLJt9vFNlUymN5HMyi4F8VwqxRk7W3NrqF/+
    vt6d28SWvIhNiNZ4xgfTB3eydGDqmsN//Lq/u3+8GU1pd6jgQo
    OaTD+fn27Yq+SFlooVgG+S60gSZ4clBSoCcDlCKzXwFdEBOht0
    JjijhqP13nmxrV1x6OwnwUYUrgnedAF0koqOjC8qoKEyfRfsOw
    nXUlPUqM7lfe0KBy6RpwQfyFRQRekH1Bn4cZJU7glX8M2FG5i5
    eOYpnLgYYKb4r9dpcac7fSvJO0rSqJ9G8A9AxsQt
    I'm the developer behind FFQueue. My posts might reflect this! ;-)
    Quote Quote  
  16. Member
    Join Date
    Mar 2004
    Location
    France
    Search Comp PM
    Hello,

    First of all thanks a lot for the help, the preset was created and everything went well.

    The interlace part works fine, but the deshake not really.

    The camera is fixed on the front bumper of a race car so it can be vibrating quite a lot.

    The camera has no stabilizer and yet with a gopro with a stabilizer the same fixing point gives out acceptable results.

    Is there a way to improve the deshaking part ?

    Or can I put this file into virtualdub and deshake it ?

    Thanks a lot
    Quote Quote  
  17. Post a sample. Other than technical specs we have no idea what you're dealing with here -- except that it's not a GoPro.

    We don't know if the shake is coming from the road, from engine vibration, from sensor jelly rolling. For all we know the image may be completely acceptable and you're looking for some kind of magical steadicam effect. Conversely, it may be so full of vibration that there are no clear frames at all.

    Post a sample, please.
    Quote Quote  
  18. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    Originally Posted by txl View Post
    Is there a way to improve the deshaking part ?
    Record with a higher frame rate, 120fps or at least 60fps.
    Quote Quote  
  19. Member
    Join Date
    Mar 2004
    Location
    France
    Search Comp PM
    Hello

    Here are samples...

    Original file straight out of the camera only with the sound changed from aac to mp3


    File that has been though ffqueue with the preset included in this thread


    Thanks for the help maybe I can get you a ride in the car
    Quote Quote  
  20. You're basically going to have to decide whether you want the sky shaky or the cars shaky.


    Click image for larger version

Name:	deshake.jpg
Views:	241
Size:	171.2 KB
ID:	29505
    Image Attached Files
    Quote Quote  
  21. Member
    Join Date
    Mar 2004
    Location
    France
    Search Comp PM
    I'd rather have the sky shaky than the cars

    It looks super nice, thanks a lot
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!