jslhs / ffmbc

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

-target dvcprohd generates DVCPro50 output #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
[Didn't there use to be a forum for questions on this site?]

What steps will reproduce the problem?
1.
See command line below

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

I expected to get a DVCPro100 output file, but when I run mediainfo on the 
output file, it says
Format                           : DV
Format_Commercial_IfAny          : DVCPRO 50

instead of
Format                           : DV
Format_Commercial_IfAny          : DVCPRO HD

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

FFmbc version 0.7-rc4
Ubuntu 10.04 LTS

Please provide any additional information below:

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

~/Downloads/FFmbc-0.7-rc4/ffmbc -v 3 -t 2 -y -ss 60 -i 
elephants_dream_1080p24.y4m -ss 60 -i ED-CM-5.1-DVD-C.flac -ss 60 -i 
ED-CM-5.1-DVD-L.flac -ss 60 -i ED-CM-5.1-DVD-R.flac -ss 60 -i 
ED-CM-5.1-DVD-LS.flac -ss 60 -i ED-CM-5.1-DVD-RS.flac -ss 60 -i 
ED-CM-5.1-DVD-LFE.flac -r 29.97  -vf "crop=1280:1080" -target dvcprohd -acodec 
pcm_s16le DVCPro100_1080i60_4ch_16bit.mxf -map_audio_channel 1:0:0:0:1:0 
-map_audio_channel 2:0:0:0:1:1 -newaudio -map_audio_channel 3:0:0:0:2:0 
-map_audio_channel 4:0:0:0:2:1
FFmbc version 0.7-rc4
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
Input #0, yuv4mpegpipe, from 'elephants_dream_1080p24.y4m':
  Duration: 00:10:53.79, start: 0.000000, bitrate: 597197 kb/s
    Stream #0.0(und): Video: rawvideo, yuv420p, 1920x1080p, PAR 1:1 DAR 16:9, 24.00 fps
Input #1, flac, from 'ED-CM-5.1-DVD-C.flac':
  Duration: 00:10:58.08, start: 0.000000, bitrate: 629 kb/s
    Stream #1.0(und): Audio: flac, 48000 Hz, mono, s32
Input #2, flac, from 'ED-CM-5.1-DVD-L.flac':
  Duration: 00:10:58.08, start: 0.000000, bitrate: 711 kb/s
    Stream #2.0(und): Audio: flac, 48000 Hz, mono, s32
Input #3, flac, from 'ED-CM-5.1-DVD-R.flac':
  Duration: 00:10:58.08, start: 0.000000, bitrate: 708 kb/s
    Stream #3.0(und): Audio: flac, 48000 Hz, mono, s32
Input #4, flac, from 'ED-CM-5.1-DVD-LS.flac':
  Duration: 00:10:58.08, start: 0.000000, bitrate: 497 kb/s
    Stream #4.0(und): Audio: flac, 48000 Hz, mono, s32
Input #5, flac, from 'ED-CM-5.1-DVD-RS.flac':
  Duration: 00:10:58.08, start: 0.000000, bitrate: 490 kb/s
    Stream #5.0(und): Audio: flac, 48000 Hz, mono, s32
Input #6, flac, from 'ED-CM-5.1-DVD-LFE.flac':
  Duration: 00:10:58.08, start: 0.000000, bitrate: 159 kb/s
    Stream #6.0(und): Audio: flac, 48000 Hz, mono, s32
[scale @ 0x271b960] w:1920 h:1080 fmt:yuv420p -> w:1920 h:1080 fmt:yuv422p 
flags:0x4
[crop @ 0x26dbe80] w:1920 h:1080 -> w:1280 h:1080
Auto-rescaling to dvcprohd resolution
[scale @ 0x26dbcc0] w:1920 h:1080 fmt:yuv420p -> w:1920 h:1080 fmt:yuv422p 
flags:0x4
[crop @ 0x26dbe80] w:1920 h:1080 -> w:1280 h:1080
Incompatible sample format 's32' for codec 'pcm_s16le', auto-selecting format 
's16'
    Last message repeated 1 times
Output #0, mxf, to 'DVCPro100_1080i60_4ch_16bit.mxf':
  Metadata:
    encoder: FFmbc 0.7
    Stream #0.0(und): Video: dvvideo, yuv422p, 1280x1080p [PAR 1:1 DAR 32:27], 115084 kb/s, 29.97 fps
    Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream #0.2(und): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1 [channel: 0 -> 0]
  Stream #2.0 -> #0.1 [channel: 0 -> 1]
  Stream #3.0 -> #0.2 [channel: 0 -> 0]
  Stream #4.0 -> #0.2 [channel: 0 -> 1]
Press [q] to stop, [?] for help
*** 1 dup!
frame=    7 fps=  0 q=0.0 size=    3371kB time=00:00:00.23 
bitrate=118224.5kbits*** 1 dup!00:04.70 dup=1 drop=0    
*** 1 dup!
frame=   15 fps= 12 q=0.0 size=    7231kB time=00:00:00.50 
bitrate=118350.6kbits*** 1 dup!00:03.77 dup=3 drop=0    
frame=   21 fps= 12 q=0.0 size=   10126kB time=00:00:00.70 
bitrate=118382.1kbits*** 1 dup!00:03.30 dup=4 drop=0    
frame=   27 fps= 11 q=0.0 size=   13021kB time=00:00:00.90 
bitrate=118399.5kbits*** 1 dup!00:02.88 dup=5 drop=0    
frame=   33 fps= 12 q=0.0 size=   15916kB time=00:00:01.10 
bitrate=118410.7kbits*** 1 dup!00:02.34 dup=6 drop=0    
*** 1 dup!
frame=   40 fps= 12 q=0.0 size=   19293kB time=00:00:01.33 
bitrate=118419.4kbits*** 1 dup!00:01.73 dup=8 drop=0    
frame=   46 fps= 11 q=0.0 size=   22188kB time=00:00:01.53 
bitrate=118424.8kbits*** 1 dup!00:01.22 dup=9 drop=0    
frame=   52 fps= 11 q=0.0 size=   25083kB time=00:00:01.73 
bitrate=118428.9kbits*** 1 dup!00:00.69 dup=10 drop=0    
frame=   58 fps= 11 q=0.0 size=   27978kB time=00:00:01.93 
bitrate=118432.2kbits*** 1 dup!00:00.16 dup=11 drop=0    
frame=   61 fps= 11 q=0.0 Lsize=   29433kB time=00:00:02.01 
bitrate=119598.9kbits/s dup=12 drop=0    
video:28594kB audio:756kB global headers:0kB muxing overhead 0.282104%

- Upload your sample somewhere and supply url

Source files at http://media.xiph.org/video/derf/y4m/elephants_dream_1080p24.y4m
and http://media.xiph.org/ED/

Original issue reported on code.google.com by k...@vizrt.com on 22 Nov 2011 at 2:53

GoogleCodeExporter commented 8 years ago
I don't think so. I think mediainfo is wrong with NTSC

Original comment by baptiste...@gmail.com on 22 Nov 2011 at 11:33

GoogleCodeExporter commented 8 years ago
I confirm this is a bug from MediaInfo (the resulting file is definitely DVCPRO 
HD), I'll patch MediaInfo.

Jérôme, developper of MediaInfo

Original comment by jer...@mediaarea.net on 23 Nov 2011 at 2:46

GoogleCodeExporter commented 8 years ago
Cool, thanks! :-)

Original comment by k...@vizrt.com on 23 Nov 2011 at 3:09