Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-25 Thread Keith Reilly
Erik,
  You have solved my problem. Now i understand how IMX works and now I
don't have to rely on a pipe from ffmpeg to ffmbc in order to process
certain files. In fact i'll just use ffmpeg for everything, even what was
working with ffmbc. The quality from ffmpeg looks slightly better to me.
One last question. Is there a website dedicated to encoding media for Avid,
and other broadcast devices, with ffmpeg. I know there is the ffmpeg manual
but that is a bit overwhelming and doesn't deal with requirments Avid has.
When i last researched this not to long ago I found ffmbc and i thought
that ffmpeg could do produce media for fast import in Avid. Obviously this
was wrong. The reason I ask is because i feel at some point my boss is
going to want me to start processing archival thats HD for Avid so it would
be good to start learning. Thanks for all your help.

On Thu, Aug 25, 2016 at 3:48 AM, Erik Dobberkau 
wrote:

> 2016-08-24 22:12 GMT+02:00 Keith Reilly :
>
> > with line 5 I get an error from the output of ffmpeg:
> > [NULL @ 0x7ff76100d200] Unable to find a suitable output format for
> > '[-rc_max_vbv_use'
> > [-rc_max_vbv_use: Invalid argument
> >
>
> Keith,
>
> I was using square brackets to indicate these parameters as optional, so
> you need to leave these square brackets out if you want to apply the
> parameters.
>
> With your video filters line, "scale=720:576:interl=0:in_
> > color_matrix=bt709:out_color_matrix=bt601,pad=720:608:0:32,
> > tinterlace=4:flags=vlpf,setdar=16/9", i changed scale=720:576 to 720:486
> > since when i looked up what the NTSC standard for IMX was i read it was
> > 720X486. This worked find with your padding but when i take that out Avid
> > will fast import but not playback. After comparing this output from
> ffmpeg
> > (720x486 with no padding) to the ffmbc counterpart i saw that the
> > resolution of ffmbc was actually 720x512. So when I changed this in
> ffmpeg,
> > scale=720:512, i can fast import and playback just fine. The problem
> there
> > is that the aspect ratio is slightly off and the very top of the image is
> > cut off. Also i took note that Avid reports this file with a raster of
> > 720x486 even though it is clearly 720x512.
> > My conclusion is that with Avid, when using the IMX format, it
> will
> > ignore the top 24 lines of resolution. So I need to create a video that
> > has, at least for NTSC, 24 lines of padding at the top since Avid will
> > treat the video as 720:486 by cutting off the top.
> >
> This seems insane but that is what i'm looking at. I can clearly see the
> > top of the video in VLC
> > but in Avid it is gone.  And I think the reason why the image is not
> > centered with your command is because i change the scale for NTSC but not
> > the padding and it threw everything off. Is this correct? It looks like
> it
> > is to me from all the testing i did but it seems so strange that things
> > would behave this way. I tried to google this but it did not clear
> anything
> > up.
> >
> >
>
> Well, you almost got it. IMX format requires VBI to be put somewhere,
> that's why you have 486 lines (not 480 as I stated previously) of active
> video and 26 black lines at the top (in NTSC). Avid MC reports active video
> frame size. VLC is "stupid" and will display the whole video frame,
> including areas which in terms of broadcast video are inactive and will be
> cut off after transmission. (It's always helpful to know how stuff was done
> before there were -almost- only files.)
> In conclusion you need to scale your video to 720x486 and the add 26 (not
> 24) lines/pixels at the top when encoding.
> This is not insane at all, it just makes IMX a not-so-easy format to
> handle. If you apply said changes to your command it should work out.
>
> Erik
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-24 Thread Keith Reilly
Erik,
  This is a major step for me in that i got Avid to fast import media
that could be played back when created from ffmpeg. With your command minus
line 5, [-rc_max_vbv_use 1 -rc_min_vbv_use 1 -rc_buf_aggressivity 0.25], I
was able to do this. I do however have a few issues.  FYI with line 5 I get
an error from the output of ffmpeg:
[NULL @ 0x7ff76100d200] Unable to find a suitable output format for
'[-rc_max_vbv_use'
[-rc_max_vbv_use: Invalid argument
I'm not concerned by this since it works fine omitting this as it did for
you.
   The issue i have now is with the padding, the image needs to be
manipulated by the editors to get it centered creating extra steps we'd
rather do without. I thought this would be simple enough to fix but now i'm
getting an education on imx video and how Avid handles them. I'm still not
%100 clear on how things are working so let me go over the steps with you
on what i did and you can tell me if I got the right conclusion.
With your video filters line, "scale=720:576:interl=0:in_
color_matrix=bt709:out_color_matrix=bt601,pad=720:608:0:32,
tinterlace=4:flags=vlpf,setdar=16/9", i changed scale=720:576 to 720:486
since when i looked up what the NTSC standard for IMX was i read it was
720X486. This worked find with your padding but when i take that out Avid
will fast import but not playback. After comparing this output from ffmpeg
(720x486 with no padding) to the ffmbc counterpart i saw that the
resolution of ffmbc was actually 720x512. So when I changed this in ffmpeg,
scale=720:512, i can fast import and playback just fine. The problem there
is that the aspect ratio is slightly off and the very top of the image is
cut off. Also i took note that Avid reports this file with a raster of
720x486 even though it is clearly 720x512.
My conclusion is that with Avid, when using the IMX format, it will
ignore the top 24 lines of resolution. So I need to create a video that
has, at least for NTSC, 24 lines of padding at the top since Avid will
treat the video as 720:486 by cutting off the top. This seems insane but
that is what i'm looking at. I can clearly see the top of the video in VLC
but in Avid it is gone.  And I think the reason why the image is not
centered with your command is because i change the scale for NTSC but not
the padding and it threw everything off. Is this correct? It looks like it
is to me from all the testing i did but it seems so strange that things
would behave this way. I tried to google this but it did not clear anything
up.
   Again thanks for all your help. I know this was a lengthy response.
Thanks for reading

Keith

On Tue, Aug 23, 2016 at 4:13 PM, Erik Dobberkau 
wrote:

> > 2016-08-23 9:45 GMT+02:00 Erik Dobberkau  > >:
> >
> > > With the (as of testing a few days ago) latest ffmpeg Win build (3.0.2)
> >
> > 3.0.2 is six months old.
> >
> > Please consider cutting your quotes, Carl Eugen
> >
>
> Sure.
> Last downloaded on Aug 8, 2016 --- whatever this (zeranoe) build's version
> no. is...should be 3.1.x I guess.
>
> Erik
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-23 Thread Carl Eugen Hoyos
2016-08-23 9:45 GMT+02:00 Erik Dobberkau :

> With the (as of testing a few days ago) latest ffmpeg Win build (3.0.2)

3.0.2 is six months old.

Please consider cutting your quotes, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-23 Thread Erik Dobberkau
2016-08-22 23:39 GMT+02:00 Keith Reilly :

> On Sat, Aug 20, 2016 at 7:41 AM, Erik Dobberkau 
> wrote:
>
> > 2016-08-19 22:43 GMT+02:00 Keith Reilly :
> >
> > > wrote:
> > >
> > > > > > 2016-08-18 23:23 GMT+02:00 Paul B Mahol :
> > > > > >
> > > > > > > On 8/18/16, Keith Reilly  wrote:
> > > > > > > > I use ffmbc to create Avid supported files for fast import
> > > (ffmpeg
> > > > > > > doesn't
> > > > > > > > do this). ffmbc is behind in development so there are codecs
> it
> > > > > cannot
> > > > > > > read
> > > > > > > > that i need it to. My solution is to simply read the file
> with
> > > > ffmpeg
> > > > > > and
> > > > > > > > pass it on to ffmbc via standard output that way i can make
> > Avid
> > > > > media
> > > > > > > with
> > > > > > > > anything ffmpeg reads. However i have an issue. I do not get
> > the
> > > > > whole
> > > > > > > > video converted.
> > > > > > > >
> > > > > > > >  I'm running on Mac os 10.11.6 ffmpeg was installed with
> > > macports,
> > > > > > ffmbc
> > > > > > > > from source. The video is about 1 hour 27 min long, i get
> > > roughly 5
> > > > > > > minutes
> > > > > > > > of the imx50 file that is perfect except for the missing hour
> > and
> > > > > > 22min.
> > > > > > > >
> > > > > > > > console input:
> > > > > > > > ffmpeg -i _Youtube.webm -c:v rawvideo -c:a pcm_s16le -f avi
> > > pipe:1
> > > > |
> > > > > > > ffmbc
> > > > > > > > -i pipe:0 -r 29.97 -target imx50 _Youtube.mxf
> > > > > > > >
> > > > > > > > output:
> > > > > > > >
> > > > > > > > ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg
> > > developers
> > > > > > > >
> > > > > > > >   built with Apple LLVM version 7.3.0 (clang-703.0.31)
> > > > > > > >
> > > > > > > >   configuration: --prefix=/opt/local --enable-swscale
> > > > > --enable-avfilter
> > > > > > > > --enable-avresample --enable-libmp3lame --enable-libvorbis
> > > > > > > --enable-libopus
> > > > > > > > --enable-libtheora --enable-libschroedinger
> > --enable-libopenjpeg
> > > > > > > > --enable-libmodplug --enable-libvpx --enable-libsoxr
> > > > > --enable-libspeex
> > > > > > > > --enable-libass --enable-libbluray --enable-lzma
> > --enable-gnutls
> > > > > > > > --enable-fontconfig --enable-libfreetype --enable-libfribidi
> > > > > > > > --disable-indev=jack --disable-outdev=xv
> > > > > --mandir=/opt/local/share/man
> > > > > > > > --enable-shared --enable-pthreads --cc=/usr/bin/clang
> > > --enable-vda
> > > > > > > > --enable-audiotoolbox --enable-videotoolbox --arch=x86_64
> > > > > --enable-yasm
> > > > > > > > --enable-gpl --enable-postproc --enable-libx264
> > --enable-libxvid
> > > > > > > >
> > > > > > > >   libavutil  55. 28.100 / 55. 28.100
> > > > > > > >
> > > > > > > >   libavcodec 57. 48.101 / 57. 48.101
> > > > > > > >
> > > > > > > >   libavformat57. 41.100 / 57. 41.100
> > > > > > > >
> > > > > > > >   libavdevice57.  0.101 / 57.  0.101
> > > > > > > >
> > > > > > > >   libavfilter 6. 47.100 /  6. 47.100
> > > > > > > >
> > > > > > > >   libavresample   3.  0.  0 /  3.  0.  0
> > > > > > > >
> > > > > > > >   libswscale  4.  1.100 /  4.  1.100
> > > > > > > >
> > > > > > > >   libswresample   2.  1.100 /  2.  1.100
> > > > > > > >
> > > > > > > >   libpostproc54.  0.100 / 54.  0.100
> > > > > > > >
> > > > > > > > FFmbc version 0.7.4
> > > > > > > >
> > > > > > > > Copyright (c) 2008-2015 Baptiste Coudurier and the FFmpeg
> > > > developers
> > > > > > > >
> > > > > > > > Input #0, matroska,webm, from '/Volumes/RR295-KENNEDY_1/_
> > > > > > Youtube.webm':
> > > > > > > >
> > > > > > > >   Metadata:
> > > > > > > >
> > > > > > > > encoder : Lavf56.1.0
> > > > > > > >
> > > > > > > >   Duration: 01:27:33.64, start: 0.00, bitrate: 480 kb/s
> > > > > > > >
> > > > > > > > Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv),
> > > 640x480,
> > > > > SAR
> > > > > > > 1:1
> > > > > > > > DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
> > > > > > > >
> > > > > > > > Stream #0:1(eng): Audio: vorbis, 44100 Hz, stereo, fltp
> > > > (default)
> > > > > > > >
> > > > > > > > [avi @ 0x7fcd6c83f000] Using AVStream.codec to pass codec
> > > > parameters
> > > > > to
> > > > > > > > muxers is deprecated, use AVStream.codecpar instead.
> > > > > > > >
> > > > > > > > Last message repeated 1 times
> > > > > > > >
> > > > > > > > Output #0, avi, to 'pipe:1':
> > > > > > > >
> > > > > > > >   Metadata:
> > > > > > > >
> > > > > > > > ISFT: Lavf57.41.100
> > > > > > > >
> > > > > > > > Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449),
> > > yuv420p,
> > > > > > > 640x480
> > > > > > > > [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn,
> > 29.97
> > > > tbc
> > > > > > > > (default)
> > > > > > > >
> > > > > > > > Metadata:
> > > > > > > >
> > > > > > > >   encoder : Lavc57.48.101 rawvideo
> 

Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-22 Thread Keith Reilly
On Sat, Aug 20, 2016 at 7:41 AM, Erik Dobberkau 
wrote:

> 2016-08-19 22:43 GMT+02:00 Keith Reilly :
>
> > wrote:
> >
> > > > > 2016-08-18 23:23 GMT+02:00 Paul B Mahol :
> > > > >
> > > > > > On 8/18/16, Keith Reilly  wrote:
> > > > > > > I use ffmbc to create Avid supported files for fast import
> > (ffmpeg
> > > > > > doesn't
> > > > > > > do this). ffmbc is behind in development so there are codecs it
> > > > cannot
> > > > > > read
> > > > > > > that i need it to. My solution is to simply read the file with
> > > ffmpeg
> > > > > and
> > > > > > > pass it on to ffmbc via standard output that way i can make
> Avid
> > > > media
> > > > > > with
> > > > > > > anything ffmpeg reads. However i have an issue. I do not get
> the
> > > > whole
> > > > > > > video converted.
> > > > > > >
> > > > > > >  I'm running on Mac os 10.11.6 ffmpeg was installed with
> > macports,
> > > > > ffmbc
> > > > > > > from source. The video is about 1 hour 27 min long, i get
> > roughly 5
> > > > > > minutes
> > > > > > > of the imx50 file that is perfect except for the missing hour
> and
> > > > > 22min.
> > > > > > >
> > > > > > > console input:
> > > > > > > ffmpeg -i _Youtube.webm -c:v rawvideo -c:a pcm_s16le -f avi
> > pipe:1
> > > |
> > > > > > ffmbc
> > > > > > > -i pipe:0 -r 29.97 -target imx50 _Youtube.mxf
> > > > > > >
> > > > > > > output:
> > > > > > >
> > > > > > > ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg
> > developers
> > > > > > >
> > > > > > >   built with Apple LLVM version 7.3.0 (clang-703.0.31)
> > > > > > >
> > > > > > >   configuration: --prefix=/opt/local --enable-swscale
> > > > --enable-avfilter
> > > > > > > --enable-avresample --enable-libmp3lame --enable-libvorbis
> > > > > > --enable-libopus
> > > > > > > --enable-libtheora --enable-libschroedinger
> --enable-libopenjpeg
> > > > > > > --enable-libmodplug --enable-libvpx --enable-libsoxr
> > > > --enable-libspeex
> > > > > > > --enable-libass --enable-libbluray --enable-lzma
> --enable-gnutls
> > > > > > > --enable-fontconfig --enable-libfreetype --enable-libfribidi
> > > > > > > --disable-indev=jack --disable-outdev=xv
> > > > --mandir=/opt/local/share/man
> > > > > > > --enable-shared --enable-pthreads --cc=/usr/bin/clang
> > --enable-vda
> > > > > > > --enable-audiotoolbox --enable-videotoolbox --arch=x86_64
> > > > --enable-yasm
> > > > > > > --enable-gpl --enable-postproc --enable-libx264
> --enable-libxvid
> > > > > > >
> > > > > > >   libavutil  55. 28.100 / 55. 28.100
> > > > > > >
> > > > > > >   libavcodec 57. 48.101 / 57. 48.101
> > > > > > >
> > > > > > >   libavformat57. 41.100 / 57. 41.100
> > > > > > >
> > > > > > >   libavdevice57.  0.101 / 57.  0.101
> > > > > > >
> > > > > > >   libavfilter 6. 47.100 /  6. 47.100
> > > > > > >
> > > > > > >   libavresample   3.  0.  0 /  3.  0.  0
> > > > > > >
> > > > > > >   libswscale  4.  1.100 /  4.  1.100
> > > > > > >
> > > > > > >   libswresample   2.  1.100 /  2.  1.100
> > > > > > >
> > > > > > >   libpostproc54.  0.100 / 54.  0.100
> > > > > > >
> > > > > > > FFmbc version 0.7.4
> > > > > > >
> > > > > > > Copyright (c) 2008-2015 Baptiste Coudurier and the FFmpeg
> > > developers
> > > > > > >
> > > > > > > Input #0, matroska,webm, from '/Volumes/RR295-KENNEDY_1/_
> > > > > Youtube.webm':
> > > > > > >
> > > > > > >   Metadata:
> > > > > > >
> > > > > > > encoder : Lavf56.1.0
> > > > > > >
> > > > > > >   Duration: 01:27:33.64, start: 0.00, bitrate: 480 kb/s
> > > > > > >
> > > > > > > Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv),
> > 640x480,
> > > > SAR
> > > > > > 1:1
> > > > > > > DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
> > > > > > >
> > > > > > > Stream #0:1(eng): Audio: vorbis, 44100 Hz, stereo, fltp
> > > (default)
> > > > > > >
> > > > > > > [avi @ 0x7fcd6c83f000] Using AVStream.codec to pass codec
> > > parameters
> > > > to
> > > > > > > muxers is deprecated, use AVStream.codecpar instead.
> > > > > > >
> > > > > > > Last message repeated 1 times
> > > > > > >
> > > > > > > Output #0, avi, to 'pipe:1':
> > > > > > >
> > > > > > >   Metadata:
> > > > > > >
> > > > > > > ISFT: Lavf57.41.100
> > > > > > >
> > > > > > > Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449),
> > yuv420p,
> > > > > > 640x480
> > > > > > > [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn,
> 29.97
> > > tbc
> > > > > > > (default)
> > > > > > >
> > > > > > > Metadata:
> > > > > > >
> > > > > > >   encoder : Lavc57.48.101 rawvideo
> > > > > > >
> > > > > > > Stream #0:1(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001),
> > > 44100
> > > > > Hz,
> > > > > > > stereo, s16, 1411 kb/s (default)
> > > > > > >
> > > > > > > Metadata:
> > > > > > >
> > > > > > >   encoder : Lavc57.48.101 pcm_s16le
> > > > > > >
> > > > > > > Stream mapping:
> > > > > > >
> > > 

Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-20 Thread Erik Dobberkau
2016-08-19 22:43 GMT+02:00 Keith Reilly :

> wrote:
>
> > > > 2016-08-18 23:23 GMT+02:00 Paul B Mahol :
> > > >
> > > > > On 8/18/16, Keith Reilly  wrote:
> > > > > > I use ffmbc to create Avid supported files for fast import
> (ffmpeg
> > > > > doesn't
> > > > > > do this). ffmbc is behind in development so there are codecs it
> > > cannot
> > > > > read
> > > > > > that i need it to. My solution is to simply read the file with
> > ffmpeg
> > > > and
> > > > > > pass it on to ffmbc via standard output that way i can make Avid
> > > media
> > > > > with
> > > > > > anything ffmpeg reads. However i have an issue. I do not get the
> > > whole
> > > > > > video converted.
> > > > > >
> > > > > >  I'm running on Mac os 10.11.6 ffmpeg was installed with
> macports,
> > > > ffmbc
> > > > > > from source. The video is about 1 hour 27 min long, i get
> roughly 5
> > > > > minutes
> > > > > > of the imx50 file that is perfect except for the missing hour and
> > > > 22min.
> > > > > >
> > > > > > console input:
> > > > > > ffmpeg -i _Youtube.webm -c:v rawvideo -c:a pcm_s16le -f avi
> pipe:1
> > |
> > > > > ffmbc
> > > > > > -i pipe:0 -r 29.97 -target imx50 _Youtube.mxf
> > > > > >
> > > > > > output:
> > > > > >
> > > > > > ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg
> developers
> > > > > >
> > > > > >   built with Apple LLVM version 7.3.0 (clang-703.0.31)
> > > > > >
> > > > > >   configuration: --prefix=/opt/local --enable-swscale
> > > --enable-avfilter
> > > > > > --enable-avresample --enable-libmp3lame --enable-libvorbis
> > > > > --enable-libopus
> > > > > > --enable-libtheora --enable-libschroedinger --enable-libopenjpeg
> > > > > > --enable-libmodplug --enable-libvpx --enable-libsoxr
> > > --enable-libspeex
> > > > > > --enable-libass --enable-libbluray --enable-lzma --enable-gnutls
> > > > > > --enable-fontconfig --enable-libfreetype --enable-libfribidi
> > > > > > --disable-indev=jack --disable-outdev=xv
> > > --mandir=/opt/local/share/man
> > > > > > --enable-shared --enable-pthreads --cc=/usr/bin/clang
> --enable-vda
> > > > > > --enable-audiotoolbox --enable-videotoolbox --arch=x86_64
> > > --enable-yasm
> > > > > > --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
> > > > > >
> > > > > >   libavutil  55. 28.100 / 55. 28.100
> > > > > >
> > > > > >   libavcodec 57. 48.101 / 57. 48.101
> > > > > >
> > > > > >   libavformat57. 41.100 / 57. 41.100
> > > > > >
> > > > > >   libavdevice57.  0.101 / 57.  0.101
> > > > > >
> > > > > >   libavfilter 6. 47.100 /  6. 47.100
> > > > > >
> > > > > >   libavresample   3.  0.  0 /  3.  0.  0
> > > > > >
> > > > > >   libswscale  4.  1.100 /  4.  1.100
> > > > > >
> > > > > >   libswresample   2.  1.100 /  2.  1.100
> > > > > >
> > > > > >   libpostproc54.  0.100 / 54.  0.100
> > > > > >
> > > > > > FFmbc version 0.7.4
> > > > > >
> > > > > > Copyright (c) 2008-2015 Baptiste Coudurier and the FFmpeg
> > developers
> > > > > >
> > > > > > Input #0, matroska,webm, from '/Volumes/RR295-KENNEDY_1/_
> > > > Youtube.webm':
> > > > > >
> > > > > >   Metadata:
> > > > > >
> > > > > > encoder : Lavf56.1.0
> > > > > >
> > > > > >   Duration: 01:27:33.64, start: 0.00, bitrate: 480 kb/s
> > > > > >
> > > > > > Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv),
> 640x480,
> > > SAR
> > > > > 1:1
> > > > > > DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
> > > > > >
> > > > > > Stream #0:1(eng): Audio: vorbis, 44100 Hz, stereo, fltp
> > (default)
> > > > > >
> > > > > > [avi @ 0x7fcd6c83f000] Using AVStream.codec to pass codec
> > parameters
> > > to
> > > > > > muxers is deprecated, use AVStream.codecpar instead.
> > > > > >
> > > > > > Last message repeated 1 times
> > > > > >
> > > > > > Output #0, avi, to 'pipe:1':
> > > > > >
> > > > > >   Metadata:
> > > > > >
> > > > > > ISFT: Lavf57.41.100
> > > > > >
> > > > > > Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449),
> yuv420p,
> > > > > 640x480
> > > > > > [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97
> > tbc
> > > > > > (default)
> > > > > >
> > > > > > Metadata:
> > > > > >
> > > > > >   encoder : Lavc57.48.101 rawvideo
> > > > > >
> > > > > > Stream #0:1(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001),
> > 44100
> > > > Hz,
> > > > > > stereo, s16, 1411 kb/s (default)
> > > > > >
> > > > > > Metadata:
> > > > > >
> > > > > >   encoder : Lavc57.48.101 pcm_s16le
> > > > > >
> > > > > > Stream mapping:
> > > > > >
> > > > > >   Stream #0:0 -> #0:0 (vp9 (native) -> rawvideo (native))
> > > > > >
> > > > > >   Stream #0:1 -> #0:1 (vorbis (native) -> pcm_s16le (native))
> > > > > >
> > > > > > Press [q] to stop, [?] for help
> > > > > >
> > > > > > Input #0, avi, from 'pipe:0':
> > > > > >
> > > > > >   Metadata:
> > > > > >
> > > > > > encoder: Lavf57.41.100
> > > > > >
> > > > > >   

Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-19 Thread Keith Reilly
On Fri, Aug 19, 2016 at 11:46 AM, Erik Dobberkau 
wrote:

> > > 2016-08-18 23:23 GMT+02:00 Paul B Mahol :
> > >
> > > > On 8/18/16, Keith Reilly  wrote:
> > > > > I use ffmbc to create Avid supported files for fast import (ffmpeg
> > > > doesn't
> > > > > do this). ffmbc is behind in development so there are codecs it
> > cannot
> > > > read
> > > > > that i need it to. My solution is to simply read the file with
> ffmpeg
> > > and
> > > > > pass it on to ffmbc via standard output that way i can make Avid
> > media
> > > > with
> > > > > anything ffmpeg reads. However i have an issue. I do not get the
> > whole
> > > > > video converted.
> > > > >
> > > > >  I'm running on Mac os 10.11.6 ffmpeg was installed with macports,
> > > ffmbc
> > > > > from source. The video is about 1 hour 27 min long, i get roughly 5
> > > > minutes
> > > > > of the imx50 file that is perfect except for the missing hour and
> > > 22min.
> > > > >
> > > > > console input:
> > > > > ffmpeg -i _Youtube.webm -c:v rawvideo -c:a pcm_s16le -f avi pipe:1
> |
> > > > ffmbc
> > > > > -i pipe:0 -r 29.97 -target imx50 _Youtube.mxf
> > > > >
> > > > > output:
> > > > >
> > > > > ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
> > > > >
> > > > >   built with Apple LLVM version 7.3.0 (clang-703.0.31)
> > > > >
> > > > >   configuration: --prefix=/opt/local --enable-swscale
> > --enable-avfilter
> > > > > --enable-avresample --enable-libmp3lame --enable-libvorbis
> > > > --enable-libopus
> > > > > --enable-libtheora --enable-libschroedinger --enable-libopenjpeg
> > > > > --enable-libmodplug --enable-libvpx --enable-libsoxr
> > --enable-libspeex
> > > > > --enable-libass --enable-libbluray --enable-lzma --enable-gnutls
> > > > > --enable-fontconfig --enable-libfreetype --enable-libfribidi
> > > > > --disable-indev=jack --disable-outdev=xv
> > --mandir=/opt/local/share/man
> > > > > --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda
> > > > > --enable-audiotoolbox --enable-videotoolbox --arch=x86_64
> > --enable-yasm
> > > > > --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
> > > > >
> > > > >   libavutil  55. 28.100 / 55. 28.100
> > > > >
> > > > >   libavcodec 57. 48.101 / 57. 48.101
> > > > >
> > > > >   libavformat57. 41.100 / 57. 41.100
> > > > >
> > > > >   libavdevice57.  0.101 / 57.  0.101
> > > > >
> > > > >   libavfilter 6. 47.100 /  6. 47.100
> > > > >
> > > > >   libavresample   3.  0.  0 /  3.  0.  0
> > > > >
> > > > >   libswscale  4.  1.100 /  4.  1.100
> > > > >
> > > > >   libswresample   2.  1.100 /  2.  1.100
> > > > >
> > > > >   libpostproc54.  0.100 / 54.  0.100
> > > > >
> > > > > FFmbc version 0.7.4
> > > > >
> > > > > Copyright (c) 2008-2015 Baptiste Coudurier and the FFmpeg
> developers
> > > > >
> > > > > Input #0, matroska,webm, from '/Volumes/RR295-KENNEDY_1/_
> > > Youtube.webm':
> > > > >
> > > > >   Metadata:
> > > > >
> > > > > encoder : Lavf56.1.0
> > > > >
> > > > >   Duration: 01:27:33.64, start: 0.00, bitrate: 480 kb/s
> > > > >
> > > > > Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 640x480,
> > SAR
> > > > 1:1
> > > > > DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
> > > > >
> > > > > Stream #0:1(eng): Audio: vorbis, 44100 Hz, stereo, fltp
> (default)
> > > > >
> > > > > [avi @ 0x7fcd6c83f000] Using AVStream.codec to pass codec
> parameters
> > to
> > > > > muxers is deprecated, use AVStream.codecpar instead.
> > > > >
> > > > > Last message repeated 1 times
> > > > >
> > > > > Output #0, avi, to 'pipe:1':
> > > > >
> > > > >   Metadata:
> > > > >
> > > > > ISFT: Lavf57.41.100
> > > > >
> > > > > Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p,
> > > > 640x480
> > > > > [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97
> tbc
> > > > > (default)
> > > > >
> > > > > Metadata:
> > > > >
> > > > >   encoder : Lavc57.48.101 rawvideo
> > > > >
> > > > > Stream #0:1(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001),
> 44100
> > > Hz,
> > > > > stereo, s16, 1411 kb/s (default)
> > > > >
> > > > > Metadata:
> > > > >
> > > > >   encoder : Lavc57.48.101 pcm_s16le
> > > > >
> > > > > Stream mapping:
> > > > >
> > > > >   Stream #0:0 -> #0:0 (vp9 (native) -> rawvideo (native))
> > > > >
> > > > >   Stream #0:1 -> #0:1 (vorbis (native) -> pcm_s16le (native))
> > > > >
> > > > > Press [q] to stop, [?] for help
> > > > >
> > > > > Input #0, avi, from 'pipe:0':
> > > > >
> > > > >   Metadata:
> > > > >
> > > > > encoder: Lavf57.41.100
> > > > >
> > > > >   Duration: 9951:59:45.52, bitrate: N/A
> > > > >
> > > > > Stream #0.0(und): Video: rawvideo, yuv420p, 640x480p, PAR 1:1
> DAR
> > > > 4:3,
> > > > > 29.97 fps
> > > > >
> > > > > Stream #0.1(und): Audio: pcm_s16le, 44100 Hz, 2 channels, s16,
> > 1411
> > > > kb/s
> > > > >
> > > > > 

Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-19 Thread Erik Dobberkau
> > 2016-08-18 23:23 GMT+02:00 Paul B Mahol :
> >
> > > On 8/18/16, Keith Reilly  wrote:
> > > > I use ffmbc to create Avid supported files for fast import (ffmpeg
> > > doesn't
> > > > do this). ffmbc is behind in development so there are codecs it
> cannot
> > > read
> > > > that i need it to. My solution is to simply read the file with ffmpeg
> > and
> > > > pass it on to ffmbc via standard output that way i can make Avid
> media
> > > with
> > > > anything ffmpeg reads. However i have an issue. I do not get the
> whole
> > > > video converted.
> > > >
> > > >  I'm running on Mac os 10.11.6 ffmpeg was installed with macports,
> > ffmbc
> > > > from source. The video is about 1 hour 27 min long, i get roughly 5
> > > minutes
> > > > of the imx50 file that is perfect except for the missing hour and
> > 22min.
> > > >
> > > > console input:
> > > > ffmpeg -i _Youtube.webm -c:v rawvideo -c:a pcm_s16le -f avi pipe:1 |
> > > ffmbc
> > > > -i pipe:0 -r 29.97 -target imx50 _Youtube.mxf
> > > >
> > > > output:
> > > >
> > > > ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
> > > >
> > > >   built with Apple LLVM version 7.3.0 (clang-703.0.31)
> > > >
> > > >   configuration: --prefix=/opt/local --enable-swscale
> --enable-avfilter
> > > > --enable-avresample --enable-libmp3lame --enable-libvorbis
> > > --enable-libopus
> > > > --enable-libtheora --enable-libschroedinger --enable-libopenjpeg
> > > > --enable-libmodplug --enable-libvpx --enable-libsoxr
> --enable-libspeex
> > > > --enable-libass --enable-libbluray --enable-lzma --enable-gnutls
> > > > --enable-fontconfig --enable-libfreetype --enable-libfribidi
> > > > --disable-indev=jack --disable-outdev=xv
> --mandir=/opt/local/share/man
> > > > --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda
> > > > --enable-audiotoolbox --enable-videotoolbox --arch=x86_64
> --enable-yasm
> > > > --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
> > > >
> > > >   libavutil  55. 28.100 / 55. 28.100
> > > >
> > > >   libavcodec 57. 48.101 / 57. 48.101
> > > >
> > > >   libavformat57. 41.100 / 57. 41.100
> > > >
> > > >   libavdevice57.  0.101 / 57.  0.101
> > > >
> > > >   libavfilter 6. 47.100 /  6. 47.100
> > > >
> > > >   libavresample   3.  0.  0 /  3.  0.  0
> > > >
> > > >   libswscale  4.  1.100 /  4.  1.100
> > > >
> > > >   libswresample   2.  1.100 /  2.  1.100
> > > >
> > > >   libpostproc54.  0.100 / 54.  0.100
> > > >
> > > > FFmbc version 0.7.4
> > > >
> > > > Copyright (c) 2008-2015 Baptiste Coudurier and the FFmpeg developers
> > > >
> > > > Input #0, matroska,webm, from '/Volumes/RR295-KENNEDY_1/_
> > Youtube.webm':
> > > >
> > > >   Metadata:
> > > >
> > > > encoder : Lavf56.1.0
> > > >
> > > >   Duration: 01:27:33.64, start: 0.00, bitrate: 480 kb/s
> > > >
> > > > Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 640x480,
> SAR
> > > 1:1
> > > > DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
> > > >
> > > > Stream #0:1(eng): Audio: vorbis, 44100 Hz, stereo, fltp (default)
> > > >
> > > > [avi @ 0x7fcd6c83f000] Using AVStream.codec to pass codec parameters
> to
> > > > muxers is deprecated, use AVStream.codecpar instead.
> > > >
> > > > Last message repeated 1 times
> > > >
> > > > Output #0, avi, to 'pipe:1':
> > > >
> > > >   Metadata:
> > > >
> > > > ISFT: Lavf57.41.100
> > > >
> > > > Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p,
> > > 640x480
> > > > [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
> > > > (default)
> > > >
> > > > Metadata:
> > > >
> > > >   encoder : Lavc57.48.101 rawvideo
> > > >
> > > > Stream #0:1(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100
> > Hz,
> > > > stereo, s16, 1411 kb/s (default)
> > > >
> > > > Metadata:
> > > >
> > > >   encoder : Lavc57.48.101 pcm_s16le
> > > >
> > > > Stream mapping:
> > > >
> > > >   Stream #0:0 -> #0:0 (vp9 (native) -> rawvideo (native))
> > > >
> > > >   Stream #0:1 -> #0:1 (vorbis (native) -> pcm_s16le (native))
> > > >
> > > > Press [q] to stop, [?] for help
> > > >
> > > > Input #0, avi, from 'pipe:0':
> > > >
> > > >   Metadata:
> > > >
> > > > encoder: Lavf57.41.100
> > > >
> > > >   Duration: 9951:59:45.52, bitrate: N/A
> > > >
> > > > Stream #0.0(und): Video: rawvideo, yuv420p, 640x480p, PAR 1:1 DAR
> > > 4:3,
> > > > 29.97 fps
> > > >
> > > > Stream #0.1(und): Audio: pcm_s16le, 44100 Hz, 2 channels, s16,
> 1411
> > > kb/s
> > > >
> > > > [scale @ 0x7fde69c03a00] w:640 h:480 fmt:yuv420p -> w:640 h:480
> > > fmt:yuv422p
> > > > flags:0x4 il:0
> > > >
> > > > Auto-rescaling to imx50 resolution
> > > >
> > > > [scale @ 0x7fde69c038a0] w:640 h:480 fmt:yuv420p -> w:720 h:486
> > > fmt:yuv422p
> > > > flags:0x4 il:-1
> > > >
> > > > [pad @ 0x7fde69c03cc0] w:720 h:486 -> w:720 h:512 x:0 y:26
> > > > color:0x108080FF[yuva]
> 

Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-19 Thread Nicolas George
Le tridi 3 fructidor, an CCXXIV, Keith Reilly a écrit :
> I was specifically thinking of fast import.

Are you referring to git fast-import? bzr fast-import? To an Uruguayan
online store? 

> On Fri, Aug 19, 2016 at 7:10 AM, Erik Dobberkau 
> wrote:

Please remember that you are supposed not to top-post on this list. If you
do not know what it means, look it up.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-19 Thread Keith Reilly
Erik,
I was specifically thinking of fast import. I haven't been able to get
ffmpeg to create media for fast import, thats why i'm using ffmbc. Am I
correct in understanding that for fast import ffmpeg will not work? That is
what i have read and all my experiments with ffmpeg to create media for
fast import have failed.

This is the first time i am trying to pipe the output of ffmpeg and i
thought maybe there was something wrong with my command that was causing
the error. I guess this is not the case and i'll just have to experiment.
Thanks.

Keith

On Fri, Aug 19, 2016 at 7:10 AM, Erik Dobberkau 
wrote:

> Hi Keith,
>
> you don't need ffmbc to create IMX MXF OP1a that can be read by Avid, you
> can do this with ffmpeg alone. I guess you also mean AMA linking, not fast
> importing, right? (I'm testing on MC 7.0.5 here and the only way to get an
> MXF file into the project is AMA linking)
> What ffmpeg can't do atm (or I'm just doing it wrong), is create OP-Atom
> files that Avid accepts.
>
> The command most sites link to (the old ffmpeg_howto) is correct (in Avid
> terms) for the most part, but you need to pad your scaled (active) video
> with 32 VBI lines (black) at the top. You also need to manipulate your
> audio to meet IMX standards.
>
> Erik
>
> 2016-08-18 23:23 GMT+02:00 Paul B Mahol :
>
> > On 8/18/16, Keith Reilly  wrote:
> > > I use ffmbc to create Avid supported files for fast import (ffmpeg
> > doesn't
> > > do this). ffmbc is behind in development so there are codecs it cannot
> > read
> > > that i need it to. My solution is to simply read the file with ffmpeg
> and
> > > pass it on to ffmbc via standard output that way i can make Avid media
> > with
> > > anything ffmpeg reads. However i have an issue. I do not get the whole
> > > video converted.
> > >
> > >  I'm running on Mac os 10.11.6 ffmpeg was installed with macports,
> ffmbc
> > > from source. The video is about 1 hour 27 min long, i get roughly 5
> > minutes
> > > of the imx50 file that is perfect except for the missing hour and
> 22min.
> > >
> > > console input:
> > > ffmpeg -i _Youtube.webm -c:v rawvideo -c:a pcm_s16le -f avi pipe:1 |
> > ffmbc
> > > -i pipe:0 -r 29.97 -target imx50 _Youtube.mxf
> > >
> > > output:
> > >
> > > ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
> > >
> > >   built with Apple LLVM version 7.3.0 (clang-703.0.31)
> > >
> > >   configuration: --prefix=/opt/local --enable-swscale --enable-avfilter
> > > --enable-avresample --enable-libmp3lame --enable-libvorbis
> > --enable-libopus
> > > --enable-libtheora --enable-libschroedinger --enable-libopenjpeg
> > > --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex
> > > --enable-libass --enable-libbluray --enable-lzma --enable-gnutls
> > > --enable-fontconfig --enable-libfreetype --enable-libfribidi
> > > --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man
> > > --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda
> > > --enable-audiotoolbox --enable-videotoolbox --arch=x86_64 --enable-yasm
> > > --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
> > >
> > >   libavutil  55. 28.100 / 55. 28.100
> > >
> > >   libavcodec 57. 48.101 / 57. 48.101
> > >
> > >   libavformat57. 41.100 / 57. 41.100
> > >
> > >   libavdevice57.  0.101 / 57.  0.101
> > >
> > >   libavfilter 6. 47.100 /  6. 47.100
> > >
> > >   libavresample   3.  0.  0 /  3.  0.  0
> > >
> > >   libswscale  4.  1.100 /  4.  1.100
> > >
> > >   libswresample   2.  1.100 /  2.  1.100
> > >
> > >   libpostproc54.  0.100 / 54.  0.100
> > >
> > > FFmbc version 0.7.4
> > >
> > > Copyright (c) 2008-2015 Baptiste Coudurier and the FFmpeg developers
> > >
> > > Input #0, matroska,webm, from '/Volumes/RR295-KENNEDY_1/_
> Youtube.webm':
> > >
> > >   Metadata:
> > >
> > > encoder : Lavf56.1.0
> > >
> > >   Duration: 01:27:33.64, start: 0.00, bitrate: 480 kb/s
> > >
> > > Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 640x480, SAR
> > 1:1
> > > DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
> > >
> > > Stream #0:1(eng): Audio: vorbis, 44100 Hz, stereo, fltp (default)
> > >
> > > [avi @ 0x7fcd6c83f000] Using AVStream.codec to pass codec parameters to
> > > muxers is deprecated, use AVStream.codecpar instead.
> > >
> > > Last message repeated 1 times
> > >
> > > Output #0, avi, to 'pipe:1':
> > >
> > >   Metadata:
> > >
> > > ISFT: Lavf57.41.100
> > >
> > > Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p,
> > 640x480
> > > [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
> > > (default)
> > >
> > > Metadata:
> > >
> > >   encoder : Lavc57.48.101 rawvideo
> > >
> > > Stream #0:1(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100
> Hz,
> > > stereo, s16, 1411 kb/s (default)
> > >
> > > Metadata:
> > >
> > >   

Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-19 Thread Erik Dobberkau
Hi Keith,

you don't need ffmbc to create IMX MXF OP1a that can be read by Avid, you
can do this with ffmpeg alone. I guess you also mean AMA linking, not fast
importing, right? (I'm testing on MC 7.0.5 here and the only way to get an
MXF file into the project is AMA linking)
What ffmpeg can't do atm (or I'm just doing it wrong), is create OP-Atom
files that Avid accepts.

The command most sites link to (the old ffmpeg_howto) is correct (in Avid
terms) for the most part, but you need to pad your scaled (active) video
with 32 VBI lines (black) at the top. You also need to manipulate your
audio to meet IMX standards.

Erik

2016-08-18 23:23 GMT+02:00 Paul B Mahol :

> On 8/18/16, Keith Reilly  wrote:
> > I use ffmbc to create Avid supported files for fast import (ffmpeg
> doesn't
> > do this). ffmbc is behind in development so there are codecs it cannot
> read
> > that i need it to. My solution is to simply read the file with ffmpeg and
> > pass it on to ffmbc via standard output that way i can make Avid media
> with
> > anything ffmpeg reads. However i have an issue. I do not get the whole
> > video converted.
> >
> >  I'm running on Mac os 10.11.6 ffmpeg was installed with macports, ffmbc
> > from source. The video is about 1 hour 27 min long, i get roughly 5
> minutes
> > of the imx50 file that is perfect except for the missing hour and 22min.
> >
> > console input:
> > ffmpeg -i _Youtube.webm -c:v rawvideo -c:a pcm_s16le -f avi pipe:1 |
> ffmbc
> > -i pipe:0 -r 29.97 -target imx50 _Youtube.mxf
> >
> > output:
> >
> > ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
> >
> >   built with Apple LLVM version 7.3.0 (clang-703.0.31)
> >
> >   configuration: --prefix=/opt/local --enable-swscale --enable-avfilter
> > --enable-avresample --enable-libmp3lame --enable-libvorbis
> --enable-libopus
> > --enable-libtheora --enable-libschroedinger --enable-libopenjpeg
> > --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex
> > --enable-libass --enable-libbluray --enable-lzma --enable-gnutls
> > --enable-fontconfig --enable-libfreetype --enable-libfribidi
> > --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man
> > --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda
> > --enable-audiotoolbox --enable-videotoolbox --arch=x86_64 --enable-yasm
> > --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
> >
> >   libavutil  55. 28.100 / 55. 28.100
> >
> >   libavcodec 57. 48.101 / 57. 48.101
> >
> >   libavformat57. 41.100 / 57. 41.100
> >
> >   libavdevice57.  0.101 / 57.  0.101
> >
> >   libavfilter 6. 47.100 /  6. 47.100
> >
> >   libavresample   3.  0.  0 /  3.  0.  0
> >
> >   libswscale  4.  1.100 /  4.  1.100
> >
> >   libswresample   2.  1.100 /  2.  1.100
> >
> >   libpostproc54.  0.100 / 54.  0.100
> >
> > FFmbc version 0.7.4
> >
> > Copyright (c) 2008-2015 Baptiste Coudurier and the FFmpeg developers
> >
> > Input #0, matroska,webm, from '/Volumes/RR295-KENNEDY_1/_Youtube.webm':
> >
> >   Metadata:
> >
> > encoder : Lavf56.1.0
> >
> >   Duration: 01:27:33.64, start: 0.00, bitrate: 480 kb/s
> >
> > Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 640x480, SAR
> 1:1
> > DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
> >
> > Stream #0:1(eng): Audio: vorbis, 44100 Hz, stereo, fltp (default)
> >
> > [avi @ 0x7fcd6c83f000] Using AVStream.codec to pass codec parameters to
> > muxers is deprecated, use AVStream.codecpar instead.
> >
> > Last message repeated 1 times
> >
> > Output #0, avi, to 'pipe:1':
> >
> >   Metadata:
> >
> > ISFT: Lavf57.41.100
> >
> > Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p,
> 640x480
> > [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
> > (default)
> >
> > Metadata:
> >
> >   encoder : Lavc57.48.101 rawvideo
> >
> > Stream #0:1(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
> > stereo, s16, 1411 kb/s (default)
> >
> > Metadata:
> >
> >   encoder : Lavc57.48.101 pcm_s16le
> >
> > Stream mapping:
> >
> >   Stream #0:0 -> #0:0 (vp9 (native) -> rawvideo (native))
> >
> >   Stream #0:1 -> #0:1 (vorbis (native) -> pcm_s16le (native))
> >
> > Press [q] to stop, [?] for help
> >
> > Input #0, avi, from 'pipe:0':
> >
> >   Metadata:
> >
> > encoder: Lavf57.41.100
> >
> >   Duration: 9951:59:45.52, bitrate: N/A
> >
> > Stream #0.0(und): Video: rawvideo, yuv420p, 640x480p, PAR 1:1 DAR
> 4:3,
> > 29.97 fps
> >
> > Stream #0.1(und): Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411
> kb/s
> >
> > [scale @ 0x7fde69c03a00] w:640 h:480 fmt:yuv420p -> w:640 h:480
> fmt:yuv422p
> > flags:0x4 il:0
> >
> > Auto-rescaling to imx50 resolution
> >
> > [scale @ 0x7fde69c038a0] w:640 h:480 fmt:yuv420p -> w:720 h:486
> fmt:yuv422p
> > flags:0x4 il:-1
> >
> > [pad @ 0x7fde69c03cc0] w:720 h:486 -> w:720 h:512 x:0 

Re: [FFmpeg-user] Piping output of ffmpeg into ffmbc

2016-08-18 Thread Paul B Mahol
On 8/18/16, Keith Reilly  wrote:
> I use ffmbc to create Avid supported files for fast import (ffmpeg doesn't
> do this). ffmbc is behind in development so there are codecs it cannot read
> that i need it to. My solution is to simply read the file with ffmpeg and
> pass it on to ffmbc via standard output that way i can make Avid media with
> anything ffmpeg reads. However i have an issue. I do not get the whole
> video converted.
>
>  I'm running on Mac os 10.11.6 ffmpeg was installed with macports, ffmbc
> from source. The video is about 1 hour 27 min long, i get roughly 5 minutes
> of the imx50 file that is perfect except for the missing hour and 22min.
>
> console input:
> ffmpeg -i _Youtube.webm -c:v rawvideo -c:a pcm_s16le -f avi pipe:1 | ffmbc
> -i pipe:0 -r 29.97 -target imx50 _Youtube.mxf
>
> output:
>
> ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
>
>   built with Apple LLVM version 7.3.0 (clang-703.0.31)
>
>   configuration: --prefix=/opt/local --enable-swscale --enable-avfilter
> --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus
> --enable-libtheora --enable-libschroedinger --enable-libopenjpeg
> --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex
> --enable-libass --enable-libbluray --enable-lzma --enable-gnutls
> --enable-fontconfig --enable-libfreetype --enable-libfribidi
> --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man
> --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda
> --enable-audiotoolbox --enable-videotoolbox --arch=x86_64 --enable-yasm
> --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
>
>   libavutil  55. 28.100 / 55. 28.100
>
>   libavcodec 57. 48.101 / 57. 48.101
>
>   libavformat57. 41.100 / 57. 41.100
>
>   libavdevice57.  0.101 / 57.  0.101
>
>   libavfilter 6. 47.100 /  6. 47.100
>
>   libavresample   3.  0.  0 /  3.  0.  0
>
>   libswscale  4.  1.100 /  4.  1.100
>
>   libswresample   2.  1.100 /  2.  1.100
>
>   libpostproc54.  0.100 / 54.  0.100
>
> FFmbc version 0.7.4
>
> Copyright (c) 2008-2015 Baptiste Coudurier and the FFmpeg developers
>
> Input #0, matroska,webm, from '/Volumes/RR295-KENNEDY_1/_Youtube.webm':
>
>   Metadata:
>
> encoder : Lavf56.1.0
>
>   Duration: 01:27:33.64, start: 0.00, bitrate: 480 kb/s
>
> Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 640x480, SAR 1:1
> DAR 4:3, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
>
> Stream #0:1(eng): Audio: vorbis, 44100 Hz, stereo, fltp (default)
>
> [avi @ 0x7fcd6c83f000] Using AVStream.codec to pass codec parameters to
> muxers is deprecated, use AVStream.codecpar instead.
>
> Last message repeated 1 times
>
> Output #0, avi, to 'pipe:1':
>
>   Metadata:
>
> ISFT: Lavf57.41.100
>
> Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480
> [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
> (default)
>
> Metadata:
>
>   encoder : Lavc57.48.101 rawvideo
>
> Stream #0:1(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
> stereo, s16, 1411 kb/s (default)
>
> Metadata:
>
>   encoder : Lavc57.48.101 pcm_s16le
>
> Stream mapping:
>
>   Stream #0:0 -> #0:0 (vp9 (native) -> rawvideo (native))
>
>   Stream #0:1 -> #0:1 (vorbis (native) -> pcm_s16le (native))
>
> Press [q] to stop, [?] for help
>
> Input #0, avi, from 'pipe:0':
>
>   Metadata:
>
> encoder: Lavf57.41.100
>
>   Duration: 9951:59:45.52, bitrate: N/A
>
> Stream #0.0(und): Video: rawvideo, yuv420p, 640x480p, PAR 1:1 DAR 4:3,
> 29.97 fps
>
> Stream #0.1(und): Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
>
> [scale @ 0x7fde69c03a00] w:640 h:480 fmt:yuv420p -> w:640 h:480 fmt:yuv422p
> flags:0x4 il:0
>
> Auto-rescaling to imx50 resolution
>
> [scale @ 0x7fde69c038a0] w:640 h:480 fmt:yuv420p -> w:720 h:486 fmt:yuv422p
> flags:0x4 il:-1
>
> [pad @ 0x7fde69c03cc0] w:720 h:486 -> w:720 h:512 x:0 y:26
> color:0x108080FF[yuva]
>
> Output #0, mxf_d10, to '/Volumes/RR295-KENNEDY_1/_Youtube.mxf':
>
>   Metadata:
>
> encoder: FFmbc 0.7
>
> Stream #0.0(und): Video: mpeg2video, yuv422p, 720x512i tff [PAR 128:135
> DAR 4:3], cbr, 5 kb/s, 29.97 fps
>
> Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
>
> Stream mapping:
>
>   Stream #0.0 -> #0.0
>
>   Stream #0.1 -> #0.1
>
> frame=157451 fps=212 q=-0.0 Lsize=71762491kB time=01:27:33.64
> bitrate=111899.2kbits/s speed=7.09x
>
> video:70852950kB audio:905022kB subtitle:0kB other streams:0kB global
> headers:0kB muxing overhead: 0.006298%
>
> frame= 9202 fps= 12 q=1.0 Lsize= 2346517kB time=00:05:07.04
> bitrate=62606.4kbits/s
>
> video:1874018kB audio:57571kB global headers:0kB muxing overhead 21.481172%
>
> Homicidal-Psycho-Jungle-Cat: keithreilly$

Not our bug.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org