Stephen Dixon
Forum Replies Created
-
I’ve been looking for thunderbolt adaptors for the same reason. Is the Seagate dock hack the best we can do? I’m usually pretty happy to bodge things together with duct tape, but when transferring rushes I want to be pretty sure I’m not going to accidentally knock it with my elbow and lose the day’s work.
Here’s a business opportunity for anyone who wants it:
1. Make a SATA SSD dock with thunderbolt out, and market it to BMCC users.
2. ?
3. Profit!Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria -
Stephen Dixon
September 19, 2013 at 9:06 am in reply to: combine audio tracks with similar file namesyes, bash or zsh etc. Not for windows I’m afraid, though it might work with cygwin ( https://www.cygwin.org )
Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria -
Stephen Dixon
September 14, 2013 at 1:20 pm in reply to: combine audio tracks with similar file namesTo expand a little on the previous post, to automatically go through the folder and create the lists you can use shell expansion and pattern matching like so:
for i in NYAC-*-A.wav; do
echo "file $i">temp.txt
echo "file ${i/-A/-B}">>temp.txt
ffmpeg -f concat -i temp.txt -codec copy "${i/-A/}"
done
rm temp.txt
The first line creates a loop that matches all file that look like NYAC-anything-A.wav, substituting the name of the file for the variable $i wherever it appears inside the loop.
The second line creates a text file “temp.txt” containing the line
file NYAC-1234-A.wavand the third appendsfile NYAC-1234-B.wavto the fileThis third line uses parameter expansion to substitute -B for -A in the file names. Not that this will only work if the file names are similar to the pattern you gave. If your file name had say NYAC-Afternoon-A.wav in the title this would get changed to NYAC-Bfternoon-A.wav
Then it does the ffmpeg-ing using the temp.txt file, and lastly removes the temp file. Obviously if you have a file called temp.txt it would be destroyed by this script.Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria -
Stephen Dixon
May 14, 2013 at 4:54 am in reply to: copying strokes with pressure data from Illustrator to AEYes, that looks like what I’m going to have to do – actually you don’t even need to convert to outlines, it just pastes the as outlines by default.
Unfortunately there’s a lot of text, and this method won’t be half as easy as just animating the end property of the stroke. The big problem is where you have strokes that cross, you have to get the width just right or you get the other parts of the stroke revealing too soon. With variable width strokes this is especially tricky.
Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria -
just compile with libfaac and it will overwrite the old version.
Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria -
Stephen Dixon
January 22, 2013 at 5:03 am in reply to: 911101 – how to make an h264 video from jpeg files?Good catch! I’ve never realised this, since I work in 25fps all the time.
Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria -
Stephen Dixon
January 21, 2013 at 12:06 pm in reply to: 911101 – how to make an h264 video from jpeg files?if you’ve got an image sequence, Something like this will work
ffmpeg -i myjpeg_0%3d.jpg -vcodec libx264 -preset slow -profile main -crf 20 -r 30 movie.mp4- the 0%3d stands for a three digit, zero-padded decimal number. If your jpegs have four digits then use 0%4d 5 digits 0%5d and so on, “myjpeg” is obviously the name of your images.
- the -vcodec sets the codec to libx24 (h264 encoder)
- the preset and profile settings will produce good quality movies that play on lots of machines
- the -crf setting is your quality setting. Confusingly higher numbers are lower quality / smaller file size and lower numbers higher quality / bigger files.
- -r sets the frame rate
- movie.mp4 is the name of your output file.
Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria -
I thought I’d resurrect this thread, because it’s something I’ve been banging my head against for a while. There is something about the m2vs that ffmpeg creates that DVDSP doesn’t like. I’ve examined the MPEG2 elementary streams that DVDSP creates itself, and I’ve duplicated the settings with ffmpeg, but I can’t get DVDSP to accept them.
here’s the result from ffprobe -show_streams with a m2v encoded by the DVDSP internal encoder:
Input #0, mpegvideo, from ‘/Volumes/B_Media/encoding_temp/MPEG/20100813135240.mov_PAL_6700.m2v’:
Duration: 00:18:19.58, bitrate: 7899 kb/s
Stream #0:0: Video: mpeg2video (Main), yuv420p, 720×576 [SAR 64:45 DAR 16:9], 7900 kb/s, 25 fps, 25 tbr, 1200k tbn, 50 tbc
[STREAM]
index=0
codec_name=mpeg2video
codec_long_name=MPEG-2 video
codec_type=video
codec_time_base=1/50
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=720
height=576
has_b_frames=1
sample_aspect_ratio=64:45
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=8
timecode=00:00:00:00
id=N/A
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/1200000
start_time=N/A
duration=1099.587576
bit_rate=7900000
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
[/STREAM]here’s the same movie encoded using
ffmpeg -i test.mov -target pal-dvd -vf format=yuv420p,setsar=64:45 -an test.m2v:[STREAM]
index=0
codec_name=mpeg2video
codec_long_name=MPEG-2 video
codec_type=video
codec_time_base=1/50
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=720
height=576
has_b_frames=1
sample_aspect_ratio=64:45
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=8
timecode=00:00:00:00
id=0x1e0
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/90000
start_time=1.000000
duration=13.440000
bit_rate=9000000
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
[/STREAM]Is there anything about this second one that should be causing DVD Studio pro ti choke? I notice the timebase is different – what even is that?
Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria -
Stephen Dixon
August 31, 2012 at 11:39 am in reply to: Needing some advise for combining Video Filters (movie and scale)Can you post the output from the command?
Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria -
The frame rate changes how many frames get played every second. It doesn’t change the number of frames. So if you have 300 frames and you set the frame rate to 30fps then it will last 10 seconds, but if you set the frame rate to 25fps it will last 12 seconds, or 30 seconds at 10fps.
As for analysng the movie, ffmpeg comes with ffprobe, which is a tool for analysing movies. It will tell you the duration of the movie and the frame rate, in the form hh:mm:ss:ff and using that you can find how many frames there are.
Stephen Dixon
Editor, Animator, Motionographer
Museum Victoria