hamedramzi / ffmbc

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

Some DVCPRO50 infos are badly read in MediaInfo #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello!

I use the following cmd line to generate a simple dvcpro50 file in a mov 
container :

./ffmbc.exe -i source.mov -target dvcpro50 -aspect 4:3 -an -f mov file.mov

The source is a mov uncompressed file, 1920x1080 interlaced.
File is resized to PAL resolution as expected and encoding seems right. Real 
bitrate is indeed dvcpro50 bitrate's.
The thing is MediaInfo doesn't give back the commercial name DVCPRO50 because, 
i think of a bad reading of the bitrate :

General
Complete name                            : file.mov
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt  
File size                                : 412 MiB
Duration                                 : 1mn 0s
Overall bit rate mode                    : Constant
Overall bit rate                         : 57.6 Mbps
Encoded date                             : UTC 2012-12-18 10:37:12
Tagged date                              : UTC 2012-12-18 10:37:12
Writing application                      : FFmbc 0.7

Video
ID                                       : 1
Format                                   : DV
Codec ID                                 : dv5p
Duration                                 : 1mn 0s
Bit rate mode                            : Constant
Bit rate                                 : 24.4 Mbps
Encoded bit rate                         : 28.8 Mbps
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 4:3
Original display aspect ratio            : 4:3
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Bottom Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 2.357
Stream size                              : 175 MiB (42%)
Encoded stream size                      : 412 MiB (100%)
Language                                 : English
Encoded date                             : UTC 2012-12-18 10:37:12
Tagged date                              : UTC 2012-12-18 10:37:12

It seems that bitrate is cut in half. Maybe just the header bitrate info is 
wrong ?

Original issue reported on code.google.com by sylvain....@gmail.com on 18 Dec 2012 at 10:45

GoogleCodeExporter commented 9 years ago
Forgot this :
FFmbc version : FFmbc-0.7rc7-win64
MediaInfo version : MediaInfo 0.7.61 (latest)

Original comment by sylvain....@gmail.com on 18 Dec 2012 at 10:52

GoogleCodeExporter commented 9 years ago
What does ffmbc -i <file> print ? I think mediainfo could be wrong here

Original comment by baptiste...@gmail.com on 21 Dec 2012 at 12:25

GoogleCodeExporter commented 9 years ago
Here is the output :
./ffmbc.exe -i dv50.mov
FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'dv50.mov':
  Metadata:
    major_brand: qt
    minor_version: 0
    compatible_brands: qt
    creation_time: 2012-12-18 10:37:12
    encoder: FFmbc 0.7
  Duration: 00:01:00.00, start: 0.000000, bitrate: 57600 kb/s
    Stream #0.0(eng): Video: dvvideo, yuv422p, 720x576i bff [PAR 16:15 DAR 4:3], 57600 kb/s, 25.00 fps
    Metadata:
      codec_name: dvvideo

Bitrate seems ok here. Was just wondering if, depending on where both programs 
read the info, there could be a difference.

Original comment by sylvain....@gmail.com on 21 Dec 2012 at 8:07

GoogleCodeExporter commented 9 years ago
Furthermore, if i do the same process but with dvcproHD, here is the mediainfo :

Format                                   : MPEG-4
Commercial name                          : DVCPRO HD
Format profile                           : QuickTime
Codec ID                                 : qt  
File size                                : 824 MiB
Duration                                 : 1mn 0s
Overall bit rate mode                    : Constant
Overall bit rate                         : 115 Mbps
Encoded date                             : UTC 2012-12-21 08:10:28
Tagged date                              : UTC 2012-12-21 08:10:28
Writing application                      : FFmbc 0.7

Video
ID                                       : 1
Format                                   : DV
Commercial name                          : DVCPRO HD
Codec ID                                 : dvh5
Duration                                 : 1mn 0s
Bit rate mode                            : Constant
Bit rate                                 : 97.8 Mbps
Encoded bit rate                         : 115 Mbps
Width                                    : 1 440 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 10 bits
Scan type                                : Interlaced
Scan order                               : Bottom Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 2.515
Stream size                              : 699 MiB (85%)
Encoded stream size                      : 824 MiB (100%)
Language                                 : English
Encoded date                             : UTC 2012-12-21 08:10:28
Tagged date                              : UTC 2012-12-21 08:10:28

Maybe it's a bug on their side, but i used to produce other dvcpro50 files from 
an other program, and mediainfo was always accurate.

Original comment by sylvain....@gmail.com on 21 Dec 2012 at 8:12

GoogleCodeExporter commented 9 years ago
Do you have a file correctly recognized ? Otherwise I cannot fix

Original comment by baptiste...@gmail.com on 7 Jan 2013 at 5:16

GoogleCodeExporter commented 9 years ago
Hello and happy new year !

I'm attaching to this mail a short DVCPRO50 essence and its wrapping in a
mov file done with ffmbc.

Original comment by sylvain....@gmail.com on 8 Jan 2013 at 8:10

GoogleCodeExporter commented 9 years ago
mediainfo is wrong here

Original comment by baptiste...@gmail.com on 8 Jan 2013 at 5:14

GoogleCodeExporter commented 9 years ago
So, apparently, mediainfo is picky about the DV essence, although the encoder 
was producing files that would trigger that pickiness.
I've fixed that.

Original comment by baptiste...@gmail.com on 13 Mar 2013 at 10:42

GoogleCodeExporter commented 9 years ago
Should be fixed in rc8

Original comment by baptiste...@gmail.com on 13 Mar 2013 at 11:01