Forum Replies Created

Page 1 of 2
  • Peter Robertson

    July 3, 2013 at 3:56 pm in reply to: script error

    My bad. The error appears to have been caused by the fact that I was using Text Edit to edit my .sh file–not a good idea. Saving the script with a different editor fixed the problem.

    FYI–the syntax for ffmpeg has changed since I used this script. With newer versions of ffmpeg you will need to use

    do ffmpeg -ss $i -t 10 -i YUWinter.mp4 -acodec copy -vcodec copy index_$i.mov

    the ‘-acodec copy -vcodec copy’ needs to be placed AFTER the output file.

    Peter

    Pedro

  • Peter Robertson

    May 7, 2013 at 3:38 pm in reply to: conversion problem

    This seems to have fixed the audio sync problem but when I export to a Quicktime movie from FCP my file size is HUGE, and thus gives me some extreme processing times in compressor. My original file that was out of sync was 1.68 GB, but now my QT file exported using the ProRes file is 30GB. Any suggestions on how I could bring my files sizes down and thus my compressor processing times down as well. I’m exporting a QT mp4 using h264. The clip is about an hour long.

    Thanks.

    Pedro

  • Peter Robertson

    May 6, 2013 at 2:31 pm in reply to: conversion problem

    I checked and the clip is not h264 but HDV 1080i60 which I imported from tape into FCP. I use this same workflow all the time and I have never had a problem like this. It plays in the Viewer and the Canvas correctly with no audio sync problems but when I export it to QuickTime movie it goes out of sync in the same spot. ???

    Thanks.

    Pedro

  • Peter Robertson

    May 6, 2013 at 1:05 am in reply to: conversion problem

    I’ll have to double check but I think it is h264.

    Pedro

  • Peter Robertson

    February 26, 2013 at 9:01 pm in reply to: ffmpeg to set metadata

    THANKS! I feel a little silly–I did not realize I forgot to change the extension of the tmp file from .mov to .mp4.

    Pedro

  • Peter Robertson

    February 26, 2013 at 3:47 pm in reply to: ffmpeg to set metadata

    These are the commands that I am using:

    ffmpeg -i MTStest.mp4 -metadata title=”66115-title of clip” -metadata author=”authors name” -metadata description=”some description” -c copy -y /tmp/tmp.mov && ffmpeg -i /tmp/tmp.mov -c copy -y MTStest.mp4

    And this is the output from the command line:

    ffmpeg version N-49695-g4e2c636 Copyright (c) 2000-2013 the FFmpeg developers
    built on Feb 7 2013 13:15:40 with gcc 4.2.1 (GCC) (Apple Inc. build 5666) (dot 3)
    configuration: –enable-libx264 –enable-gpl –enable-shared
    libavutil 52. 17.101 / 52. 17.101
    libavcodec 54. 91.102 / 54. 91.102
    libavformat 54. 61.104 / 54. 61.104
    libavdevice 54. 3.103 / 54. 3.103
    libavfilter 3. 35.101 / 3. 35.101
    libswscale 2. 2.100 / 2. 2.100
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 2.100 / 52. 2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘MTStest.mp4’:
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    title : 66115-title of clip
    artist : authors name
    encoder : Lavf54.61.104
    copyright : Peter Robertson
    Duration: 00:28:38.76, start: 0.000000, bitrate: 1150 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280×720 [SAR 1:1 DAR 16:9], 1013 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
    handler_name : VideoHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
    handler_name : SoundHandler
    Output #0, mov, to ‘/tmp/tmp.mov’:
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    copyright : Peter Robertson
    artist : authors name
    description : some description
    title : 66115-title of clip
    author : authors name
    encoder : Lavf54.61.104
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 1280×720 [SAR 1:1 DAR 16:9], q=2-31, 1013 kb/s, 29.97 fps, 30k tbn, 30k tbc
    Metadata:
    handler_name : VideoHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 128 kb/s
    Metadata:
    handler_name : SoundHandler
    Stream mapping:
    Stream #0:0 -> #0:0 (copy)
    Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame= 9236 fps=0.0 q=-1.0 size= 42138kB time=00:05:08.09 bitrate=1120.4kbits/frame=18903 fps=18440 q=-1.0 size= 90115kB time=00:10:30.65 bitrate=1170.6kbitframe=26939 fps=17348 q=-1.0 size= 131077kB time=00:14:58.81 bitrate=1194.7kbitframe=37062 fps=18054 q=-1.0 size= 176522kB time=00:20:36.58 bitrate=1169.4kbitframe=47064 fps=18436 q=-1.0 size= 220154kB time=00:26:10.32 bitrate=1148.5kbitframe=51510 fps=18353 q=-1.0 Lsize= 241301kB time=00:28:38.74 bitrate=1150.1kbits/s
    video:212533kB audio:26920kB subtitle:0 global headers:0kB muxing overhead 0.771552%
    ffmpeg version N-49695-g4e2c636 Copyright (c) 2000-2013 the FFmpeg developers
    built on Feb 7 2013 13:15:40 with gcc 4.2.1 (GCC) (Apple Inc. build 5666) (dot 3)
    configuration: –enable-libx264 –enable-gpl –enable-shared
    libavutil 52. 17.101 / 52. 17.101
    libavcodec 54. 91.102 / 54. 91.102
    libavformat 54. 61.104 / 54. 61.104
    libavdevice 54. 3.103 / 54. 3.103
    libavfilter 3. 35.101 / 3. 35.101
    libswscale 2. 2.100 / 2. 2.100
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 2.100 / 52. 2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘/tmp/tmp.mov’:
    Metadata:
    major_brand : qt
    minor_version : 512
    compatible_brands: qt
    title : 66115-title of clip
    artist : authors name
    encoder : Lavf54.61.104
    copyright : Peter Robertson
    Duration: 00:28:38.76, start: 0.000000, bitrate: 1150 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280×720 [SAR 1:1 DAR 16:9], 1013 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
    handler_name : DataHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
    handler_name : DataHandler
    Output #0, mp4, to ‘MTStest.mp4’:
    Metadata:
    major_brand : qt
    minor_version : 512
    compatible_brands: qt
    title : 66115-title of clip
    artist : authors name
    copyright : Peter Robertson
    encoder : Lavf54.61.104
    Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280×720 [SAR 1:1 DAR 16:9], q=2-31, 1013 kb/s, 29.97 fps, 30k tbn, 30k tbc
    Metadata:
    handler_name : DataHandler
    Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 128 kb/s
    Metadata:
    handler_name : DataHandler
    Stream mapping:
    Stream #0:0 -> #0:0 (copy)
    Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=10163 fps=0.0 q=-1.0 size= 46411kB time=00:05:39.05 bitrate=1121.4kbits/frame=18903 fps=18860 q=-1.0 size= 90115kB time=00:10:30.65 bitrate=1170.6kbitframe=28765 fps=18706 q=-1.0 size= 139265kB time=00:15:59.76 bitrate=1188.7kbitframe=39383 fps=19327 q=-1.0 size= 186811kB time=00:21:54.02 bitrate=1164.6kbitframe=48629 fps=19162 q=-1.0 size= 226937kB time=00:27:02.54 bitrate=1145.8kbitframe=51510 fps=19060 q=-1.0 Lsize= 241301kB time=00:28:38.74 bitrate=1150.1kbits/s
    video:212533kB audio:26920kB subtitle:0 global headers:0kB muxing overhead 0.771520%

    The “description : some description” is not being written to the file. The others are.

    Thanks.

    Peter

    Pedro

  • Peter Robertson

    February 23, 2013 at 1:44 am in reply to: Cloud based video editing project

    FFMPEG for output conversion will work well in web server (cloud) environment and could also be used to convert to pro res for editing. But as far as an open source video editor that’s a tough one. I’ve seen Kaltura used as a server based video archiving and hosting service but I don’t know about editing. Sounds like an interesting project…

    Pedro

  • Peter Robertson

    February 20, 2013 at 6:43 pm in reply to: ffmpeg to set metadata

    That works great except I can’t seem to be able to set the description

    -metadata description=”Some info”

    Either that or I can’t seem to be able to view it using Exiftool.

    Any suggestions?

    Thanks.

    Pedro

  • Peter Robertson

    February 12, 2013 at 9:28 pm in reply to: encoder ‘aac’ not working

    very nice! Works great. Thanks for the code.

    Pedro

    Pedro

  • Peter Robertson

    February 8, 2013 at 3:55 pm in reply to: encoder ‘aac’ not working

    Thanks. So the precompiled binary will have libx264, libfaac and libmp3lame?

    Another question–anyone running ffmbc? I want to be able to transcode HDV to ProRes.

    Pedro

Page 1 of 2

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