Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ivanatora

#1
I followed instructions in this HOWTO and now I'm able to use H264 :)

-rw-rw-rw- 1 ivanatora ivanatora 163M 2012-12-23 20:15 MVI_2355.MOV
-rw-r--r-- 1 ivanatora ivanatora  22M 2012-12-24 12:24 out.mp4

File size decreased about 8 times with almost no quality loss. Thank you, all!

I have one just theoretical question. If I have audio recorded in another file (I could record it with my phone - AMR format, for example), how could I insert it into that video?

EDIT: And after some research I found the answer:


ffmpeg -i audio.wav -i out.mp4 -strict -2 -ar 22050 test.mp4
#2
It seems I don't have ffmpeg compiled with x264:

$ ffmpeg -codecs
FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.9-0ubuntu0.10.04.1 --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 Jun 12 2012 16:27:34, gcc: 4.4.3
ffmpeg: missing argument for option '-codecs'

Maybe it is too old version. I will try to get a recent one running on my oldie Ubuntu.

About sound - I don't need any, since 50D doesn't have a hardware mic and records no sound when shooting video.
#3
Okay, that's weird. I tried your ffmpeg command to compress video, but it resulted in file that was waay bigger than the original :) Ofcourse, I changed -s hd1080 to -s hd480 (since I'm shooting in 480p, there is no need to scale it up).
First, the aspect ration seems wrong. The output video was 852x480, while the original was 640x480, but I assume it is a matter of tunning of the -s parameter.
Second, I got awful white noise in all underxposed parts. Like someone was lit christmas decoration in every shadow :P

The filesize was a bit up, but I assume it was because of the wrong frame size:


-rw-r--r-- 1 ivanatora ivanatora 272M 2012-12-23 22:48 MVI_2355.mov
-rw-rw-rw- 1 ivanatora ivanatora 163M 2012-12-23 20:15 MVI_2355.MOV

#4
What options are you using with ffmpeg? I have it and if I can get a good result with it, it will be wonderful.
Could you post some command line samples?
#5
Hello ML users :)

First steps with video here. I have 50D that makes gorgeous videos thanks to ML. I'd like to compress them a bit. I'm going to use video rarely and I don't see myself as a video producer, so a little quality loss is acceptable. I'm shooting in 480p instead of HD.
The resulting MOV files are beautiful, but every step I try to encode these is screwing them really bad. I understand there are going to be compression artifacts, but the results are worse than I expected.
I tried with mencoder in that way:
mencoder -ovc xvid  -xvidencopts bitrate=1000 -o output.avi MVI_1792.MOV
Experimented a bit with the bitrate parameter (btw what is the default bitrate for ML? I haven't tweaked any settings for this). The output video quality varied between "crap" and "very bad".
Then I tried to upload the MOV directly to YouTube and the result was maybe even worse:
http://www.youtube.com/watch?v=t2M0PGaqb8g
The only good thing I saw there is the "reduce camera shake" option. It makes the handheld shot movie very smooth.

How do you proceed with video files in Linux?
#6
General Help Q&A / Re: Magic Lantern Slow Bracketing
December 02, 2012, 11:28:05 AM
I also noticed this odd thing.
I have high-speed continuous drive on 50D, mapped with AEB on C1 mode. Bracketing is almost instant. 3 shots are done withing half a second.
With ML it seems it is always using single shot drive. I get image preview after each shot (even if I disable preview from the Canon menu). 3 shots are done for about 10 seconds.
It will be great if ML can use HS CD for faster hand-held brackets.