jslhs / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

Support for multiple fourcc in .mov files #85

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
== What steps will reproduce the problem? ==

1. Install ffmbc version 0.7 rc5, through Homebrew on OS X 10.6.8
2. Encode a DNxHD file wrapped in a MOV container

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

The file does not encode fully, but stops in between.

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

aeneas:sami werner$ ffmbc -v 3 -i 01-sami-ep01-var01-de.mov ~/Desktop/out.mov
FFmbc version 0.7-rc5
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10182ea00] multiple fourcc not supported
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '01-sami-ep01-var01-de.mov':
  Metadata:
    major_brand: qt  
    minor_version: 537199360
    compatible_brands: qt  
    creation_time: 2010-07-20 08:41:46
    timecode: 01:00:00:00
  Duration: 00:03:09.20, start: 0.000000, bitrate: 1020724 kb/s
    Stream #0.0(eng): Video: dnxhd, yuv422p, 1920x1080p, 1019185 kb/s, 25.00 fps
    Metadata:
      codec_name: Avid DNxHD Codec
    Stream #0.1(eng): Audio: pcm_s16be, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream #0.2(eng): Data: unknown (tmcd)
File '/Users/cacmtv/Desktop/out.mov' already exists. Overwrite ? [y/N] y
Incompatible pixel format 'yuv422p' for codec 'mpeg4', auto-selecting format 
'yuv420p'
[scale @ 0x10150ed00] w:1920 h:1080 fmt:yuv422p -> w:1920 h:1080 fmt:yuv420p 
flags:0x4
Output #0, mov, to '/Users/cacmtv/Desktop/out.mov':
  Metadata:
    encoder: FFmbc 0.7
    Stream #0.0(und): Video: mpeg4, yuv420p, 1920x1080p [PAR 1:1 DAR 16:9], 200 kb/s, 25.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, [?] for help
frame=   10 fps=  2 q=2.0 size=      31kB time=00:00:00.40 bitrate= 
638.1kbits/s eta=00:31:53.26    
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10182ea00] stream 0, offset 0x599c4a630: partial 
file
[mov @ 0x10182fc00] replacing header in front, copying  1.08MB                  

frame=   10 fps=  2 q=2.0 Lsize=    1173kB time=00:00:00.40 
bitrate=24030.8kbits/s    
video:31kB audio:1073kB global headers:0kB muxing overhead 6.262431%

- Upload your sample somewhere and supply url

Result file:
http://dl.dropbox.com/u/24074822/dnxhd/ffmbc-out.mov

Can't provide the full source, as it's ~25 GB and maybe copyright restricted. 
Get back to me if you need it anyhow.

Original issue reported on code.google.com by werner.robitza on 7 Feb 2012 at 11:13

GoogleCodeExporter commented 8 years ago
It's a know problem:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10182ea00] multiple fourcc not supported

Original comment by baptiste...@gmail.com on 7 Feb 2012 at 6:42

GoogleCodeExporter commented 8 years ago
Would it make sense to file a bug report in FFmpeg too? What can I include in 
this report?

Original comment by werner.robitza on 8 Feb 2012 at 8:34

GoogleCodeExporter commented 8 years ago
This has already been reported in ffmpeg a long time ago

Original comment by baptiste...@gmail.com on 8 Feb 2012 at 10:42

GoogleCodeExporter commented 8 years ago
Should be fixed in rc8

Original comment by baptiste...@gmail.com on 14 Mar 2013 at 9:00

GoogleCodeExporter commented 8 years ago
Hi, I ran into these issues using ffmbc rc8. The file uses both apcn and ap4h 
and is an export from a Final Cut edit. I posted a shareable sample to 
http://dericed.com/samples/INSO05034_apcn_and_ap4h.mov

Here is my output of the same command as above with my sample and rc8:

ffmbc -v 3 -i INSO05034_apcn_and_ap4h.mov -y out.mov
FFmbc version 0.7-rc8
Copyright (c) 2008-2013 Baptiste Coudurier and the FFmpeg developers
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff2f3807600] multiple fourcc not supported
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'INSO05034_apcn_and_ap4h.mov':
  Metadata:
    major_brand: qt  
    minor_version: 537199360
    compatible_brands: qt  
    com.apple.finalcutstudio.media.uuid: 2175E428-7080-45B0-BAB0-DD20D5518516
    timecode: 01:11:10;00
  Duration: 00:00:10.04, bitrate: 293227 kb/s
    Stream #0.0(eng): Video: prores, yuv422p10le, 1920x1080i tff, 290858 kb/s, PAR 1:1 DAR 16:9, 29.97 fps
    Metadata:
      codec_name: Apple ProRes 422
    Stream #0.1(eng): Audio: pcm_s24le, 48000 Hz, 2 channels, s32, 2304 kb/s
    Stream #0.2(eng): Data: unknown (tmcd)
Incompatible pixel format 'yuv422p10le' for codec 'mpeg4', auto-selecting 
format 'yuv420p'
[scale @ 0x7ff2f3403540] w:1920 h:1080 fmt:yuv422p10le -> w:1920 h:1080 
fmt:yuv420p flags:0x4 il:0
Incompatible sample format 's32' for codec 'libfaac', auto-selecting format 
's16'
Output #0, mov, to 'out.mov':
  Metadata:
    encoder: FFmbc 0.7
    Stream #0.0(und): Video: mpeg4, yuv420p, 1920x1080p [PAR 1:1 DAR 16:9], 200 kb/s, 29.97 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, [?] for help
frame=   63 fps= 20 q=31.0 size=     916kB time=00:00:02.10 
bitrate=3571.0kbits/s eta=00:00:11.91 
[mov @ 0x7ff2f3801800] replacing header in front, copying  0.94MB
frame=   63 fps=  7 q=31.0 Lsize=     966kB time=00:00:02.10 
bitrate=3765.9kbits/s                
video:905kB audio:56kB global headers:0kB muxing overhead 0.474477%

The resulting file is only 2 second long as encoding stops when it switches 
from apcn to ap4h.

Original comment by deri...@gmail.com on 22 May 2013 at 4:23

GoogleCodeExporter commented 8 years ago
I tried with rc8 with above sample and it happens to me too. 
Similar thing (i don't know if it's connected to the same problem) happens when 
you have a quicktime reference from multiple different sources. The output file 
is shorter than the source. 

/Users/samek/Downloads/FFmbc-0.7-rc8/ffmbc -v 3 -i test_samo2305.mov 
/tmp/out.mov
FFmbc version 0.7-rc8
Copyright (c) 2008-2013 Baptiste Coudurier and the FFmpeg developers
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd0f280a800] multiple fourcc not supported
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd0f280a800] trying dref _V0147992F90.mxf
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd0f280a800] trying dref M_24urHD_V01DE80757F.mxf
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd0f280a800] trying dref intro.avi.v14ca1eaee.mxf
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd0f280a800] multiple edit list entries, a/v 
desync might occur, patch welcome
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_samo2305.mov':
  Metadata:
    major_brand: qt  
    minor_version: 537199360
    compatible_brands: qt  
    comment(eng): Source ID = 060a2b340101010101010f00-13-00-00-00-{519dc7bf-9636-
    timecode: 01:00:00:00
  Duration: 00:00:55.76, bitrate: 3 kb/s
    Stream #0.0(eng): Audio: pcm_s16be, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream #0.1(eng): Video: dvvideo, yuv411p, 720x576i bff [PAR 16:15 DAR 4:3], 31504 kb/s, PAR 64:45 DAR 16:9, 25.00 fps
    Metadata:
      codec_name: DV411 PAL Codec
    Stream #0.2(eng): Data: unknown (tmcd)
File '/tmp/out.mov' already exists. Overwrite ? [y/N] y
Incompatible pixel format 'yuv411p' for codec 'mpeg4', auto-selecting format 
'yuv420p'
[scale @ 0x7fd0f2406260] w:720 h:576 fmt:yuv411p -> w:720 h:576 fmt:yuv420p 
flags:0x4 il:0
Output #0, mov, to '/tmp/out.mov':
  Metadata:
    encoder: FFmbc 0.7
    Stream #0.0(und): Video: mpeg4, yuv420p, 720x576p [PAR 64:45 DAR 16:9], 200 kb/s, 25.00 fps
    Stream #0.1(und): Audio: libfaac, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
Press [q] to stop, [?] for help
    Last message repeated 1 times   1648kB time=00:00:26.92 bitrate= 501.4kbits/s eta=00:00:00.00
    Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd0f280a800] stream 1, offset 0x80000: partial 
file
[mov @ 0x7fd0f2804400] replacing header in front, copying  1.75MB
frame=  673 fps= 84 q=31.0 Lsize=    1811kB time=00:00:26.92 bitrate= 
551.2kbits/s               
video:1441kB audio:349kB global headers:0kB muxing overhead 1.176446%

------------- OUTPUT FILE has a duration of 26 sec while the input had 55.76 
----------------------
/Users/samek/Downloads/FFmbc-0.7-rc8/ffprobe -i /tmp/out.mov 
ffprobe version 0.7-rc8
Copyright (c) 2007-2013 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/out.mov':
  Metadata:
    major_brand: qt  
    minor_version: 0
    compatible_brands: qt  
    encoder: FFmbc 0.7
  Duration: 00:00:26.92, bitrate: 551 kb/s
    Stream #0.0(eng): Video: mpeg4 (Simple Profile), yuv420p, 720x576p [PAR 64:45 DAR 16:9], 438 kb/s, 25.00 fps
    Metadata:
      codec_name: mpeg4
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 55 kb/s 

Original comment by samo.gab...@gmail.com on 23 May 2013 at 10:55