Code Monkey home page Code Monkey logo

ffmbc's Introduction

ffmbc

ffmbc's People

Contributors

googlecodeexporter avatar

Watchers

 avatar

ffmbc's Issues

ffmbc 0.6rc1 output to two files causes segfault

Really simple example, this works:

ffmbc \
 -y -loglevel debug \
 -i combined.mov \
 -aspect 16:9 -r 25 \
 -an \
 -vcodec mpeg2video -vb 1000k \
  combined.vob

This seg-faults:

ffmbc \
 -y -loglevel debug \
 -i combined.mov \
 -aspect 16:9 -r 25 \
 -an \
 -vcodec mpeg2video -vb 1000k \
  combined.vob \
 -vcodec mpeg2video -vb 1000k \
  combined2.vob

The output codec doesn't appear to make any difference.


FFmpeg version FFmbc-0.6-rc1, Copyright (c) 2000-2011 the FFmpeg developers
  built on Feb 16 2011 10:22:25 with gcc 4.4.3
  configuration: --cpu=i686 --extra-cflags=-L/usr/local/include --extra-libs=-L/usr/local/lib --prefix=/usr/local --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 37. 0 / 50. 37. 0
  libavcore     0. 16. 1 /  0. 16. 1
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
[NULL @ 0x8e5e7c0] Probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8e5e7c0] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x8e5e7c0] All info found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'combined.mov':
  Metadata:
    major_brand: qt
    minor_version: 537199360
    compatible_brands: qt
    creation_time: 2011-02-21 11:32:47
  Duration: 00:00:01.00, start: 0.000000, bitrate: 16634 kb/s
    Stream #0.0(eng), 1, 1/250000: Video: tiff, rgb24, 720x576i tff, 16621 kb/s, PAR 118:81 DAR 295:162, tbc 0/1, tbr 25/1, 25.000 fps
    Stream #0.1(eng), 0, 1/600: Data: tmcd / 0x64636D74
    Metadata:
      reel_name: ....
[ffsink @ 0x8e66280] auto-inserting filter 'auto-inserted scaler 0' between the 
filter 'src' and the filter 'out'
[scale @ 0x8e66570] w:720 h:576 fmt:rgb24 -> w:720 h:576 fmt:yuv420p 
flags:0x1004 interlaced:0
SwScaler: reducing / aligning filtersize 1 -> 4
    Last message repeated 1 times
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x8e9a5f0] BICUBIC scaler, from rgb24 to yuv420p using MMX2
[swscaler @ 0x8e9a5f0] using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8e9a5f0] using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8e9a5f0] using 1-tap MMX "scaler" for vertical scaling (YV12 like)
[swscaler @ 0x8e9a5f0] 720x576 -> 720x576
[swscaler @ 0x8e9a5f0] lum srcW=720 srcH=576 dstW=720 dstH=576 xInc=65536 
yInc=65536
[swscaler @ 0x8e9a5f0] chr srcW=360 srcH=576 dstW=360 dstH=288 xInc=65536 
yInc=131072
[ffsink @ 0x8ea6e30] auto-inserting filter 'auto-inserted scaler 0' between the 
filter 'src' and the filter 'out'
[scale @ 0x8ea6f90] w:720 h:576 fmt:rgb24 -> w:720 h:576 fmt:yuv420p 
flags:0x1004 interlaced:0
SwScaler: reducing / aligning filtersize 1 -> 4
    Last message repeated 1 times
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x8ee18e0] BICUBIC scaler, from rgb24 to yuv420p using MMX2
[swscaler @ 0x8ee18e0] using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8ee18e0] using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8ee18e0] using 1-tap MMX "scaler" for vertical scaling (YV12 like)
[swscaler @ 0x8ee18e0] 720x576 -> 720x576
[swscaler @ 0x8ee18e0] lum srcW=720 srcH=576 dstW=720 dstH=576 xInc=65536 
yInc=65536
[swscaler @ 0x8ee18e0] chr srcW=360 srcH=576 dstW=360 dstH=288 xInc=65536 
yInc=131072
[svcd @ 0x8e62360] VBV buffer size not set, muxing may fail
[svcd @ 0x8e60670] VBV buffer size not set, muxing may fail
Output #0, svcd, to 'combined.vob':
  Metadata:
    encoder: FFmbc 0.6
    Stream #0.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 1000 kb/s, tbc 1/25, 25.000 fps
Output #1, svcd, to 'combined2.vob':
  Metadata:
    encoder: FFmbc 0.6
    Stream #1.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 1000 kb/s, tbc 1/25, 25.000 fps
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.0 -> #1.0
Press [q] to stop encoding
Segmentation fault


Original issue reported on code.google.com by [email protected] on 21 Feb 2011 at 1:06

Setting [in] and [out] in a filter is incompatible with setting a target of pal-imx30

Simple example, include in a command line "-vf '[in]null[out]' -target 
pal-imx30" will cause the filter chain to complain that there are 'Not enough 
inputs specified for the "scale" filter'.

It's because specifying -target -pal-imx30 appends 
",scale=720:576,pad=720:608:0:32:black:1" into the filters (ffmbc.c line 4685).

If [in] and [out] are already pinned to the null filter, as demonstrated above, 
then that creates an impossible filter chain. 

Original issue reported on code.google.com by [email protected] on 27 Mar 2011 at 6:23

Configuring FFmbc from GIT complains about no swscale, make fails

What steps will reproduce the problem?

1. Download FFmbc using Mercurial:

 hg clone https://ffmbc.googlecode.com/hg/ ffmbc  

2. Configure FFmbc with the following:

./configure --enable-gpl --enable-postproc --enable-pthreads
--enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora
--enable-libx264 --enable-shared --enable-nonfree --enable-libvorbis
--enable-libgsm --enable-libspeex --enable-libschroedinger
--enable-libdirac --enable-avfilter --enable-avfilter-lavf
--enable-libdc1394 --enable-libopenjpeg --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-version3 

What is the expected output? What do you see instead?

Expected FFmbc would configure without error. Instead following error is
encountered:

grep: /home/phillc/Download/ffmbc/libswscale/swscale.h: No such file or
directory
./configure: 2831: cannot create libswscale/libswscale.pc: Directory
nonexistent
./configure: 2831: cannot create libswscale/libswscale-uninstalled.pc:
Directory nonexistent

3. Make fails with the following error:

Makefile:63: libswscale/Makefile: No such file or directory
make: *** No rule to make target `libswscale/Makefile'.  Stop.

What version of the product are you using? On what operating system?

Ubuntu Karmic Koala Netbook Remix on Asus EeePC 1005HA



Original issue reported on code.google.com by [email protected] on 6 Nov 2009 at 4:57

-s option does not seem to work

Using the 0.5 Binary on Win7

ffmbc.exe  -i 00206.MTS -vcodec dvvideo -acodec pcm_s16le -ac 2 -s 720x576 -y 
test_dv.mov

will not resize the video (the mts is 1080 hd)


Original issue reported on code.google.com by [email protected] on 26 Jan 2011 at 9:54

Unrecognized option 'croptop'

What steps will reproduce the problem?
1. ffmpeg -i quantelIMX50.mxf -croptop 32 -r 1/10 -s 172*96 -an 
thumbnails/Quantel%05d.jpg

What is the expected output? What do you see instead?

"`-croptop size' Set top crop band size (in pixels)."  - 
http://ffmpeg.org/ffmpeg-doc.html

Unrecognized option 'croptop'

What version of the product are you using? On what operating system?

FFmbc-0.4-rc1 on Ubuntu 10.4 & 9.10

Please provide any additional information below:

chris@athena:~/Videos/Sample Media Formats/IMX50 MXF/Quantel MXF$ ffmpeg -i 
quantelIMX50.mxf -croptop 32 -r 1/10 -s 172*96 -an thumbnails/Quantel%05d.jpg
FFmpeg version FFmbc-0.4-rc1, Copyright (c) 2000-2010 the FFmpeg developers
  built on May  2 2010 20:35:51 with gcc 4.4.3
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --
enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libopencore-amrnb 
--enable-
libopencore-amrwb --enable-libx264 --enable-libxvid --enable-x11grab 
--enable-avfilter --
enable-avfilter-lavf --enable-libtheora --enable-libschroedinger
  libavutil     50.14. 0 / 50.14. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.60. 0 / 52.60. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.18. 0 /  1.18. 0
  libswscale     0.10. 0 /  0.10. 0
Input #0, mxf, from 'quantelIMX50.mxf':
  Duration: 00:00:30.00, start: 0.000000, bitrate: 62568 kb/s
    Stream #0.0(und): Video: mpeg2video, yuv422p, 720x608 [PAR 152:135 DAR 4:3], tbc 2/50, 
50000 kb/s, fps 25.000
    Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 4 channels, s16, 3072 kb/s
Unrecognized option 'croptop'

The same command line executes as expected against the current git version ...

FFmpeg version git-ff7705f, Copyright (c) 2000-2010 the FFmpeg developers
  built on May  2 2010 15:14:30 with gcc 4.4.3
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --
enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libxvid 
--
enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-libtheora 
--enable-
libschroedinger
  libavutil     50.15. 0 / 50.15. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.62. 0 / 52.62. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0

Original issue reported on code.google.com by [email protected] on 2 May 2010 at 8:12

Can't transcode P2 AVC Intra 100 with ai12 fourcc

I have a P2 AVC Intra file that has been passed through Philip de Nier's (from 
BBC R&D) mxf2mov tool.
I then try to pass that output through FFmbc and it fails to transcode.

I'm using FFmbc-0.6-rc6 on both OS X and Centos Linux and see the same problem 
on both.

Full command line with output:
ffmbc -v 3 -i ~/Movies/post-transwrap.mov -f mp4 -y -vf scale=400:226 
-map_audio_channel 0:1:0:0:1:0 -map_audio_channel 0:2:0:0:1:1 -vcodec libx264 
-b 800k -r 25 -vf yadif -maxrate 800k -bufsize 5097k -ac 2 -acodec libfaac -ab 
96k -ar 48000 /tmp/transcode64930.mov 
FFmbc version 0.6-rc6
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x101009800] Could not find codec parameters (Video: 
AVC-Intra 100 1080p25, 1920x1080p, 113664 kb/s)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'/Users/darren/Movies/post-transwrap.mov':
  Metadata:
    major_brand: qt  
    minor_version: 537199360
    compatible_brands: qt  
    creation_time: 2011-05-25 07:02:20
  Duration: 00:00:00.08, start: 0.000000, bitrate: 117332 kb/s
    Stream #0.0(eng): Video: AVC-Intra 100 1080p25, 1920x1080p, 113664 kb/s, PAR 1:1 DAR 16:9, 25.00 fps
    Metadata:
      org.smpte.mxf.package.material.packageid: 0x060A2B340101010501010D431300000040E03467925505F80080458230E920
      org.smpte.mxf.package.material.track.trackid: 1
      org.smpte.mxf.package.source.packageid: 0x060A2B3401010105010106431300000040E03467925505F90080458230E920
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      org.smpte.mxf.package.material.packageid: 0x060A2B340101010501010D431300000040E03467925505F80080458230E920
      org.smpte.mxf.package.material.track.trackid: 2
      org.smpte.mxf.package.source.packageid: 0x060A2B3401010105010108431300000040E03467925505F90080458230E920
    Stream #0.2(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      org.smpte.mxf.package.material.packageid: 0x060A2B340101010501010D431300000040E03467925505F80080458230E920
      org.smpte.mxf.package.material.track.trackid: 3
      org.smpte.mxf.package.source.packageid: 0x060A2B3401010105010108431300000040E03467925505FA0080458230E920
    Stream #0.3(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      org.smpte.mxf.package.material.packageid: 0x060A2B340101010501010D431300000040E03467925505F80080458230E920
      org.smpte.mxf.package.material.track.trackid: 4
      org.smpte.mxf.package.source.packageid: 0x060A2B3401010105010108431300000040E03467925505FB0080458230E920
    Stream #0.4(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      org.smpte.mxf.package.material.packageid: 0x060A2B340101010501010D431300000040E03467925505F80080458230E920
      org.smpte.mxf.package.material.track.trackid: 5
      org.smpte.mxf.package.source.packageid: 0x060A2B3401010105010108431300000040E03467925505FC0080458230E920
    Stream #0.5(eng): Data: tmcd / 0x64636D74
    Metadata:
      reel_name(eng): 0001SE
Video pixel format is unknown, stream cannot be encoded

Links to sample files:
http://dl.dropbox.com/u/3693825/ffmbc/pre-transwrap.mxf
http://dl.dropbox.com/u/3693825/ffmbc/post-transwrap.mov

Mediainfo reports the fourcc as 'ai12' so I wonder if it's just a case of 
adding support for that fourcc.
I tried adding that fourcc to libavformat/isom.c but it didn't seem to fix the 
problem (I guess it's not as simple as that).

Thanks in advance, Darren.

Original issue reported on code.google.com by [email protected] on 25 May 2011 at 12:53

Binary


Hi! Is there any way to get a Binary version? (Win)

Regards and great Project!

Original issue reported on code.google.com by [email protected] on 11 Nov 2010 at 3:01

ffmbc fails to build with libopenjpeg

I'm having difficulty getting ffmbc to compile with OpenJPEG 1.4. I receive the 
following error when linking:

LD  ffmbc_g
Undefined symbols:
  "_opj_decode_with_info", referenced from:
      _libopenjpeg_decode_frame in libavcodec.a(libopenjpeg.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [ffmbc_g] Error 1
Mistys-Mac-Pro:FFmbc-0.6-rc1 digitilization$ make clean

I was compiling with --enable-libopenjpeg and --enable-gpl

I'm using Mac OS X 10.6 (GCC 4.2.1).

Original issue reported on code.google.com by [email protected] on 17 Feb 2011 at 5:51

ffmbc generated MOV wrapped DV25/PCM has unusual stream ordering

Under some very rare circumstances, not reproducible at will, FFMBC0.5 has 
generated MOV wrapped DV25/PCM/timecode where the stream ordering is:
Audio/Timecode/Video
instead of the more usual:
Video/Audio/Timecode

-------

The CLI for essence creation is long and complex because we are also generating 
an m4v and several wavs as separate outputs and we've only seen the error 
happen in a very small percentage of cases in the field, so we've not 
reproduced with a simpler CLI.

CLI looks like:
ffmbc0.5 -threads 1 -f rawvideo -pix_fmt uyvy422 -s 720x576 -r 25 -i 
video_pipe.yuv -f s16le -ac 2 -ar 48000 -i audio_pipe.wav -vcodec dvvideo 
-pix_fmt yuv420p -aspect 16:9 -acodec pcm_s16le -ac 2 -ar 48000 
-map_audio_channel 1:0:0:0:1:0 -map_audio_channel 1:0:1:0:1:1 -timecode 0:0:0:0 
-timecode_frame_start 0 output1.mov -vcodec libx264 -coder 1 -flags +loop -cmp 
+chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 
-me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 
1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 3 -refs 2 -directpred 3 -trellis 0 
-flags2 +wpred+dct8x8+fastpskip -b 256k -bt 256k -s 512x288 -aspect 512:288 -ab 
96k -ac 2 -map_audio_channel 1:0:0:1:1:0 -map_audio_channel 1:0:1:1:1:1 -f ipod 
output2.m4v -ac 1 -ar 48000 -map_audio_channel 1:0:1:2:0:0 output3.wav -ac 1 
-ar 48000 -map_audio_channel 1:0:2:3:0:0 output4.wav

-------

ffmbc -i on the resultant file yields:

FFmpeg version FFmbc-0.5, Copyright (c) 2000-2010 the FFmpeg developers
  built on Nov 12 2010 12:47:26 with gcc 4.4.3
  configuration: --extra-cflags=-L/usr/local/include --extra-libs=-L/usr/local/lib --prefix=/usr/local --enable-ffplay --enable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx --enable-static --extra-libs='-static -L/usr/local/include -L/usr/include' --extra-cflags='--static -L/usr/local/lib -L/usr/lib'
  libavutil     50.31. 0 / 50.31. 0
  libavcore      0. 9. 0 /  0. 9. 0
  libavcodec    52.91. 1 / 52.91. 1
  libavformat   52.78. 5 / 52.78. 5
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.47. 1 /  1.47. 1
  libswscale     0.12. 0 /  0.12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'/var/bigpool/nuget/inbox/velodrome-mix_1129-07_p1_12.mov':
  Metadata:
    major_brand: qt
    minor_version: 512
    compatible_brands: qt
  Duration: 00:00:32.64, start: 0.000000, bitrate: 30341 kb/s
    Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream #0.1(eng): Data: tmcd / 0x64636D74
    Stream #0.2(eng): Video: dvvideo, yuv420p, 720x576p [PAR 64:45 DAR 16:9], tbc 1/25, 28800 kb/s, fps 25.000

-------

An example file exhibiting the issue is available at
http://commondatastorage.googleapis.com/himslm01/velodrome-mix_1129-07_p1_12.mov

~120Mb / 32sec duration

-------

We have attempted to replicate the issue by making sure that ffmbc receives 
audio samples well before video frames and by reordering the CLI to present the 
audio output details first but have been unsuccessful.

Paul,

Original issue reported on code.google.com by [email protected] on 24 Feb 2011 at 12:54

FFmbc v0.2 Make Fails - x264 (r1318) error

What steps will reproduce the problem?

1. Download x264 from Git. Problem occurs with r1318

2. Configure FFmbc:

aptitude install build-essential subversion git-core yasm libgpac-dev
libdirac-dev libgsm1-dev libschroedinger-dev libspeex-dev libvorbis-dev
libopenjpeg-dev libdc1394-dev libsdl1.2-dev zlib1g-dev texi2html
libfaac-dev libfaad-dev libmp3lame-dev libtheora-dev libxvidcore4-dev
libopencore-amrnb-dev libopencore-amrwb-dev

3. make install

4. Make then fails with the following error:

libavcodec/libx264.c: In function ‘encode_nals’:
libavcodec/libx264.c:75: warning: implicit declaration of function
‘x264_nal_encode’
libavcodec/libx264.c: In function ‘X264_init’:
libavcodec/libx264.c:190: error: ‘x264_param_t’ has no member named
‘b_bframe_pyramid’
make: *** [libavcodec/libx264.o] Error 1


What is the expected output? What do you see instead?

Expected FFmbc to build without errors.


What version of the product are you using? On what operating system?


Running Ubuntu Karmic Koala Netbook Remix on a Asus EeePC 1005HA




Original issue reported on code.google.com by [email protected] on 6 Nov 2009 at 4:38

option to map timecode and data tracks from source to output files

What steps will reproduce the problem?
1. I'd like to transcode a Quicktime file with ffmbc and pass the data and 
timecode tracks from the source to the output (similar to -map-chapters). FFmbc 
(and ffmpeg) identify the data and timecode tracks in the source but there 
doesn't seem to be a way to copy them to the output.
Dave

What version of the product are you using? On what operating system?
Mac OS X 10.6 with FFmbc-0.5.

Please provide any additional information below:

- Full commandline run and everything the program printed without
the repeating parts.

ffmbc -i /Users/daverice/Desktop/DHC36.mov 
FFmpeg version FFmbc-0.5, Copyright (c) 2000-2010 the FFmpeg developers
  built on Nov 23 2010 10:48:45 with gcc 4.2.1 (Apple Inc. build 5664)
  configuration: --enable-gpl --enable-libopenjpeg
  libavutil     50.31. 0 / 50.31. 0
  libavcore      0. 9. 0 /  0. 9. 0
  libavcodec    52.91. 1 / 52.91. 1
  libavformat   52.78. 5 / 52.78. 5
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.47. 1 /  1.47. 1
  libswscale     0.12. 0 /  0.12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/daverice/Desktop/DHC36.mov':
  Metadata:
    major_brand: qt  
    minor_version: 537199360
    compatible_brands: qt  
    com.apple.finalcutstudio.media.uuid: 7A543B94-BA1C-440E-908B-EC39B6D4A675
    com.apple.quicktime.player.movie.audio.gain: 0.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute: 0
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 0.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 0.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    com.apple.quicktime.version: 7.6.6 (1756) 0x7668000 (Mac OS X, 10.6.5, 10H574)
  Duration: 00:00:09.90, start: -4.398398, bitrate: 2302 kb/s
    Stream #0.0(eng): Video: v210, yuv422p16le, 720x486p, tbc N/A, 223724 kb/s, fps 29.970
    Stream #0.1(eng): Data: c608 / 0x38303663, 4 kb/s
    Stream #0.2(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      com.apple.quicktime.barg.audi.RecordDeviceModel: com_aja_driver_AudioDeviceKona3:AJA Device
      com.apple.quicktime.barg.audi.RecordDeviceUID: com_aja_driver_AudioEngineKona3:0
      com.apple.quicktime.barg.audi.RecordDeviceName: AJA Kona3
      com.apple.quicktime.barg.audi.RecordDeviceFormat: @.p.....lpcm...)................... ....
      com.apple.quicktime.barg.audi.RecordDeviceChannelMap: ....
      com.apple.quicktime.barg.audi.RecordDeviceChannelLayout: .d..............................
      com.apple.quicktime.player.movie.audio.gain: 0.000000
      com.apple.quicktime.player.movie.audio.treble: 0.000000
      com.apple.quicktime.player.movie.audio.bass: 0.000000
      com.apple.quicktime.player.movie.audio.balance: 0.000000
      com.apple.quicktime.player.movie.audio.mute: 0
    Stream #0.3(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      com.apple.quicktime.barg.audi.RecordDeviceModel: com_aja_driver_AudioDeviceKona3:AJA Device
      com.apple.quicktime.barg.audi.RecordDeviceUID: com_aja_driver_AudioEngineKona3:0
      com.apple.quicktime.barg.audi.RecordDeviceName: AJA Kona3
      com.apple.quicktime.barg.audi.RecordDeviceFormat: @.p.....lpcm...)................... ....
      com.apple.quicktime.barg.audi.RecordDeviceChannelMap: ....
      com.apple.quicktime.barg.audi.RecordDeviceChannelLayout: .d..............................
      com.apple.quicktime.player.movie.audio.gain: 0.000000
      com.apple.quicktime.player.movie.audio.treble: 0.000000
      com.apple.quicktime.player.movie.audio.bass: 0.000000
      com.apple.quicktime.player.movie.audio.balance: 0.000000
      com.apple.quicktime.player.movie.audio.mute: 0
    Stream #0.4(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      com.apple.quicktime.barg.audi.RecordDeviceModel: com_aja_driver_AudioDeviceKona3:AJA Device
      com.apple.quicktime.barg.audi.RecordDeviceUID: com_aja_driver_AudioEngineKona3:0
      com.apple.quicktime.barg.audi.RecordDeviceName: AJA Kona3
      com.apple.quicktime.barg.audi.RecordDeviceFormat: @.p.....lpcm...)................... ....
      com.apple.quicktime.barg.audi.RecordDeviceChannelMap: ....
      com.apple.quicktime.barg.audi.RecordDeviceChannelLayout: .d..............................
      com.apple.quicktime.player.movie.audio.gain: 0.000000
      com.apple.quicktime.player.movie.audio.treble: 0.000000
      com.apple.quicktime.player.movie.audio.bass: 0.000000
      com.apple.quicktime.player.movie.audio.balance: 0.000000
      com.apple.quicktime.player.movie.audio.mute: 0
    Stream #0.5(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      com.apple.quicktime.barg.audi.RecordDeviceModel: com_aja_driver_AudioDeviceKona3:AJA Device
      com.apple.quicktime.barg.audi.RecordDeviceUID: com_aja_driver_AudioEngineKona3:0
      com.apple.quicktime.barg.audi.RecordDeviceName: AJA Kona3
      com.apple.quicktime.barg.audi.RecordDeviceFormat: @.p.....lpcm...)................... ....
      com.apple.quicktime.barg.audi.RecordDeviceChannelMap: ....
      com.apple.quicktime.barg.audi.RecordDeviceChannelLayout: .d..............................
      com.apple.quicktime.player.movie.audio.gain: 0.000000
      com.apple.quicktime.player.movie.audio.treble: 0.000000
      com.apple.quicktime.player.movie.audio.bass: 0.000000
      com.apple.quicktime.player.movie.audio.balance: 0.000000
      com.apple.quicktime.player.movie.audio.mute: 0
    Stream #0.6(eng): Data: tmcd / 0x64636D74
    Metadata:
      reel_name(eng): DHC0034_1984.0040_pmaster

Original issue reported on code.google.com by [email protected] on 23 Nov 2010 at 4:44

Attachments:

Is this software still available for download?

When I try to download the software I get:

http://code.google.com/p/ffmbc/downloads/detail?name=FFmbc-0.4.tar.gz

Not Found
The requested URL /p/ffmbc/downloads/detail?name=FFmbc-0.4.tar.gz was not found 
on this server. 

Thanks,
Jim,

Original issue reported on code.google.com by jim%[email protected] on 13 Jul 2010 at 9:24

FFmbc 0.6-rc7 -ss -t don't output complete frames of audio

What steps will reproduce the problem?

Encode some DV in a MOV

Split that MOV at places that should be seamless edits

ffmbc -i primary.mov -ss 2 -t 3 -acodec copy -vcodec copy 1.mov
ffmbc -i primary.mov -ss 5 -t 3 -acodec copy -vcodec copy 2.mov

Here I'm working in PAL 25 FPS 48K audio.

I would expect exactly 75 frames of video and 144000 samples of audio. I am NOT 
getting the correct number of samples of audio.

Using, for instance, "Atom Inspector" on Mac OS X I can see that in 1.mov there 
are 144384 audio samples (too many) and in 2.mov I can see that there are 
143360 audio samples (too few).


'primary.mov' file is here: 
http://commondatastorage.googleapis.com/himslm01/FFmbc/primary-2011-06_10_1617-3
7.mov
'1.mov' file is here: 
http://commondatastorage.googleapis.com/himslm01/FFmbc/1.mov
2.mov file is here: http://commondatastorage.googleapis.com/himslm01/FFmbc/2.mov

A screen capture of the differences shown in "Atom Inspector" is here: 
http://commondatastorage.googleapis.com/himslm01/FFmbc/Screen%20shot%202011-06-1
3%20at%2017.21.33.png


What version of the product are you using? On what operating system?

FFmbc 0.6-rc7 on Ubuntu GNU/Linux 10.04 64 bit

Original issue reported on code.google.com by [email protected] on 13 Jun 2011 at 4:23

ffmbc 0.6-rc2 -vb parameter is ignored

If I set the video bit-rate with -b then FFmbc 0.6-rc2 adheres to that command.

If I set the video bit-rate with -vb then FFmbc 0.6-rc3 doesn't.


See the two examples below:

$ ~/src/ffmbc/FFmbc-0.6-rc2/ffmbc -y -loglevel debug -i Clock10tone.mov -aspect 
16:9 -r 25 -an -vcodec mpeg2video -b 1000k -qmin 2 -qmax 50 out1.vob
FFmpeg version FFmbc-0.6-rc2, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar  1 2011 16:11:58 with gcc 4.4.3
  configuration: --cpu=i686 --enable-static --extra-cflags='--static -I$PREFIX/include' --extra-libs='-static -L$PREFIX/lib' --prefix=/usr/local/ --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 37. 0 / 50. 37. 0
  libavcore     0. 16. 1 /  0. 16. 1
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
[NULL @ 0x9bbc8a0] Probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9bbc8a0] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9bbc8a0] All info found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Clock10tone.mov':
  Metadata:
    major_brand: qt
    minor_version: 537199360
    compatible_brands: qt
    creation_time: 2009-07-16 17:23:31
  Duration: 00:00:10.00, start: 0.000000, bitrate: 30334 kb/s
    Stream #0.0(eng), 1, 1/25: Video: dvvideo, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 28800 kb/s, tbc 1/25, tbr 25/1, 25.000 fps
    Stream #0.1(eng), 0, 1/48000: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[svcd @ 0x9bbe430] VBV buffer size not set, muxing may fail
Output #0, svcd, to 'out1.vob':
  Metadata:
    encoder: FFmbc 0.6
    Stream #0.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 1000 kb/s, tbc 1/25, 25.000 fps
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  250 fps=228 q=3.1 Lsize=    1386kB time=00:00:09.96 
bitrate=1140.0kbits/s
video:1365kB audio:0kB global headers:0kB muxing overhead 1.557134%


Note the 1000 kb/s in the encoder's stream #0.0 output line above.


$ ~/src/ffmbc/FFmbc-0.6-rc2/ffmbc -y -loglevel debug -i Clock10tone.mov -aspect 
16:9 -r 25 -an -vcodec mpeg2video -vb 1000k -qmin 2 -qmax 50 out1.vob
FFmpeg version FFmbc-0.6-rc2, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar  1 2011 16:11:58 with gcc 4.4.3
  configuration: --cpu=i686 --enable-static --extra-cflags='--static -I$PREFIX/include' --extra-libs='-static -L$PREFIX/lib' --prefix=/usr/local/ --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 37. 0 / 50. 37. 0
  libavcore     0. 16. 1 /  0. 16. 1
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
[NULL @ 0x95f68a0] Probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x95f68a0] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x95f68a0] All info found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Clock10tone.mov':
  Metadata:
    major_brand: qt
    minor_version: 537199360
    compatible_brands: qt
    creation_time: 2009-07-16 17:23:31
  Duration: 00:00:10.00, start: 0.000000, bitrate: 30334 kb/s
    Stream #0.0(eng), 1, 1/25: Video: dvvideo, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 28800 kb/s, tbc 1/25, tbr 25/1, 25.000 fps
    Stream #0.1(eng), 0, 1/48000: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[svcd @ 0x95f8430] VBV buffer size not set, muxing may fail
Output #0, svcd, to 'out1.vob':
  Metadata:
    encoder: FFmbc 0.6
    Stream #0.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 200 kb/s, tbc 1/25, 25.000 fps
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  250 fps=237 q=31.0 Lsize=     490kB time=00:00:09.96 bitrate= 
403.0kbits/s
video:481kB audio:0kB global headers:0kB muxing overhead 1.951828%


Note how this time the encoder has defaulted to 200 kb/s.

Original issue reported on code.google.com by [email protected] on 1 Mar 2011 at 4:58

ffmbc 0.6-rc3 second output file does not contain essence

If I take one input file and render it to two output files then I get no 
essence in the second output file. This is a simple example but demonstrates 
the issue.

ffmbc \
 -y -loglevel debug \
 -i Clock10tone.mov \
 -aspect 16:9 -r 25 \
 -an \
 -vcodec mpeg2video -vb 1000k \
  out1.vob \
 -vcodec mpeg2video -vb 1000k \
  out2.vob

Looking at the output of FFmbc, it looks like I'm going to get two identical 
files:

Output #0, svcd, to 'out1.vob':
    Stream #0.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], tbc 1/25, 1000 kb/s, 25.00 fps
Output #1, svcd, to 'out2.vob':
    Stream #1.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], tbc 1/25, 1000 kb/s, 25.00 fps

But the two files are vastly different sizes...

ls -la out?.vob
-rw-r--r-- 1 himslm01 himslm01 1419264 2011-03-09 13:39 out1.vob
-rw-r--r-- 1 himslm01 himslm01  221184 2011-03-09 13:39 out2.vob

If I play the second output file I only get a green video presented, and ffmbc 
-i of the two output files gives me very different bitrates: 1139 kb/s for the 
first output file and 178 kb/s for the second.



FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar  9 2011 12:45:11 with gcc 4.4.3
  configuration: --cpu=i686 --enable-static --extra-cflags='--static -I$PREFIX/include' --extra-libs='-static -L$PREFIX/lib' --prefix= --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
[NULL @ 0xaf288a0] Probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaf288a0] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaf288a0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaf288a0] 0: start_time: 0 duration: 250
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaf288a0] 1: start_time: 0 duration: 480250
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Clock10tone.mov':
  Metadata:
    major_brand: qt
    minor_version: 537199360
    compatible_brands: qt
    creation_time: 2009-07-16 17:23:31
  Duration: 00:00:10.00, start: 0.000000, bitrate: 30334 kb/s
    Stream #0.0(eng), 1, 1/25: Video: dvvideo, yuv420p, 720x576i bff [PAR 64:45 DAR 16:9], tbc 1/25, 28800 kb/s, tbr 25/1, 25.00 fps
    Stream #0.1(eng), 0, 1/48000: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[svcd @ 0xaf2a3b0] VBV buffer size not set, muxing may fail
[svcd @ 0xaf2fbf0] VBV buffer size not set, muxing may fail
Output #0, svcd, to 'out1.vob':
  Metadata:
    encoder: FFmbc 0.6
    Stream #0.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], tbc 1/25, 1000 kb/s, 25.00 fps
Output #1, svcd, to 'out2.vob':
  Metadata:
    encoder: FFmbc 0.6
    Stream #1.0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], tbc 1/25, 1000 kb/s, 25.00 fps
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.0 -> #1.0
Press [q] to stop encoding
frame=  250 fps=150 q=3.1 Lq=2.0 size=    1386kB time=00:00:09.96 
bitrate=1140.0kbits/s
video:1574kB audio:0kB global headers:0kB muxing overhead -11.963536%


ls -la out?.vob
-rw-r--r-- 1 himslm01 himslm01 1419264 2011-03-09 13:39 out1.vob
-rw-r--r-- 1 himslm01 himslm01  221184 2011-03-09 13:39 out2.vob


ffmbc -i out1.vob
FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar  9 2011 12:45:11 with gcc 4.4.3
  configuration: --cpu=i686 --enable-static --extra-cflags='--static -I$PREFIX/include' --extra-libs='-static -L$PREFIX/lib' --prefix= --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
Input #0, mpeg, from 'out1.vob':
  Duration: 00:00:09.96, start: 1.000000, bitrate: 1139 kb/s
    Stream #0.0[0x1e0](und): Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 104857 kb/s, 25.00 fps
At least one output file must be specified


ffmbc -i out2.vob
FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar  9 2011 12:45:11 with gcc 4.4.3
  configuration: --cpu=i686 --enable-static --extra-cflags='--static -I$PREFIX/include' --extra-libs='-static -L$PREFIX/lib' --prefix= --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
Input #0, mpeg, from 'out2.vob':
  Duration: 00:00:09.92, start: 1.000000, bitrate: 178 kb/s
    Stream #0.0[0x1e0](und): Video: mpeg2video, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 104857 kb/s, 25.00 fps
At least one output file must be specified



Original issue reported on code.google.com by [email protected] on 9 Mar 2011 at 1:56

Banding Artifact in H264 decoding

What steps will reproduce the problem?
1.I use a AVC-i 50 from a P2 card, use mxflib to split the h264 raw essence
2.use ffmbc 0.5 to conver this h264 RAw to DVCPRO 25 or 50
3.get that right resolution but with a color banding artifacts

What is the expected output? What do you see instead?
I expected to get a nice and clean 720x576 scaled video in DVCPRO format

What version of the product are you using? On what operating system?
im on windows 7 home premiun 64bits using ffmbc 0.5

Please provide any additional information below:

- Full commandline run (with -v 3) and everything the program printed
without
the repeating parts.
- Upload your sample somewhere and supply url

Original issue reported on code.google.com by [email protected] on 10 Feb 2011 at 6:02

Attachments:

FFmbc 0.6 rc4 - output to two video files causes Segmentation fault

Hi Baptiste,

I'm trying to output to two files at the same time. If I run these two commands 
separately then ffmbc encodes as I expect:

~/src/ffmbc/FFmbc-0.6-rc4b/ffmbc -y -i 576i25/Clock10tone.mov -vf scale=640:480 
-r 25 out1.mp4

~/src/ffmbc/FFmbc-0.6-rc4b/ffmbc -y -i 576i25/Clock10tone.mov -vf scale=320:240 
-r 25 out2.mp4

But if I combine that into one command I (often) get a seg-fault.

~/src/ffmbc/FFmbc-0.6-rc4b/ffmbc -y -i 576i25/Clock10tone.mov -vf scale=640:480 
-r 25 out1.mp4 -vf scale=320:240 -r 25 out2.mp4
FFmpeg version FFmbc-0.6-rc4, Copyright (c) 2000-2011 the FFmpeg developers
  built on Apr 20 2011 12:18:33 with gcc 4.4.3
  configuration: --cpu=i686 --enable-static --extra-cflags='--static -I$PREFIX/include' --extra-libs='-static -L$PREFIX/lib' --prefix= --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '576i25/Clock10tone.mov':
  Metadata:
    major_brand: qt  
    minor_version: 537199360
    compatible_brands: qt  
    creation_time: 2009-07-16 17:23:31
  Duration: 00:00:10.00, start: 0.000000, bitrate: 30334 kb/s
    Stream #0.0(eng): Video: dvvideo, yuv420p, 720x576i bff [PAR 64:45 DAR 16:9], 28800 kb/s, 25.00 fps
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[scale @ 0x9e0a0a0] w:720 h:576 fmt:yuv420p -> w:640 h:480 fmt:yuv420p 
flags:0x4 interlaced:0
[scale @ 0x9e20560] w:720 h:576 fmt:yuv420p -> w:320 h:240 fmt:yuv420p 
flags:0x4 interlaced:0
Output #0, mp4, to 'out1.mp4':
  Metadata:
    encoder: FFmbc 0.6
    Stream #0.0(und): Video: mpeg4, yuv420p, 640x480p [PAR 4:3 DAR 16:9], 200 kb/s, 25.00 fps
    Stream #0.1(und): Audio: libfaac, 48000 Hz, 2 channels, s16, 64 kb/s
Output #1, mp4, to 'out2.mp4':
  Metadata:
    encoder: FFmbc 0.6
    Stream #1.0(und): Video: mpeg4, yuv420p, 320x240p [PAR 4:3 DAR 16:9], 200 kb/s, 25.00 fps
    Stream #1.1(und): Audio: libfaac, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
  Stream #0.0 -> #1.0
  Stream #0.1 -> #1.1
Press [q] to stop encoding
Segmentation fault

Running that through valgrind it is more likely to work, but sometimes will 
fail like this:

valgrind ~/src/ffmbc/FFmbc-0.6-rc4b/ffmbc_g -y -i 576i25/Clock10tone.mov -vf 
scale=640:480 -r 25 out1.mp4 -vf scale=320:240 -r 25 out2.mp4
[...]
==21667== Invalid read of size 4
==21667==    at 0x8A1FE1F: memcpy (in 
/usr/local/ssd/himslm01/src/ffmbc/FFmbc-0.6-rc4b/ffmbc_g)
==21667==    by 0x85DF1DA: av_image_copy (string3.h:52)
==21667==    by 0x80A0F95: request_frame (vsrc_buffer.c:131)
==21667==    by 0x808F60E: avfilter_request_frame (avfilter.c:362)
==21667==    by 0x808787D: get_filtered_video_frame (cmdutils.c:813)
==21667==    by 0x80816DF: output_packet (ffmbc.c:1850)
==21667==    by 0x8086208: T.733 (ffmbc.c:3070)
==21667==  Address 0x58a2000 is not stack'd, malloc'd or (recently) free'd
==21667== 
==21667== 
==21667== Process terminating with default action of signal 11 (SIGSEGV)
==21667==  Access not within mapped region at address 0x58A2000
==21667==    at 0x8A1FE1F: memcpy (in 
/usr/local/ssd/himslm01/src/ffmbc/FFmbc-0.6-rc4b/ffmbc_g)
==21667==    by 0x85DF1DA: av_image_copy (string3.h:52)
==21667==    by 0x80A0F95: request_frame (vsrc_buffer.c:131)
==21667==    by 0x808F60E: avfilter_request_frame (avfilter.c:362)
==21667==    by 0x808787D: get_filtered_video_frame (cmdutils.c:813)
==21667==    by 0x80816DF: output_packet (ffmbc.c:1850)
==21667==    by 0x8086208: T.733 (ffmbc.c:3070)
==21667==  If you believe this happened as a result of a stack
==21667==  overflow in your program's main thread (unlikely but
==21667==  possible), you can try to increase the size of the
==21667==  main thread stack using the --main-stacksize= flag.
==21667==  The main thread stack size used in this run was 8388608.
==21667== 
==21667== HEAP SUMMARY:
==21667==     in use at exit: 0 bytes in 0 blocks
==21667==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==21667== 
==21667== All heap blocks were freed -- no leaks are possible
==21667== 
==21667== For counts of detected and suppressed errors, rerun with: -v
==21667== Use --track-origins=yes to see where uninitialised values come from
==21667== ERROR SUMMARY: 4041 errors from 373 contexts (suppressed: 0 from 0)
Segmentation fault


Original issue reported on code.google.com by [email protected] on 3 May 2011 at 3:51

Transcode to IMX40 MXF

Trying to create an IMX40 file in MXF container. Command is:

ffmbc -i 2573-9.mpg -target imx40 imx40test.mxf

Output is:

FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 31 2011 13:36:32 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-postproc --enable-runtime-cpudetect --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-frei0r --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-pthreads --enable-libxvid --enable-zlib
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mpeg, from '2573-9.mpg':
  Duration: 00:00:00.56, start: 0.092933, bitrate: 49721 kb/s
    Stream #0.0[0x1e0](und): Video: mpeg2video, yuv422p, 720x608i tff [PAR 608:405 DAR 16:9], 49583 kb/s, 25.00 fps
    Stream #0.1[0x1c0](und): Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
Assuming PAL for target.
Warning, QMAT_SHIFT is larger than 21, overflows possible
    Last message repeated 1 times
[mxf_d10 @ 0x1088510] error MXF D-10 only support 30/40/50 mbit/s
Could not write header for output file #0

IMX30 and IMX50 is possible with same test file. IMX40 in MOV container is 
possible with same test file. Problem only seems to be IMX40 in MXF container.

Test File be used here (Available until April 7th):

https://rcpt.yousendit.com/1083770493/0015d6c0ae69ccff23ad78fab44a1eb3


Original issue reported on code.google.com by [email protected] on 31 Mar 2011 at 9:39

no failure message for 15 fps timecode insertion

What steps will reproduce the problem?
1. ffmpeg -i file.avi -vcodec copy -timecode '00:01:23:10' file.mov 
2. file.avi is 15 fps
3. resulting file.mov has no timecode track and no warning

What is the expected output? What do you see instead?
Expected either a message stating the inserting the timecode track failed
or to have a timecode track inserted to match the 15 fps content.

What version of the product are you using? On what operating system?
0.0.3 on Mac OS 10.6

Please provide any additional information below.
Is there a method to apply timecode track to match video track frame or
allow for the timecode track rate to be manually set. Also a max24 flag?
For my 25 and 29.97 content this feature works great.
Thanks much for your work,
Dave

Original issue reported on code.google.com by [email protected] on 18 Nov 2009 at 4:06

Creates 601 colorspace instead of 709 for HD output

What steps will reproduce the problem?
1. Convert to DNxHD movie
2.
3.

What is the expected output? What do you see instead?
rec 709 colorspace expected, but rec 601 produced.

What version of the product are you using? On what operating system?
FFmbc 0.5, win32

Please provide any additional information below:
This seems to be a known bug of swscale. There is only a slight difference 
between rec 601 and 709, but for a professional production you need the exact 
colorspace.

- Full commandline run (with -v 3) and everything the program printed
without
the repeating parts.
- Upload your sample somewhere and supply url

Original issue reported on code.google.com by [email protected] on 3 Feb 2011 at 3:53

FFmbc adding some audio samples to the end of my encoded video

Hi, for some of my input sources FFmbc seems to be adding some audio samples to 
the end of my encoded video.
This causes the overall frame count to be increased by 1 and the final frame is 
just a blank screen.

According to Adobe Premiere Pro my input file has 265 frames but the output 
from FFmbc contains 266.
In addition, MediaInfo shows a SamplingCount of 509952 (vs 508800 for the 
source).

What version of the product are you using? On what operating system?
FFmbc-0.6-rc7 on OS X 10.6.7

Please provide any additional information below:

- Full commandline run (with -v 3) and everything the program printed
without
the repeating parts.
ffmbc -v 3 -i master.mov -vcodec libx264 -g 5 -coder 0 -b 6000k -maxrate 6000k 
-bufsize 5097k -acodec libfaac -ab 96k -ar 48000 -ac 1 -aprofile 1 -async 100 
-f mov -y proxy.mov

FFmbc version 0.6-rc7
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'master.mov':
  Metadata:
    major_brand: qt  
    minor_version: 537199360
    compatible_brands: qt  
    creation_time: 2011-06-27 08:51:04
    timecode: 00:26:22:23
  Duration: 00:00:10.60, start: 0.000000, bitrate: 59353 kb/s
    Stream #0.0(eng): Video: mpeg2video, yuv422p, 1280x720p [PAR 1:1 DAR 16:9], 50000 kb/s, 25.00 fps
    Metadata:
      codec_name: XDCAM HD422 720p25
    Stream #0.1(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.2(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.3(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.4(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.5(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.6(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.7(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.8(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0.9(eng): Data: tmcd / 0x64636D74
    Metadata:
      reel_name(eng): XDCAM_720p_24bit_10sec.MXF
[ffsink @ 0x100e039a0] auto-inserting filter 'auto-inserted scaler 0' between 
the filter 'src' and the filter 'out'
[scale @ 0x100e03b90] w:1280 h:720 fmt:yuv422p -> w:1280 h:720 fmt:yuv420p 
flags:0x4 interlaced:0
[libx264 @ 0x101045c00] using SAR=1/1
[libx264 @ 0x101045c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle 
SSE4.2
[libx264 @ 0x101045c00] profile High, level 3.1
[libx264 @ 0x101045c00] 264 - core 115 - H.264/MPEG-4 AVC codec - Copyleft 
2003-2011 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 
mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 
fast_pskip=1 chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1 
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 
b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=5 
keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=21 rc=cbr mbtree=1 
bitrate=6000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=6000 
vbv_bufsize=5097 nal_hrd=none ip_ratio=1.40 aq=1:1.00
Output #0, mov, to 'proxy.mov':
  Metadata:
    encoder: FFmbc 0.6
    Stream #0.0(und): Video: libx264, yuv420p, 1280x720p [PAR 1:1 DAR 16:9], 6000 kb/s, 25.00 fps
    Stream #0.1(und): Audio: libfaac (LC), 48000 Hz, 1 channels, s16, 96 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[mov @ 0x101044a00] color primaries unspecified, assuming 
bt709rate=6328.5kbits/s eta=00:00:01.49                 
[mov @ 0x101044a00] replacing header in front, copying  7.92MB                  

frame=  265 fps= 29 q=-1.0 Lsize=    8113kB time=00:00:10.52 
bitrate=6317.5kbits/s                 
video:7998kB audio:107kB global headers:1kB muxing overhead 0.087901%
[libx264 @ 0x101045c00] frame I:53    Avg QP:17.17  size: 93802
[libx264 @ 0x101045c00] frame P:197   Avg QP:19.27  size: 15669
[libx264 @ 0x101045c00] frame B:15    Avg QP:19.18  size:  8762
[libx264 @ 0x101045c00] consecutive B-frames: 88.7% 11.3%  0.0%  0.0%
[libx264 @ 0x101045c00] mb I  I16..4:  4.4% 75.5% 20.1%
[libx264 @ 0x101045c00] mb P  I16..4:  0.2%  1.9%  0.4%  P16..4: 56.4% 17.5%  
7.2%  0.0%  0.0%    skip:16.4%
[libx264 @ 0x101045c00] mb B  I16..4:  0.0%  0.4%  0.0%  B16..8: 57.4%  7.5%  
0.4%  direct: 2.7%  skip:31.5%  L0:47.0% L1:51.4% BI: 1.5%
[libx264 @ 0x101045c00] 8x8 transform intra:75.6% inter:59.1%
[libx264 @ 0x101045c00] coded y,uvDC,uvAC intra: 94.4% 87.5% 79.1% inter: 14.0% 
16.6% 0.7%
[libx264 @ 0x101045c00] i16 v,h,dc,p: 35% 27%  8% 30%
[libx264 @ 0x101045c00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 15% 48%  5%  3%  4%  
3%  4%  4%
[libx264 @ 0x101045c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 26% 15%  5%  4%  5%  
4%  4%  4%
[libx264 @ 0x101045c00] i8c dc,h,v,p: 51% 23% 23%  4%
[libx264 @ 0x101045c00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x101045c00] ref P L0: 66.6%  5.6% 21.2%  6.6%
[libx264 @ 0x101045c00] ref B L0: 76.8% 23.2%
[libx264 @ 0x101045c00] kb/s:6180.94


- Upload your sample somewhere and supply url
http://boncey.org/downloads/PA-574.tar.gz

Original issue reported on code.google.com by [email protected] on 5 Jul 2011 at 10:49

ffmbc 0.6rc1 -timecode and -timecode_frame_start in the same command ine

This command fails with the error:

[NULL @ 0x96517a0] [Eval @ 0xbfead87c] Undefined constant or missing '(' in 'F'
[NULL @ 0x96517a0] Unable to parse option value "F"

ffmbc \
 -y -loglevel debug \
 -shortest \
 -ar 48000 -ac 1 -f s16le -i /dev/zero \
 -i combined.mov \
 -aspect 16:9 -pix_fmt yuv422p -r 25 \
 -vf pad=720:608:0:32:black \
 -vcodec mpeg2video \
 -flags +ildct+low_delay -flags2 +ivlc+non_linear_q \
 -rc_min_vbv_use 1 -rc_max_vbv_use 1 \
 -qscale 1 -qmin 1 -ps 1 \
 -minrate 30000k -maxrate 30000k -b 30000k \
 -bufsize 1200000 -rc_init_occupancy 1200000 \
 -top 1 -dc 10 -intra \
 -acodec pcm_s16le -ar 48000 -ac 4 \
 -map_audio_channel 0:0:0:0:1:0 -map_audio_channel 0:0:0:0:1:1 \
 -map_audio_channel 0:0:0:0:1:2 -map_audio_channel 0:0:0:0:1:3 \
 -f mxf_d10 \
 -timecode 09:59:59:00 \
 -timecode_frame_start 899975 \
  combined.mxf

If I remove either -timecode OR -timecode_frame_start the command executes.

Original issue reported on code.google.com by [email protected] on 21 Feb 2011 at 12:27

make failes (No rule to make target `/cygdrive/d/FFmbc-0.2/version.sh', needed by 'version.h')

1. install cygwin
2. run cygwin.bat as administrator in vista 32
   (FFmpeg has maked OK, including make install)
3.
    make distclean
    ./configure --target-os=mingw32 --enable-memalign-hack --enable-
static --disable-shared --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
    make

make fails with:

libswscale/yuv2rgb.c: At top level:
libswscale/yuv2rgb.c:326: warning: 'yuv2rgb_c_8' defined but not used
libswscale/yuv2rgb.c:374: warning: 'yuv2rgb_c_4' defined but not used
libswscale/yuv2rgb.c:431: warning: 'yuv2rgb_c_4b' defined but not used
rm -f libswscale/libswscale.a
ar rc libswscale/libswscale.a libswscale/options.o libswscale/rgb2rgb.o 
libswsca
le/swscale.o libswscale/yuv2rgb.o
ranlib libswscale/libswscale.a
make: *** No rule to make target `/cygdrive/d/FFmbc-0.2/version.sh', 
needed by `
version.h'.  Stop.

What to do to avoid make issue?

Kind regards
Bart

Original issue reported on code.google.com by [email protected] on 10 Oct 2009 at 3:34

Unable to create DV files with 0.6-rc3

I'm filing this as a bug, but I wouldn't be surprised if I'm the one doing 
something wrong. It could be my input file.

I'm trying to create some DV files. I've tried using the suggested command 
lines here:

http://www.itbroadcastanddigitalcinema.com/ffmpeg_howto.html#Encoding_DVCAM_DVCP
RO25_DVCPRO50

I've also tried the following command:

ffmbc -y -i 2573-9.mpg -target pal-dv paldvtest.dv

The output is always something similar to the following:

FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 31 2011 13:36:32 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-postproc --enable-runtime-cpudetect --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-frei0r --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-pthreads --enable-libxvid --enable-zlib
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mpeg, from '2573-9.mpg':
  Duration: 00:00:00.56, start: 0.092933, bitrate: 49721 kb/s
    Stream #0.0[0x1e0](und): Video: mpeg2video, yuv422p, 720x608i tff [PAR 608:405 DAR 16:9], 49583 kb/s, 25.00 fps
    Stream #0.1[0x1c0](und): Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
[ffsink @ 0x104cb80] auto-inserting filter 'auto-inserted scaler 0' between the 
filter 'src' and the filter 'out'
[scale @ 0x109da00] w:720 h:608 fmt:yuv422p -> w:720 h:608 fmt:yuv420p 
flags:0x1004 interlaced:0
[swscaler @ 0x1051370] BICUBIC scaler, from yuv422p to yuv420p using C
[dvvideo @ 0x1094ca0] Found no DV profile for 720x608 yuv420p video
Error while opening encoder for output stream #0.0 - maybe incorrect parameters 
such as bit_rate, rate, width or height


Test File be used here (Available until April 7th):

https://rcpt.yousendit.com/1083770493/0015d6c0ae69ccff23ad78fab44a1eb3


Original issue reported on code.google.com by [email protected] on 31 Mar 2011 at 10:34

Can't build 0.6-rc3 with OpenCV on Debian Testing

I can't build FFmbc-0.6-rc3 with OpenCV support on a Debian Testing based
system.

I'm running Mint LMDE (Linux Mint Debian Edition). It's based in Debian
Testing. My sources.list has the following:

deb http://packages.linuxmint.com/ debian main upstream import
deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free

FFmbc has the configure option --enable-libopencv

Installing this library on Debian Testing, I receive the following:

sudo apt-get install libopencv-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libopencv-dev is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libcv-dev

E: Package 'libopencv-dev' has no installation candidate

So, I install libcv-dev instead.

Then when I try to configure FFmbc with the --enable-libopencv flag, I get
the following:

ERROR: libopencv not found

Phill 

Original issue reported on code.google.com by [email protected] on 31 Mar 2011 at 6:21

Build errors for FFmbc-0.6-rc4

What steps will reproduce the problem?
1. /configure --enable-gpl --enable-nonfree --disable-yasm
2. make or make -k
3.

What is the expected output? What do you see instead?
expected successful build of FFmbc-0.6-rc4
instead I get:
make: *** No rule to make target 'libavutil/libavutil.a', needed by 'all'.
make: *** No rule to make target 'ffmbc_g.exe', needed by 'ffmbc.exe'.
make: *** No rule to make target 'ffprobe_g.exe', needed by 'ffprobe.exe'.
make: *** No rule to make target 'ffserver_g.exe', needed by 'ffserver.exe'.
make: Target 'all' not remade because of errors.

What version of the product are you using? On what operating system?
Windows 7 Professional (32 bit); bash 3.9-3 (I believe); GNU Make 3.81; 
CYGWIN_NT-6.1 / 1.7.7 (0.230/5/3)

Please provide any additional information below:

- Full commandline run (with -v 3) and everything the program printed
without the repeating parts.
  * as above *
- Upload your sample somewhere and supply url
  * N/A *

Original issue reported on code.google.com by [email protected] on 3 May 2011 at 4:36

Problems packaging as an RPM

What steps will reproduce the problem?
1. Sample rpm.spec file:
=======
#
Summary: FFmpeg customized for broadcast and professional usage. 

Name: FFmbc
Version: 0.6.rc3 
Release: 1
License: GPL
Group: Applications/Audio
Source: http://code.google.com/p/ffmbc/downloads/FFmbc-0.6.rc3.tar.gz
URL: http://code.google.com/p/ffmbc 
Distribution: REDHAT 5.5 AMD64 Linux
Vendor: FFMediaBroadcast
Packager: Charles Sibbald <[email protected]>

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires:
%description
FFmpeg customized for broadcast and professional usage
Requires: 

%prep
rm -rf $RPM_BUILD_DIR/FFmbc
zcat $RPM_SOURCE_DIR/FFmbc-0.6.rc3.tar.gz | tar -xvf -
#                   Tar file updated to extract correctly.
%setup -q
%build 
#%configure
cd $RPM_BUILD_DIR/FFmbc
#./configure --enable-gpl
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc

%changelog

#===========



2. ]$  "rpmbuild -ba ffmbc-x86_64.spec"


============

Expect the configure stage to run with no issues.




What version of the product are you using?  FFmbc-0.6-rc3

On what operating system?   Redhat-5.5_x86_64


Please provide any additional information below:

- 
++ find . -name config.guess -o -name config.sub
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu 
--target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc 
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com 
--mandir=/usr/share/man --infodir=/usr/share/info
Unknown option "--build=x86_64-redhat-linux-gnu".
See ./configure --help for available options.
error: Bad exit status from /var/tmp/rpm-tmp.46121 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.46121 (%build)

Original issue reported on code.google.com by [email protected] on 15 Apr 2011 at 1:48

mxf wrapping

aaaand me again:-)
I was wandering, if you have plans to include 'asdcplib' for D-cinema mxf 
wrapping? 


All the best!

Original issue reported on code.google.com by [email protected] on 13 May 2011 at 2:33

Error when passing the -qcomp parameter with the libx264 video codec

This happens with ffmbc 0.6rc6 on Ubuntu 10.04.

  $ ffmbc -v 3 -i trailer_iphone.m4v -vcodec libx264 -qcomp 0.6 trailer.mp4

  FFmbc version 0.6-rc6
  Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'trailer_iphone.m4v':
    Metadata:
      major_brand: M4VP
      minor_version: 1
      compatible_brands: M4VPM4A mp42isom
      creation_time: 2008-03-18 09:48:34
    Duration: 00:00:33.04, start: 0.000000, bitrate: 941 kb/s
      Stream #0.0(eng): Audio: aac, 44100 Hz, stereo, s16, 127 kb/s
      Stream #0.1(eng): Video: h264 (Constrained Baseline), yuv420p, 480x270p, 824 kb/s, 25.00 fps
  [libx264 @ 0x1a89660] bad value for 'qcompress': '0.6'
  Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

This doesn't seem to be specific to a particular video, I tried it with this 
file: 

  http://mirror.cessen.com/blender.org/peach/trailer/trailer_iphone.m4v

The qcomp option is defined in libx264.c to be of type string, while there's an 
option with the same name and type float in options.c. Removing the line in 
libx264.c fixes the problem. 

Original issue reported on code.google.com by [email protected] on 31 May 2011 at 2:46

When specifying multiple outputs with different audio sampling rates, only the first output gets a properly resampled audio

When specifying multiple outputs with different audio sampling rates, only the 
first output gets a properly resampled audio

Given the video file from

  http://video.blendertestbuilds.de/download.blender.org/peach/trailer_iphone.m4v

this command produces a properly downsampled audio stream:

  ffmbc -i trailer_iphone.m4v -ar 22050 working.mp4

When trying to produce outputs with different sampling rates in one
go, only the first output will be properly resampled:

  ffmbc -i trailer_iphone.m4v -ar 48000 dummy.mp4 -ar 22050 broken.mp4

The output contains a lot of warnings:

  discarding 1024 audio samples in stream #0.0

The broken.mp4's audio is too low pitched when played back. When doing
it the other way around

  ffmbc -i trailer_iphone.m4v -ar 22050 dummy.mp4 -ar 48000 broken2.mp4 

I get warnings like

  adding 4820 audio samples in stream #0.0

The audio of broken2.mp4 will be high pitched and choppy. Choosing
libmp3lame as the audio codec leads to similar results. The same
problem occurs with WMV input, e.g.

  http://cdn1.eveonline.com/video/2/EXODUS_Trailer_v1a.wmv 

but NOT with ogg theora/vorbis, e.g.

  http://download.blender.org/peach/trailer/trailer_400p.ogg

I'm using FFmbc 0.6rc6 on Ubuntu 10.04 and MPlayer 1.0rc4-4.4.3 for playback. 

Original issue reported on code.google.com by [email protected] on 1 Jun 2011 at 12:33

error while compiling aaccoder

Hi all!
Nice project you built there!
Version 6-rc3 compiled without errors, but version 6-rc6 gives errors, when 
working on the aaccoder:

CC      libavcodec/aaccoder.o
libavcodec/aaccoder.c: In function 'coef2minsf':
libavcodec/aaccoder.c:520: error: 'float_t' undeclared (first use in this 
function)
libavcodec/aaccoder.c:520: error: (Each undeclared identifier is reported only 
once
libavcodec/aaccoder.c:520: error: for each function it appears in.)
libavcodec/aaccoder.c:520: error: expected ')' before numeric constant
libavcodec/aaccoder.c: In function 'coef2maxsf':
libavcodec/aaccoder.c:525: error: 'float_t' undeclared (first use in this 
function)
libavcodec/aaccoder.c:525: error: expected ')' before numeric constant
libavcodec/aaccoder.c: In function 'search_for_quantizers_anmr':
libavcodec/aaccoder.c:575: error: 'float_t' undeclared (first use in this 
function)
libavcodec/aaccoder.c:575: error: expected ')' before numeric constant
libavcodec/aaccoder.c: In function 'search_for_quantizers_twoloop':
libavcodec/aaccoder.c:735: error: 'float_t' undeclared (first use in this 
function)
libavcodec/aaccoder.c:735: error: expected ')' before numeric constant
libavcodec/aaccoder.c:735: error: expected ')' before numeric constant
libavcodec/aaccoder.c: In function 'search_for_quantizers_faac':
libavcodec/aaccoder.c:938: error: 'float_t' undeclared (first use in this 
function)
libavcodec/aaccoder.c:938: error: expected ')' before numeric constant
libavcodec/aaccoder.c:967: error: expected ')' before numeric constant
libavcodec/aaccoder.c: In function 'search_for_quantizers_fast':
libavcodec/aaccoder.c:1020: error: 'float_t' undeclared (first use in this 
function)
libavcodec/aaccoder.c:1020: error: expected ')' before numeric constant
make: *** [libavcodec/aaccoder.o] Error 1

ffmpeg itself compiles perfectly.
and, as I sait rc3 works as well.
Can you guys guide me, please:_)

All the best from Berlin!

SwK

Original issue reported on code.google.com by [email protected] on 13 May 2011 at 2:22

Can't transcode SMPTE 390M OP-ATOM MXF audio

Hi, we're trying to use FFmbc to transcode a SMPTE 390M OP-ATOM MXF asset.

Command line:
ffmbc -v 3 -i 0001GL.MXF.V1.mxf_opatom.mxf \
    -i 0001GL00.MXF.A1.mxf_opatom.mxf \
    -i 0001GL01.MXF.A2.mxf_opatom.mxf \
    -i 0001GL02.MXF.A3.mxf_opatom.mxf \
    -i 0001GL03.MXF.A4.mxf_opatom.mxf \
    -vcodec mpeg4 -g 5 -coder 0 -b 6000k -maxrate 6000k -bufsize 5097k -acodec mp2 -ab 96k -ar 48000 -ac 1 -aprofile 1 -f mov -y ~/Movies/PA-323/PA-323-transwrap.mov \
    -acodec mp2 -ab 96k -ar 48000 -ac 1 -aprofile 1 -newaudio \
    -acodec mp2 -ab 96k -ar 48000 -ac 1 -aprofile 1 -newaudio \
    -acodec mp2 -ab 96k -ar 48000 -ac 1 -aprofile 1 -newaudio

Output:
FFmbc version 0.6-rc6
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
[mxf @ 0x101009800] only frame wrapped mappings are correctly supported
    Last message repeated 1 times
[mxf @ 0x101009800] material track 3: no corresponding source package found
[mxf @ 0x101009800] material track 4: no corresponding source package found
[mxf @ 0x101009800] material track 5: no corresponding source package found
Input #0, mxf, from '0001GL.MXF.V1.mxf_opatom.mxf':
  Duration: 00:00:10.24, start: 0.000000, bitrate: 115507 kb/s
    Stream #0.0(und): Video: dvvideo, yuv422p, 1440x1080i tff [PAR 4:3 DAR 16:9], 25.00 fps
    Stream #0.1(und): Video: dvvideo, 1920x540p, 25.00 fps
[mxf @ 0x10101b400] only frame wrapped mappings are correctly supported
    Last message repeated 1 times
[mxf @ 0x10101b400] material track 3: no corresponding source package found
[mxf @ 0x10101b400] material track 4: no corresponding source package found
[mxf @ 0x10101b400] material track 5: no corresponding source package found
[mxf @ 0x10101b400] Could not find codec parameters (Audio: 0x0000, 48000 Hz, 1 
channels)
0001GL00.MXF.A1.mxf_opatom.mxf: could not find codec parameters

What version of the product are you using? On what operating system?
FFmbc 0.6rc6 on OS X 10.6.7

Please provide any additional information below:
We understand there's a patch to partially add this support to FFmpeg/FFmbc...
http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2011-May/111737.html

We'd like to discuss the possibility of getting this supported in FFmpeg/FFmbc.

Sample files for this issue are available here:
http://boncey.org/downloads/opatom-samples.tar.gz

Thanks, Darren.

Original issue reported on code.google.com by [email protected] on 22 Jun 2011 at 12:55

-map_audio_channel and -map conflict

1)
* Make an ffmbc CLI with multiple input files and multiple output files (e.g 
atomised input to separate audio and video pipe output)
* Use -map to direct ffmbc to use the correct input for video output
* Use -map_audio_channel to describe what input audio maps to what output 
channels
* e.g  ffmbc0.6rc3 -r 25 -i "x.MP4" -r 25 -i "y.MP4" -map 0:0 -an -r 25 -vcodec 
rawvideo -pix_fmt uyvy422 -y /tmp/z.yuv -vn -f s16le -acodec pcm_s16le -ac 2 
-ar 48000 -y /tmp/z.wav -newaudio -map_audio_channel 1:1:0:1:0:0 
-map_audio_channel 1:1:1:1:0:1

Result:
* ffmbc will complain that every output stream must have a map statement:
"Number of stream maps must match number of output streams"

2)
* As above but include a -map for the audio
* e.g ffmbc0.6rc3 -r 25 -f s16le -ac 2 -ar 48000 -i "/dev/zero" -r 25 -i 
"x.MP4" -r 25 -i "y.MP4" -shortest -map 1:0 -an -r 25 -vcodec rawvideo -pix_fmt 
uyvy422 -y /tmp/z.yuv -map 0:0 -vn -f s16le -acodec pcm_s16le -ac 2 -ar 48000 
-y /tmp/z.wav -newaudio -map_audio_channel 1:1:0:1:0:0  -map_audio_channel 
2:1:0:1:0:1

Result:
* ffmbc will ignore map_audio_channel statements and use stream specified by 
map statement, in this case resulting in a raw WAV file consisting of all 0s

Using:
FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 14 2011 11:30:24 with gcc 4.4.3
  configuration: --cpu=amd64 --enable-static --extra-cflags='--static -I$PREFIX/include' --extra-libs='-static -L$PREFIX/lib' --prefix=/usr/local --enable-ffplay --enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac --enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 --enable-libschroedinger --enable-libvpx
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0


Perhaps it's as simple as making map_audio_channel directives count towards the 
test for whether all outputs have a map statement?

Original issue reported on code.google.com by [email protected] on 13 Apr 2011 at 2:01

MXF IMX50 subclip

Hello, I try to create subclip from an MXF IMX50 file. While the ffmpeg tools 
extracts correctly the file, it doesn't support the -acodec copy. The ffmbc 
tools simply ignore the offset and duration of the subclips and copy the whole 
input file as destination file.

ffmbc -i input.mxf -ss 00:01:00 -t 00:00:05 -vcodec copy -acodec copy output.mxf

Is there something wrong here, why the output is not the 5 sec extract?

Original issue reported on code.google.com by [email protected] on 14 Dec 2010 at 2:41

Quicktime Reference to X problem

What steps will reproduce the problem?
1. If I want to render a Quicktime Reference file to a MPEG (or any other) I 
get an error.

What is the expected output? What do you see instead?
 An MPEG but I don't get any output because of the error

What version of the product are you using? On what operating system?
 I have tried multiple versions of FFMbc with no difference in result, I tried Windows XP Pro and Windows 7 (with no difference in result). The Print out 
version is 0.3

Please provide any additional information below:
 I had the idea that if I included Libquicktime in FFMbc it would work so I  tried to compile it on Linux Ubuntu but that didn't work (maybe because I'm a 
newbie in Linux...). If I load a normal Quicktime, not a reference it works :S 
and my system can run both Quicktime and Quicktime reference

- Full commandline run and everything the program printed without
the repeating parts.

Commandline:
ffmpeg -i dvd.mov -y dvd.mpg

Printout:

FFmpeg version FFmbc-0.3, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  built on Nov 15 2009 17:57:32 with gcc 4.2.4
  configuration: --enable-memalign-hack --prefix=/mingw --cross-prefix=i686-ming
w32- --cc=ccache-i686-mingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --e
nable-avisynth --enable-gpl --enable-version3 --enable-zlib --enable-bzlib --ena
ble-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libthe
ora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid
--enable-libschroedinger --enable-libx264 --enable-libopencore_amrwb --enable-li
bopencore_amrnb
  libavutil     50. 4. 0 / 50. 4. 0
  libavcodec    52.41. 0 / 52.41. 0
  libavformat   52.39. 2 / 52.39. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3ed060]multiple edit list entries, a/v desync might
 occur, patch welcome
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3ed060]stream 0, error opening alias: path='/edit01
/h DRIVE AVID/Avid MediaFiles/MXF/1/Teaser_Polen_Motion4CE547EB.mxf', dir='1', f
ilename='Teaser_Polen_Motion4CE547EB.mxf', volume='*', nlvl_from=-1, nlvl_to=-1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3ed060]stream 1, error opening alias: path='/edit01
/h DRIVE AVID/Avid MediaFiles/MXF/1/Teaser_PolA01.4CE544CE54957.mxf', dir='1', f
ilename='Teaser_PolA01.4CE544CE54957.mxf', volume='*', nlvl_from=-1, nlvl_to=-1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3ed060]stream 2, error opening alias: path='/edit01
/h DRIVE AVID/Avid MediaFiles/MXF/1/Teaser_PolA02.4CE544CE54957.mxf', dir='1', f
ilename='Teaser_PolA02.4CE544CE54957.mxf', volume='*', nlvl_from=-1, nlvl_to=-1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3ed060]Could not find codec parameters (Video: mpeg
2video, 720x576, tbc N/A, 50790 kb/s)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3ed060]Could not find codec parameters (Audio: pcm_
s16le, 48000 Hz, 1 channels, 768 kb/s)
    Last message repeated 1 times
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'dvd.mov':
  Metadata:
    major_brand: qt
    minor_version: 537199360
    compatible_brands: qt
    comment(eng): Source ID = 060a2b340101010101010f00-13-00-00-00-{4ce549a2-a96
e-0198-060e2b347f7f2a80}
  Duration: 00:03:46.12, start: 0.000000, bitrate: 2 kb/s
    Stream #0.0(eng): Video: mpeg2video, 720x576, tbc N/A, 50790 kb/s, fps 25.00
0, tbf 1/2500
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, 768 kb/s
    Stream #0.2(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, 768 kb/s
    Stream #0.3(eng): Data: tmcd / 0x64636D74
swScaler: Unknown format is not supported as input pixel format
Cannot get resampling context

Original issue reported on code.google.com by [email protected] on 4 Dec 2010 at 3:42

Wrong Timecode?

What steps will reproduce the problem?
I run the command below to add the timecode 01:00:00:00 to a quicktime file. 
When the resulting file is played back in quicktime player, the first timecode 
track is present but it shows 00:15:00:00 for frame 1 instead of 01:00:00:00. 
If I scroll the time line, the timecode goes to 00:15:00:94 making it seems 
like it is encoded at 100 frame per second. I do specify the fps for the input 
and output. Am I doing something wrong? Thanks


What version of the product are you using? On what operating system?
FFmbc-0.5 Win 7.0

Please provide any additional information below:

- Full commandline run and everything the program printed without
the repeating parts.
C:\_VG_dev\software\ffmpeg\FFmbc-0.5\bin\ffmbc -loglevel verbose -r 24 -y -i 
C:\Temp\ffmbc\source.mov -vcodec copy -r 24 -timecode 01:00:00:00 
C:\Temp\ffmbc\final.mov


FFmpeg version FFmbc-0.5, Copyright (c) 2000-2010 the FFmpeg developers
  built on Nov 22 2010 01:04:07 with gcc 4.4.2
  configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg -
-enable-libschroedinger --enable-libopencore_amrwb --enable-libopencore_amrnb 
--enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-runtime-cpudetect 
--enable-libxvid --enab
le-libx264 --extra-libs='-lx264 -lpthread' --enable-librtmp 
--extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --target-os=mingw32 
--enable-avisynth --cross-prefix=i686-mingw32- --c
c='ccache i686-mingw32-gcc' --enable-memalign-hack
  libavutil     50.31. 0 / 50.31. 0
  libavcore      0. 9. 0 /  0. 9. 0
  libavcodec    52.91. 1 / 52.91. 1
  libavformat   52.78. 5 / 52.78. 5
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.47. 1 /  1.47. 1
  libswscale     0.12. 0 /  0.12. 0
[dnxhd @ 0033d750] 10 bit per component
    Last message repeated 5 times
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Temp\ffmbc\source.mov':
  Metadata:
    major_brand: qt
    minor_version: 537199360
    compatible_brands: qt
  Duration: 00:00:00.87, start: 0.000000, bitrate: 176170 kb/s
    Stream #0.0(eng): Video: dnxhd, 1920x1080p, tbc N/A, 176160 kb/s, fps 24.000
Output #0, mov, to 'C:\Temp\ffmbc\final.mov':
  Metadata:
    encoder: FFmbc 0.5
    Stream #0.0(eng): Video: dnxhd, 1920x1080p, tbc 1/2400, q=2-31, 176160 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   21 fps=  0 q=-1.0 Lsize=   18817kB time=0.83 bitrate=184890.3kbits/s
video:18816kB audio:0kB global headers:0kB muxing overhead 0.007562%


Original issue reported on code.google.com by [email protected] on 20 Jan 2011 at 2:58

'Unsupported frame rate' produced for -r of fractional / non int values

What steps will reproduce the problem?
1. ffmpeg -i quantelIMX50.mxf -r 1/10 -s 172*96 -an thumbnails/Quantel%05d.jpg

What is the expected output? What do you see instead?

execution, and the creation of stills at a rate of less than 1 per second.
instead, the following error is produced 'Unsupported frame rate' .

What version of the product are you using? On what operating system?

FFmbc-0.4-rc1 & FFmbc-0.3 on Ubuntu 10.4 & 9.10

Please provide any additional information below:

A value of 1 is accepted, but not 0.1 or 1/10. 

The FFmpeg documentation suggests fractional values are an accepted input. 

`-r fps' Set frame rate (Hz value, fraction or abbreviation), (default = 25). - 

http://ffmpeg.org/ffmpeg-doc.html

chris@athena:~/Videos/Sample Media Formats/IMX50 MXF/Quantel MXF$ ffmpeg -i 
quantelIMX50.mxf -r 1/10 -s 172*96 -an thumbnails/Quantel%05d.jpg
FFmpeg version FFmbc-0.4-rc1, Copyright (c) 2000-2010 the FFmpeg developers
  built on May  2 2010 20:35:51 with gcc 4.4.3
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --
enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libopencore-amrnb 
--enable-
libopencore-amrwb --enable-libx264 --enable-libxvid --enable-x11grab 
--enable-avfilter --
enable-avfilter-lavf --enable-libtheora --enable-libschroedinger
  libavutil     50.14. 0 / 50.14. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.60. 0 / 52.60. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.18. 0 /  1.18. 0
  libswscale     0.10. 0 /  0.10. 0
Input #0, mxf, from 'quantelIMX50.mxf':
  Duration: 00:00:30.00, start: 0.000000, bitrate: 62568 kb/s
    Stream #0.0(und): Video: mpeg2video, yuv422p, 720x608 [PAR 152:135 DAR 4:3], tbc 2/50, 
50000 kb/s, fps 25.000
    Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 4 channels, s16, 3072 kb/s
Unsupported frame rate

This commandline executes successfully against the current git version of 
FFmpeg...

chris@athena:~/Videos/Sample Media Formats/IMX50 MXF/Quantel MXF$ ffmpeg -i 
quantelIMX50.mxf -croptop 32 -r 1/10 -s 172*96 -an thumbnails/Quantel%05d.jpg
FFmpeg version git-ff7705f, Copyright (c) 2000-2010 the FFmpeg developers
  built on May  2 2010 15:14:30 with gcc 4.4.3
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --
enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libxvid 
--
enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-libtheora 
--enable-
libschroedinger
  libavutil     50.15. 0 / 50.15. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.62. 0 / 52.62. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mxf @ 0xa8e5420]MAX_READ_SIZE:5000000 reached
Input #0, mxf, from 'quantelIMX50.mxf':
  Duration: 00:00:30.00, start: 0.000000, bitrate: 62568 kb/s
    Stream #0.0: Video: mpeg2video, yuv422p, 720x608 [PAR 152:135 DAR 4:3], 50000 kb/s, 25 
fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0.1: Audio: pcm_s16le, 48000 Hz, 4 channels, s16, 3072 kb/s
Output #0, image2, to 'thumbnails/Quantel%05d.jpg':
  Metadata:
    encoder         : Lavf52.62.0
    Stream #0.0: Video: mjpeg, yuvj420p, 172x96 [PAR 32:43 DAR 4:3], q=2-31, 200 kb/s, 90k 
tbn, 0.10 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=    2 fps=  0 q=1.6 size=      -0kB time=20.00 bitrate=  -0.0kbits/s 
dup=0frame=    2 
fps=  2 q=1.6 size=      -0kB time=20.00 bitrate=  -0.0kbits/s dup=0frame=    2 
fps=  1 q=1.6 
size=      -0kB time=20.00 bitrate=  -0.0kbits/s dup=0frame=    2 fps=  1 q=1.6 
size=      -0kB 
time=20.00 bitrate=  -0.0kbits/s dup=0frame=    2 fps=  1 q=1.6 size=      -0kB 
time=20.00 
bitrate=  -0.0kbits/s dup=0frame=    2 fps=  1 q=1.6 size=      -0kB time=20.00 
bitrate=  -
0.0kbits/s dup=0frame=    2 fps=  1 q=1.6 size=      -0kB time=20.00 bitrate=  
-0.0kbits/s 
dup=0frame=    2 fps=  0 q=1.6 size=      -0kB time=20.00 bitrate=  -0.0kbits/s 
dup=0frame=    
3 fps=  1 q=1.6 size=      -0kB time=30.00 bitrate=  -0.0kbits/s dup=0frame=    
3 fps=  1 q=1.6 
size=      -0kB time=30.00 bitrate=  -0.0kbits/s dup=0frame=    3 fps=  1 q=1.6 
size=      -0kB 
time=30.00 bitrate=  -0.0kbits/s dup=0frame=    3 fps=  0 q=1.6 size=      -0kB 
time=30.00 
bitrate=  -0.0kbits/s dup=0frame=    3 fps=  0 q=1.6 size=      -0kB time=30.00 
bitrate=  -
0.0kbits/s dup=0frame=    3 fps=  0 q=1.6 size=      -0kB time=30.00 bitrate=  
-0.0kbits/s 
dup=0frame=    3 fps=  0 q=1.6 size=      -0kB time=30.00 bitrate=  -0.0kbits/s 
dup=0frame=    
3 fps=  0 q=1.6 size=      -0kB time=30.00 bitrate=  -0.0kbits/s dup=0frame=    
4 fps=  0 q=1.6 
size=      -0kB time=40.00 bitrate=  -0.0kbits/s dup=0frame=    4 fps=  0 q=1.6 
size=      -0kB 
time=40.00 bitrate=  -0.0kbits/s dup=0frame=    4 fps=  0 q=1.6 size=      -0kB 
time=40.00 
bitrate=  -0.0kbits/s dup=0frame=    4 fps=  0 q=1.6 size=      -0kB time=40.00 
bitrate=  -
0.0kbits/s dup=0frame=    4 fps=  0 q=1.6 size=      -0kB time=40.00 bitrate=  
-0.0kbits/s 
dup=0frame=    4 fps=  0 q=1.6 size=      -0kB time=40.00 bitrate=  -0.0kbits/s 
dup=0frame=    
4 fps=  0 q=1.6 size=      -0kB time=40.00 bitrate=  -0.0kbits/s dup=0frame=    
5 fps=  0 q=1.6 
size=      -0kB time=50.00 bitrate=  -0.0kbits/s dup=0frame=    5 fps=  0 q=1.6 
Lsize=      -0kB 
time=50.00 bitrate=  -0.0kbits/s dup=0 drop=745    
video:12kB audio:0kB global headers:0kB muxing overhead -100.176452%

Original issue reported on code.google.com by [email protected] on 2 May 2010 at 8:21

Make fails with "cmdutils.c:361: undefined reference to `postproc_configuration'"

What steps will reproduce the problem?
1. ./configure --enable-gpl --enable-version3 --enable-nonfree 
--enable-postproc --
enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libxvid 
--
enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-libtheora 
--enable-
libschroedinger
2. make

What is the expected output? What do you see instead?

Expected : Exit status 0.  

Returned :
...
CC  libavutil/md5.o
CC  libavutil/mem.o
CC  libavutil/pixdesc.o
CC  libavutil/random_seed.o
CC  libavutil/rational.o
CC  libavutil/rc4.o
CC  libavutil/sha.o
CC  libavutil/tree.o
CC  libavutil/utils.o
AR  libavutil/libavutil.a
CC  ffmpeg.o
ffmpeg.c: In function ‘av_encode’:
ffmpeg.c:2356: warning: unused variable ‘t’
ffmpeg.c: In function ‘output_packet’:
ffmpeg.c:1163: warning: dereferencing pointer ‘picture2’ does break 
strict-aliasing rules
ffmpeg.c:1752: note: initialized from here
CC  cmdutils.o
cmdutils.c: In function ‘read_file’:
cmdutils.c:660: warning: ignoring return value of ‘fread’, declared with 
attribute 
warn_unused_result
LD  ffmpeg_g
/usr/bin/ld: skipping incompatible /home/chris/source/FFmbc-0.4-
rc1/libpostproc/libpostproc.a when searching for -lpostproc
cmdutils.o: In function `show_banner':
/home/chris/source/FFmbc-0.4-rc1/cmdutils.c:361: undefined reference to 
`postproc_configuration'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

What version of the product are you using? On what operating system?

FFmbc-0.4-rc1 on Ubuntu 10.4 & 9.10

Please provide any additional information below:

if i remove the "--enable-postproc" option, make completes successfully.

Ive tried compiling these options against "FFmpeg version git-ff7705f" which 
also completes successfully. 

FFmpeg version git-ff7705f, Copyright (c) 2000-2010 the FFmpeg developers
  built on May  2 2010 15:14:30 with gcc 4.4.3
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --
enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libxvid 
--
enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-libtheora 
--enable-
libschroedinger



Original issue reported on code.google.com by [email protected] on 2 May 2010 at 8:01

colormatrix filter seg-faults in later versions of FFmbc 0.6-rc4 (second and last versions) and rc5


ffmbc -i 475_0031_01/475_0031_01.MP4  -vf colormatrix=bt709:bt601 -y out1.mp4
FFmbc version 0.6-rc5
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '475_0031_01/475_0031_01.MP4':
  Metadata:
    major_brand: mp42
    minor_version: 0
    compatible_brands: mp42
    creation_time: 2010-09-30 08:37:58
  Duration: 00:00:30.66, start: 0.000000, bitrate: 36404 kb/s
    Stream #0.0(eng): Video: mpeg2video, yuv420p, 1280x720p [PAR 1:1 DAR 16:9], 35000 kb/s, 50.00 fps
    Stream #0.1(eng): Audio: pcm_s16be, 48000 Hz, 2 channels, s16, 1536 kb/s
[colormatrix @ 0xad8f2d0] bt709 -> bt601
Output #0, mp4, to 'out1.mp4':
  Metadata:
    encoder: FFmbc 0.6
    Stream #0.0(und): Video: mpeg4, yuv420p, 1280x720p [PAR 1:1 DAR 16:9], 200 kb/s, 50.00 fps
    Stream #0.1(und): Audio: libfaac, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
Stream #0.1 dropping frames before start time
adding 960 audio samples in stream #0.1
Segmentation fault

I think the fix is to replace line 377 of vf_colormatrix.c, the last line in 
end_frame(), from this:

avfilter_unref_buffer(out);

to this:

avfilter_unref_buffer(link->cur_buf);

At least - that fixes the issue for me...

Original issue reported on code.google.com by [email protected] on 9 May 2011 at 1:26

How to compile for windows, i get errors

What steps will reproduce the problem?
1. i tried to compile version 0.6rc3 for windows using mingw
2. i tried to cross compile under ubuntu64 following these steps for ffmpeg -> 
http://ffmpeg.arrozcru.org/wiki/index.php?title=Main_Page


What is the expected output? What do you see instead?
I like to see a no errors while compiling/making.
I see something like:

---------------------------------SNIP ---------------------------
helge@helge-desktop:~/FFmbc-0.6-rc3$ make
CC  libavdevice/alldevices.o
CC  libavdevice/avdevice.o
CC  libavdevice/vfwcap.o
AR  libavdevice/libavdevice.a
CC  libavfilter/af_anull.o
CC  libavfilter/allfilters.o
CC  libavfilter/asink_anullsink.o
CC  libavfilter/asrc_anullsrc.o
CC  libavfilter/avfilter.o
libavfilter/avfilter.c:212: warning: 'ff_get_ref_perms_string' defined but not 
used
CC  libavfilter/avfiltergraph.o
CC  libavfilter/defaults.o
CC  libavfilter/formats.o
CC  libavfilter/graphparser.o
CC  libavfilter/libmpcodecs/img_format.o
CC  libavfilter/libmpcodecs/mp_image.o
In file included from libavfilter/libmpcodecs/mp_image.c:32:
libavfilter/libmpcodecs/libvo/fastmemcpy.h: In function 'mem2agpcpy_pic':
libavfilter/libmpcodecs/libvo/fastmemcpy.h:42: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h:54: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h: In function 'memcpy_pic2':
libavfilter/libmpcodecs/libvo/fastmemcpy.h:79: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h:91: warning: cast discards 
qualifiers from pointer target type
CC  libavfilter/libmpcodecs/pullup.o
CC  libavfilter/libmpcodecs/vf_2xsai.o
CC  libavfilter/libmpcodecs/vf_blackframe.o
CC  libavfilter/libmpcodecs/vf_boxblur.o
CC  libavfilter/libmpcodecs/vf_cropdetect.o
CC  libavfilter/libmpcodecs/vf_decimate.o
In file included from libavfilter/libmpcodecs/vf_decimate.c:31:
libavfilter/libmpcodecs/libvo/fastmemcpy.h: In function 'mem2agpcpy_pic':
libavfilter/libmpcodecs/libvo/fastmemcpy.h:42: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h:54: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h: In function 'memcpy_pic2':
libavfilter/libmpcodecs/libvo/fastmemcpy.h:79: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h:91: warning: cast discards 
qualifiers from pointer target type
CC  libavfilter/libmpcodecs/vf_delogo.o
In file included from libavfilter/libmpcodecs/vf_delogo.c:34:
libavfilter/libmpcodecs/libvo/fastmemcpy.h: In function 'mem2agpcpy_pic':
libavfilter/libmpcodecs/libvo/fastmemcpy.h:42: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h:54: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h: In function 'memcpy_pic2':
libavfilter/libmpcodecs/libvo/fastmemcpy.h:79: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h:91: warning: cast discards 
qualifiers from pointer target type
CC  libavfilter/libmpcodecs/vf_denoise3d.o
CC  libavfilter/libmpcodecs/vf_detc.o
In file included from libavfilter/libmpcodecs/vf_detc.c:31:
libavfilter/libmpcodecs/libvo/fastmemcpy.h: In function 'mem2agpcpy_pic':
libavfilter/libmpcodecs/libvo/fastmemcpy.h:42: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h:54: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h: In function 'memcpy_pic2':
libavfilter/libmpcodecs/libvo/fastmemcpy.h:79: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/libvo/fastmemcpy.h:91: warning: cast discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/vf_detc.c: At top level:
libavfilter/libmpcodecs/vf_detc.c:390: warning: initialization discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/vf_detc.c:391: warning: initialization discards 
qualifiers from pointer target type
libavfilter/libmpcodecs/vf_detc.c: In function 'parse_args':
libavfilter/libmpcodecs/vf_detc.c:416: error: implicit declaration of function 
'strdup'
libavfilter/libmpcodecs/vf_detc.c:416: warning: assignment makes pointer from 
integer without a cast
make: *** [libavfilter/libmpcodecs/vf_detc.o] Error 1

---------------------------------SNIP END ------------------------

What version of the product are you using? On what operating system?
0.6rc3 windows xp + latest mingw and ubuntu 9.04

How do you compile a working windows version?
regards
Udo Sauer

Original issue reported on code.google.com by [email protected] on 9 Mar 2011 at 4:35

Windows: Cannot find preset directory

ffmpeg.exe -vcodec libx264 -vpre <anything> fails to find the presets no matter 
if $FFMPEG_DATADIR is set or if an explicit path is provided. 

This occurs with ffmbc v0.3 for windows, it was a zip file previously available 
on this page.

The docs suggest creating a .ffmpeg directory in the user's home directory, 
however that is not feasible as I am calling ffmpeg.exe from a background 
service.


Original issue reported on code.google.com by [email protected] on 6 Aug 2010 at 3:09

Support FFV1 in MXF

I was attempting to remux an FFV1 video stream into MXF, but it appears that 
this is not supported. ffmbc 0.6 rc2 provides the error

[mxf @ 0x101001200] track 0: could not find essence container ul, codec not 
currently supported in container

Would adding FFV1 support to ffmbc be a possibility?

Original issue reported on code.google.com by [email protected] on 3 Mar 2011 at 5:47

Impossible to encode from an avisynth script

What steps will reproduce the problem?
1. Create a simple avisynth (.avs) script
2. Try to encode from this script using ffmbc

What is the expected output? What do you see instead?
A proper encoded file, the result is actually an empty file containing only 
the header of the output format.

What version of the product are you using? On what operating system?
FFmpeg version FFmbc-0.3 on Windows XP

Original issue reported on code.google.com by [email protected] on 24 Mar 2010 at 5:30

FFmbc should check mpeg-2 essence D-10 compliance when muxing as D-10

To create a valid IMX D-10 files, from a generic MPEG2 Transport Stream, FFmbc 
can 
simply re-wrap rather than transcode the source file.

However, an IMX D-10 file requires "zig-zag" rather than "alternate" scan 
method for run-
length coding of the quantized DCT coefficients. This is set by a bit in the 
picture layer 
header. Many interlaced MPEG2 Transport Stream files use "alternate" scanning 
to 
improve compression.

Currently FFmbc does not check the scanning bit and creates what appears to be 
a valid 
IMX D-10 file. On testing, this file does not work as expected in QuickTime or 
Final Cut 
Pro, due to non-compatible scan method.

Proposal for IMX D-10 file creation is:

1. FFmbc to detect scan method used on input file
2. FFmbc to warn user if "alternate" scan method used in input file
3. User chooses to continue or abort
4. If user continues, file is transcoded using FFmbc, rather than re-wrapped, 
to create valid 
IMX D-10 file with zig-zan scan method.

Original issue reported on code.google.com by [email protected] on 12 Nov 2009 at 11:40

setting -s has no effect on the destination

When converting a video file, the destination video always inherits the frame 
size of the source, even when specifying a different size with -s. This is also 
reflected in the command line output. 

This happens with 0.6rc2 and 0.6rc3 and doesn't seem to be specific to the 
input file used. 

Here is a sample command line invocation:

$ ffmbc -v 3 -i in.mp4 -s 768x576 out.mp4
FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 14 2011 12:16:33 with gcc 4.4.3
  configuration: --enable-gpl --enable-nonfree --enable-version3 --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-libdc1394 --enable-libgsm --enable-pthreads --enable-shared
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mp4':
  Metadata:
    major_brand: mp42
    minor_version: 0
    compatible_brands: isomiso2avc1mp41
    creation_time: 2011-03-14 10:00:42
    encoder: FFmbc 0.6
  Duration: 00:00:30.01, start: 0.000000, bitrate: 1594 kb/s
    Stream #0.0(und): Video: h264 (High), yuv420p, 720x576p [PAR 16:15 DAR 4:3], 1485 kb/s, 25.00 fps
    Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 105 kb/s
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder: FFmbc 0.6
    Stream #0.0(und): Video: mpeg4, yuv420p, 720x576p [PAR 16:15 DAR 4:3], 200 kb/s, 25.00 fps
    Stream #0.1(und): Audio: libfaac, 48000 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
replacing header in front, copying  2.13MB                                      

frame=  749 fps=146 q=31.0 Lsize=    2203kB time=00:00:29.96 bitrate= 
602.3kbits/s                 
video:2007kB audio:178kB global headers:0kB muxing overhead 0.835919%

Original issue reported on code.google.com by [email protected] on 14 Mar 2011 at 11:36

FFmbc will not link with --disable-avfilter

Since FFmpeg requires --disable-avfilter as a work-around to known bugs in 
avfilter outputting to multiple files at the same time (encoding broadcast and 
proxy from the same piped input, for instance) - to quote Stefano Sabatini on 
09/02/11 15:55 GMT, I'm assuming that FFmbc will also require 
--disable-avfilter to work around the same issues.

FFmbc does not link when made with a configure command including 
--disable-avfilter:

./configure --cpu=i686 --extra-cflags='-L/usr/local/include' 
--extra-libs='-L/usr/local/lib' --prefix=/usr/local --enable-ffplay 
--enable-ffprobe --enable-ffserver --enable-gpl --enable-nonfree 
--enable-pthreads --enable-x11grab --enable-libxvid --enable-libvorbis 
--enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libfaac 
--enable-libgsm --enable-libdirac --enable-libmp3lame --enable-libx264 
--enable-libschroedinger --enable-libvpx --disable-avfilter
...
make
...
LD      ffmbc_g
ffmbc.o: In function `output_query_formats':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:366: undefined reference to 
`avfilter_make_format_list'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:366: undefined reference to 
`avfilter_set_common_formats'
ffmbc.o: In function `ffmpeg_exit':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:627: undefined reference to 
`avfilter_uninit'
ffmbc.o: In function `output_packet':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:1734: undefined reference to 
`av_vsrc_buffer_add_frame'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:1762: undefined reference to 
`avfilter_poll_frame'
ffmbc.o: In function `get_filtered_video_pic':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:376: undefined reference to 
`avfilter_request_frame'
ffmbc.o: In function `output_packet':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:1906: undefined reference to 
`avfilter_poll_frame'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:1908: undefined reference to 
`avfilter_unref_buffer'
ffmbc.o: In function `configure_filters':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:421: undefined reference to 
`avfilter_get_by_name'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:421: undefined reference to 
`avfilter_open'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:423: undefined reference to 
`avfilter_open'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:428: undefined reference to 
`avfilter_init_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:430: undefined reference to 
`avfilter_init_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:434: undefined reference to 
`avfilter_graph_add_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:435: undefined reference to 
`avfilter_graph_add_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:444: undefined reference to 
`avfilter_get_by_name'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:444: undefined reference to 
`avfilter_open'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:446: undefined reference to 
`avfilter_init_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:448: undefined reference to 
`avfilter_link'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:451: undefined reference to 
`avfilter_graph_add_filter'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:471: undefined reference to 
`avfilter_graph_parse'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:480: undefined reference to 
`avfilter_graph_check_validity'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:482: undefined reference to 
`avfilter_graph_config_formats'
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:484: undefined reference to 
`avfilter_graph_config_links'
ffmbc.o: In function `transcode':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:2855: undefined reference to 
`avfilter_graph_destroy'
ffmbc.o: In function `configure_filters':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:475: undefined reference to 
`avfilter_link'
ffmbc.o: In function `main':
/home/himslm01/src/ffmbc/FFmbc-0.5/ffmbc.c:4626: undefined reference to 
`avfilter_register_all'
collect2: ld returned 1 exit status
make: *** [ffmbc_g] Error 1

Original issue reported on code.google.com by [email protected] on 9 Feb 2011 at 5:11

Audio tracks merge

Hi
I've downloaded the windows version and after looking through every \doc\ html 
file and also scouring the web I can't find any information on how to actually 
use ffmbc to merge audio tracks even though it is one of the great features 
listed.  I wonder if it may be because the ffmbc-doc.html file included in the 
windows download is for FFmpeg?  Can anyonme advise on what syntax is needed to 
merge audio tracks in a MP4 file?

Many thanks
Adam

Original issue reported on code.google.com by adam%[email protected] on 25 Mar 2011 at 6:33

Multiple File Output error

What steps will reproduce the problem?
1. Take source input(s), render out 2 output files, one 320x240 the other 80x60.

What is the expected output? What do you see instead?

1. In ffmpeg (ffmbc), rendering out two output files simultaneously, one 
320x240, the other 80x60.

2. Normally (non-ffmbc build), each file comes out at the desired size.

3. With ffmbc ffmpeg, if I specify the larger 320x240 file first, the smaller 
80x60 output file only contains the 1st quadrant of the 320x240 output file. If 
I specify the smaller 80x60 output file, the larger 320x240 contains 4 80x60 
full frames in one 320x240 frame (see attached.)


What version of the product are you using? On what operating system?
FFmpeg version FFmbc-0.4-rc1, Linux 2.6.32-21-server #32-Ubuntu SMP x86_64 
GNU/Linux


Please provide any additional information below:

- Full commandline run and everything the program printed without
the repeating parts.

pw@pw-t2-elves:~$ /usr/local/bin/ffmpeg -f mjpeg -r 29.97 -s 288x244 -i 
/Volumes/loadingdock_tc1/.GR10619AV01.4C2597C8.AE3EE0.mxf -f s16le -acodec 
pcm_s16le -ar 48000 -i 
/Volumes/loadingdock_tc1/.GR10619AA01.4C2597C8.AE3ED0.mxf -f s16le -acodec 
pcm_s16le -ar 48000 -i 
/Volumes/loadingdock_tc1/.GR10619AA02.4C2597C8.AE3EC0.mxf -f s16le -acodec 
pcm_s16le -ar 48000 -i 
/Volumes/loadingdock_tc1/.GR10619AA03.4C2597C8.AE3EB0.mxf -f s16le -acodec 
pcm_s16le -ar 48000 -i 
/Volumes/loadingdock_tc1/.GR10619AA04.4C2597C8.AE3EA0.mxf -map 0:0 -map 1:0 
-map 2:0 -map 3:0 -map 4:0 -b 200k -maxrate 200k -s 80x60 -vcodec libx264 -vpre 
ultrafast_firstpass -acodec libfaac -y -threads 0 -timecode 16:47:40:18 
/Volumes/PilotWare_DV_Hangar/GR1_MEDIA/FTP/GR10619A10/GR10619A10-1test3.mov 
-newaudio -newaudio -newaudio -map 0:0 -map 1:0 -map 2:0 -map 3:0 -map 4:0 -b 
800k -s 320x240 -vcodec libx264 -vpre ultrafast_firstpass -acodec libfaac -y 
-threads 0 -timecode 16:47:40:18 
/Volumes/PilotWare_DV_Hangar/GR1_MEDIA/LOCAL/GR10619A10/GR10619A10-1test3.mov 
-newaudio -newaudio -newaudio
FFmpeg version FFmbc-0.4-rc1, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jun  3 2010 12:42:08 with gcc 4.4.3
  configuration: --enable-pthreads --enable-libvorbis --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-nonfree --enable-gpl --enable-libx264 --enable-runtime-cpudetect --enable-libgsm --enable-libxvid --enable-libtheora --disable-mmx --extra-cflags=-m64 --enable-pic --enable-shared --disable-static
  libavutil     50.14. 0 / 50.14. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.60. 0 / 52.60. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.18. 0 /  1.18. 0
  libswscale     0.10. 0 /  0.10. 0
[mjpeg @ 0x1ac7420]Estimating duration from bitrate, this may be inaccurate
Input #0, mjpeg, from 
'/Volumes/loadingdock_tc1/.GR10619AV01.4C2597C8.AE3EE0.mxf':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0(und): Video: mjpeg, yuvj422p, 288x248, tbc 100/2997, fps 29.970
[s16le @ 0x1ada940]Estimating duration from bitrate, this may be inaccurate
Input #1, s16le, from 
'/Volumes/loadingdock_tc1/.GR10619AA01.4C2597C8.AE3ED0.mxf':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #1.0(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[s16le @ 0x1ae49c0]Estimating duration from bitrate, this may be inaccurate
Input #2, s16le, from 
'/Volumes/loadingdock_tc1/.GR10619AA02.4C2597C8.AE3EC0.mxf':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #2.0(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[s16le @ 0x1aeea40]Estimating duration from bitrate, this may be inaccurate
Input #3, s16le, from 
'/Volumes/loadingdock_tc1/.GR10619AA03.4C2597C8.AE3EB0.mxf':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #3.0(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[s16le @ 0x1af8ac0]Estimating duration from bitrate, this may be inaccurate
Input #4, s16le, from 
'/Volumes/loadingdock_tc1/.GR10619AA04.4C2597C8.AE3EA0.mxf':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #4.0(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
[scale @ 0x1b48fb0]fmt:yuvj422p 288x248 -> fmt:yuv420p 80x60
[scale @ 0x1b55370]fmt:yuvj422p 288x248 -> fmt:yuv420p 320x240
[libx264 @ 0x1b03f40]VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0x1b03f40]using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle 
SSE4.1 Cache64
[libx264 @ 0x1b03f40]profile Baseline, level 1.3
[libx264 @ 0x1b03f40]x264 - core 85 Ubuntu_2:0.85.1448+git1a6d32-4 - 
H.264/MPEG-4 AVC codec - Copyleft 2003-2009 - http://www.videolan.org/x264.html 
- options: cabac=0 ref=1 deblock=0:0:0 analyse=0x1:0 me=dia subme=0 psy=1 
psy_rd=0.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 
deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=64 sliced_threads=0 nr=0 
decimate=1 mbaff=0 constrained_intra=0 bframes=0 wpredp=0 keyint=250 
keyint_min=25 scenecut=0 intra_refresh=0 rc=abr mbtree=0 bitrate=200 
ratetol=20.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=0
[libx264 @ 0x1b26880]VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0x1b26880]using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle 
SSE4.1 Cache64
[libx264 @ 0x1b26880]profile Baseline, level 2.0
[libx264 @ 0x1b26880]x264 - core 85 Ubuntu_2:0.85.1448+git1a6d32-4 - 
H.264/MPEG-4 AVC codec - Copyleft 2003-2009 - http://www.videolan.org/x264.html 
- options: cabac=0 ref=1 deblock=0:0:0 analyse=0x1:0 me=dia subme=0 psy=1 
psy_rd=0.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 
deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=64 sliced_threads=0 nr=0 
decimate=1 mbaff=0 constrained_intra=0 bframes=0 wpredp=0 keyint=250 
keyint_min=25 scenecut=0 intra_refresh=0 rc=abr mbtree=0 bitrate=800 
ratetol=5.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=0
Output #0, mov, to 
'/Volumes/PilotWare_DV_Hangar/GR1_MEDIA/FTP/GR10619A10/GR10619A10-1test3.mov':
  Metadata:
    encoder: FFmbc 0.4
    Stream #0.0(und): Video: libx264, yuv420p, 80x60, tbc 1001/30000, q=10-51, 200 kb/s
    Stream #0.1(und): Audio: aac, 48000 Hz, 1 channels, s16, 64 kb/s
    Stream #0.2(und): Audio: aac, 48000 Hz, 1 channels, s16, 64 kb/s
    Stream #0.3(und): Audio: aac, 48000 Hz, 1 channels, s16, 64 kb/s
    Stream #0.4(und): Audio: aac, 48000 Hz, 1 channels, s16, 64 kb/s
Output #1, mov, to 
'/Volumes/PilotWare_DV_Hangar/GR1_MEDIA/LOCAL/GR10619A10/GR10619A10-1test3.mov':
  Metadata:
    encoder: FFmbc 0.4
    Stream #1.0(und): Video: libx264, yuv420p, 320x240, tbc 1001/30000, q=10-51, 800 kb/s
    Stream #1.1(und): Audio: aac, 48000 Hz, 1 channels, s16, 64 kb/s
    Stream #1.2(und): Audio: aac, 48000 Hz, 1 channels, s16, 64 kb/s
    Stream #1.3(und): Audio: aac, 48000 Hz, 1 channels, s16, 64 kb/s
    Stream #1.4(und): Audio: aac, 48000 Hz, 1 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1
  Stream #2.0 -> #0.2
  Stream #3.0 -> #0.3
  Stream #4.0 -> #0.4
  Stream #0.0 -> #1.0
  Stream #1.0 -> #1.1
  Stream #2.0 -> #1.2
  Stream #3.0 -> #1.3
  Stream #4.0 -> #1.4
Press [q] to stop encoding
frame= 1685 fps= 53 q=12.0 Lq=24.0 size=    3274kB time=56.22 bitrate= 
477.0kbits/s    
video:7255kB audio:3580kB global headers:0kB muxing overhead -69.786495%
[libx264 @ 0x1b03f40]frame I:7     Avg QP:10.29  size:  1743
[libx264 @ 0x1b03f40]frame P:1678  Avg QP:11.85  size:   837
[libx264 @ 0x1b03f40]mb I  I16..4:  7.1%  0.0% 92.9%
[libx264 @ 0x1b03f40]mb P  I16..4: 16.2%  0.0%  0.0%  P16..4: 80.8%  0.0%  0.0% 
 0.0%  0.0%    skip: 3.0%
[libx264 @ 0x1b03f40]final ratefactor: 16.42
[libx264 @ 0x1b03f40]coded y,uvDC,uvAC intra: 72.1% 84.7% 70.6% inter: 75.1% 
71.7% 47.8%
[libx264 @ 0x1b03f40]i16 v,h,dc,p: 66% 19%  8%  7%
[libx264 @ 0x1b03f40]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 31% 11%  4%  4%  3%  4% 
 3%  6%
[libx264 @ 0x1b03f40]kb/s:201.69
[libx264 @ 0x1b26880]frame I:7     Avg QP:22.86  size: 14553
[libx264 @ 0x1b26880]frame P:1678  Avg QP:25.55  size:  3522
[libx264 @ 0x1b26880]mb I  I16..4: 19.2%  0.0% 80.8%
[libx264 @ 0x1b26880]mb P  I16..4:  4.5%  0.0%  0.0%  P16..4: 65.4%  0.0%  0.0% 
 0.0%  0.0%    skip:30.1%
[libx264 @ 0x1b26880]final ratefactor: 25.03
[libx264 @ 0x1b26880]coded y,uvDC,uvAC intra: 55.1% 48.9% 30.9% inter: 42.4% 
15.7% 4.5%
[libx264 @ 0x1b26880]i16 v,h,dc,p: 70% 19%  8%  4%
[libx264 @ 0x1b26880]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 23% 13%  7%  6%  6%  6% 
 6%  8%
[libx264 @ 0x1b26880]kb/s:855.31




Original issue reported on code.google.com by [email protected] on 28 Jun 2010 at 6:52

Attachments:

TC in MOV container on a i386 DEBIAN Testing

What steps will reproduce the problem?
1.Compile FFMBC 0.6 RC 3 on a i386 Debian
2.Configure line is :
/configure --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-gpl 
--enable-libfaac --enable-libtheora --enable-zlib --disable-shared 
--enable-libx264 --enable-libdirac --enable-nonfree --enable-version3 
--enable-libschroedinger --enable-avfilter --enable-libspeex 
--enable-libopenjpeg --enable-libgsm --enable-postproc --enable-pthreads 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-ffplay 
--enable-pthreads --prefix=/usr/local --enable-x11grab 
--enable-runtime-cpudetect --enable-bzlib --enable-libdc1394 --enable-libvpx

3. Try to genarate a mov container with TC

What is the expected output? What do you see instead?
following error 
'[mov @ 0x96690e0] error, drop frame is only allowed with 30000/1001 or 
60000/1001 fps' is raised on the debian while same file and command line work 
perfectly on the same ffmbc version compiled on an AMD64 Ubuntu 10.10 box.

What version of the product are you using? On what operating system?

FFMBC RC 3 on I386 Debian testing (production) and on AMD64 Ubuntu 10.10 
(workstation)

Please provide any additional information below:

- Full commandline run (with -v 3) and everything the program printed
without

ffmbc -i inputFile.mp4 -v 3 -t 10 -target xdcamhd422 -vtag xd5e -threads 2 
-timecode '00:00:00:00' -f mov XDCAMHD.mov

FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 15 2011 12:32:34 with gcc 4.4.5
  configuration: --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-gpl --enable-libfaac --enable-libtheora --enable-zlib --disable-shared --enable-libx264 --enable-libdirac --enable-nonfree --enable-version3 --enable-libschroedinger --enable-avfilter --enable-libspeex --enable-libopenjpeg --enable-libgsm --enable-postproc --enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-ffplay --enable-pthreads --prefix=/usr/local --enable-x11grab --enable-runtime-cpudetect --enable-bzlib --enable-libdc1394 --enable-libvpx
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'inputFile.mp4':
  Metadata:
    major_brand: mp42
    minor_version: 0
    compatible_brands: isommp42
    creation_time: 2011-03-11 14:56:10
  Duration: 00:47:57.20, start: 0.000000, bitrate: 4004 kb/s
    Stream #0.0(eng): Audio: aac, 48000 Hz, stereo, s16, 188 kb/s
    Stream #0.1(eng): Video: h264 (High), yuv420p, 1920x1080p [PAR 1:1 DAR 16:9], 3811 kb/s, 25.00 fps
Assuming PAL for target.
File 'XDCAMHD.mov' already exists. Overwrite ? [y/N] y
[ffsink @ 0x9667a30] auto-inserting filter 'auto-inserted scaler 0' between the 
filter 'src' and the filter 'out'
[scale @ 0x966e6d0] w:1920 h:1080 fmt:yuv420p -> w:1920 h:1080 fmt:yuv422p 
flags:0x1004 interlaced:0
[swscaler @ 0x96811c0] BICUBIC scaler, from yuv420p to yuv422p using C
Warning, QMAT_SHIFT is larger than 21, overflows possible
    Last message repeated 1 times
[mov @ 0x96690e0] error, drop frame is only allowed with 30000/1001 or 
60000/1001 fps
Could not write header for output file #0

Original issue reported on code.google.com by [email protected] on 15 Mar 2011 at 12:11

AVC-Intra in QT-Container with wrong framerate

I got an .mov-file with AVC-Intra 100 codec. When trying to rewarp it to .mxf 
ffmbc-0.5 fails with trying to write a framerate of 2500/1 instead of 25/1 to 
the mxf header.



E:\FFmbc-0.5-win32\bin>ffmbc.exe -i e:\Entweder_Broder_Folge_3-AVC-Intra.mov 
-vcodec copy -acodec copy -y d:\test.mxf
FFmpeg version FFmbc-0.5, Copyright (c) 2000-2010 the FFmpeg developers
  built on Nov 22 2010 01:04:07 with gcc 4.4.2
  configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-pthreads --enable-libvorbis --enable-libtheora --enable-lib
speex --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger 
--enable-libopencore_amrwb --enable-libopencore_amrnb --enab
le-libvpx --disable-decoder=libvpx --arch=x86 --enable-runtime-cpudetect 
--enable-libxvid --enable-libx264 --extra-libs='-lx264 -lpt
hread' --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' 
--target-os=mingw32 --enable-avisynth --cross-prefix=i686-
mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign-hack
  libavutil     50.31. 0 / 50.31. 0
  libavcore      0. 9. 0 /  0. 9. 0
  libavcodec    52.91. 1 / 52.91. 1
  libavformat   52.78. 5 / 52.78. 5
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.47. 1 /  1.47. 1
  libswscale     0.12. 0 /  0.12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'e:\Entweder_Broder_Folge_3-AVC-Intra.mov':
  Metadata:
    major_brand: qt
    minor_version: 537199360
    compatible_brands: qt
  Duration: 00:28:27.12, start: 0.000000, bitrate: 119810 kb/s
    Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0.2(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0.3(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0.4(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0.5(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0.6(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0.7(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0.8(eng): Data: tmcd / 0x64636D74
    Stream #0.9(eng): Video: AVC-Intra 100M 1080i50, 1920x1080i tff, tbc N/A, 113664 kb/s, PAR 1:1 DAR 16:9, fps 25.000
[mxf @ 01cab230] unsupported video frame rate 2500/1
Could not write header for output file #0

Original issue reported on code.google.com by [email protected] on 29 Nov 2010 at 1:15

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.