Forum Replies Created

  • Jack Passmore

    September 25, 2013 at 12:38 am in reply to: combine audio tracks with similar file names

    I finally got my hands on a linux box and this works great. I still need to figure out the syntax for .bat but many thanks!

  • Jack Passmore

    September 18, 2013 at 3:39 pm in reply to: combine audio tracks with similar file names

    Thanks,
    Is this bash? It doesn’t seem to work in my windows shell.
    J

  • Jack Passmore

    September 13, 2013 at 7:18 pm in reply to: combine audio tracks with similar file names

    Apologies, so I want to concatenate the two (join one after the other – they are hours one and two of a two hour program). Here’s the -i output

    D:\Local_Audio\ffmpeg\bin>ffmpeg -i NYAC-1234-A.wav -i NYAC-1234-B.wav -i NYAC-3
    456-A.wav -i NYAC-3456-B.wav

    ffmpeg version N-56254-gb7bd688 Copyright (c) 2000-2013 the FFmpeg developers
    built on Sep 12 2013 21:00:14 with gcc 4.7.3 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
    cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
    --enable-libxavs --enable-libxvid --enable-zlib
    libavutil 52. 43.100 / 52. 43.100
    libavcodec 55. 31.101 / 55. 31.101
    libavformat 55. 16.102 / 55. 16.102
    libavdevice 55. 3.100 / 55. 3.100
    libavfilter 3. 84.100 / 3. 84.100
    libswscale 2. 5.100 / 2. 5.100
    libswresample 0. 17.103 / 0. 17.103
    libpostproc 52. 3.100 / 52. 3.100
    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, wav, from 'NYAC-1234-A.wav':
    Metadata:
    genre : Unknown
    album : Album 02107D01
    date : 0000
    Duration: 01:10:21.65, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16
    , 1411 kb/s
    Guessed Channel Layout for Input Stream #1.0 : stereo
    Input #1, wav, from 'NYAC-1234-B.wav':
    Metadata:
    genre : Unknown
    album : Album 32110904
    date : 0000
    Duration: 01:12:41.03, bitrate: 1411 kb/s
    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16
    , 1411 kb/s
    Guessed Channel Layout for Input Stream #2.0 : stereo
    Input #2, wav, from 'NYAC-3456-A.wav':
    Metadata:
    genre : Unknown
    album : Album 020FB801
    date : 0000
    Duration: 01:07:04.05, bitrate: 1411 kb/s
    Stream #2:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16
    , 1411 kb/s
    Guessed Channel Layout for Input Stream #3.0 : stereo
    Input #3, wav, from 'NYAC-3456-B.wav':
    Metadata:
    genre : Unknown
    album : Album 02100901
    date : 0000
    Duration: 01:08:25.57, bitrate: 1411 kb/s
    Stream #3:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16
    , 1411 kb/s
    At least one output file must be specified

  • Jack Passmore

    October 27, 2010 at 5:54 pm in reply to: FFmpeg 2 pass encoding

    Great thanks,

    This seems to work except for some of the videos where I get an error message and I’m not sure why. Maybe the first pass is dropping frames or something?

    [libx264 @ 0x10181f400] 2nd pass has more frames than 1st pass (25082)bits/s ts/s
    [libx264 @ 0x10181f400] continuing anyway, at constant QP=28
    [libx264 @ 0x10181f400] disabling adaptive B-frames

  • Jack Passmore

    October 12, 2010 at 6:37 pm in reply to: 16:9 HD to 4:3 SD?

    Thank you! This is very helpful….
    Jack

  • Jack Passmore

    October 12, 2010 at 5:53 pm in reply to: 16:9 HD to 4:3 SD?

    Thank you!
    You are making me think the problem is with my initial project presets. Even though the video is 1920×1080 (the image is a 4:3 pillarboxed image), should my presets for the project be NTSC – DV > Standard 48khz? That way, when I import the 1920×1080 asset, I can manually scale it down using Effect/Distort/Transform to fit the NTSC – DV preset. I was using project presets that matched the specs of the original file. Instead should I use presets that more closely match my desired project output?

    Are the videos letterboxed or pillarboxed?
    Either way, uncheck “fit to scale” and do the resize manually with Effect/Distort/Transform.
    At export, make sure to change Recompress: Maintain Data Rate to Recompress: Always.

    I like to control every setting I can.
    Make sure you’re in a Full Screen DV project file. If you’re not, just create one and import your original project into it.
    I think “fit to scale” might be a default, but I wouldn’t recommend using it. It just uses basic rendering to proportionately scale whatever you drop into the timeline, so it fits in the projects dimensions.
    Effect/Distort/Transform resizes with a higher quality.

    This is all assuming you don’t need to deinterlace anything.

    Vince

  • Jack Passmore

    October 1, 2010 at 3:12 pm in reply to: ffmpeg scaling issue

    Awesome, it works. Apologies for my typos! Now I just have to find the correct h264 presets for decent web viewing.
    Cheers,
    John

  • Jack Passmore

    September 30, 2010 at 9:31 pm in reply to: ffmpeg scaling issue

    Hi Michael,

    You are correct I wasn’t getting a 640×480 image, I must have left that out. I was unaware of the -vf command, so thank you. However, I’m still having some problems.

    This command will change the 1920×1080 letterboxed video to a 1140×1080 4:3 video correctly:

    ffmpeg -i video.avi -vf “crop=240:0:1440:1080” video_crop.mp4

    But when go back to the original file and try to also scale the image, it creates a 640×480 image that is stretched vertically and letterboxed:

    ffmpeg -i video.avi -vf “crop=240:0:1440:1080” -vf “scale=640:480” video_crop_resize.mp4

    I can’t figure out why I’m not getting a 4:3 630×480 video file without letterboxing…

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy