ajdahlenburg / ffmbc

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

different output file using pipe output and using file output #87

Closed GoogleCodeExporter closed 8 years ago

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

1. Use this command: 

---
ffmbc.exe -y -i test.m2v -i test_1.wav -map_audio_channel 1:0:0:0:1:0 -i 
test_2.wav -map_audio_channel 2:0:0:0:1:1 -i test_3.wav -map_audio_channel 
3:0:0:0:1:2 -i test_4.wav -map_audio_channel 4:0:0:0:1:3 -vcodec copy -acodec 
pcm_s16le -ac 4 -f mxf_d10 test_good.mxf 

---
to generate test_good.mxf file.

2.Use this command: 

---
ffmbc.exe -y -i test.m2v -i test_1.wav -map_audio_channel 1:0:0:0:1:0 -i 
test_2.wav -map_audio_channel 2:0:0:0:1:1 -i test_3.wav -map_audio_channel 
3:0:0:0:1:2 -i test_4.wav -map_audio_channel 4:0:0:0:1:3 -vcodec copy -acodec 
pcm_s16le -ac 4 -f mxf_d10 - > test_bad.mxf

---
to generate test_bad.mxf file.
3.

What is the expected output? What do you see instead?
--- 
ffprobe test_good.mxf
ffprobe version
Copyright (c) 2007-2011 Baptiste Coudurier and the FFmpeg developers
Input #0, mxf, from 'test_good.mxf':
  Metadata:
    system_timecode: 00:00:00:00
    timecode: 00:00:00:00
  Duration: 00:00:14.24, start: 0.000000, bitrate: 62569 kb/s
    Stream #0.0(und): Video: mpeg2video (4:2:2), yuv422p, 720x608i tff [PAR 608:
405 DAR 16:9], 50000 kb/s, 25.00 fps
    Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 4 channels, s16, 3072 kb/s

---
ffprobe test_bad.mxf
ffprobe version
Copyright (c) 2007-2011 Baptiste Coudurier and the FFmpeg developers
[mxf @ 016aa460] Estimating duration from bitrate, this may be inaccurate
Input #0, mxf, from 'test_bad.mxf':
  Metadata:
    system_timecode: 00:00:00:00
    timecode: 00:00:00:00
  Duration: 00:00:16.80, start: 0.000000, bitrate: 53035 kb/s
    Stream #0.0(und): Video: mpeg2video (4:2:2), yuv422p, 720x608i tff [PAR 608:
405 DAR 16:9], 50000 kb/s, 25.00 fps
    Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 4 channels, s16, 3072 kb/s

---
The difference between these two files is duration. Correct is 14.24s. 

What version of the product are you using? On what operating system?
FFmbc0.7rc5, Windows xp, Windows 2003

Please provide any additional information below:

Sources are available at: https://rapidshare.com/files/1429102453/sources.zip

Original issue reported on code.google.com by ipodo...@gmail.com on 22 Feb 2012 at 12:15

Attachments:

GoogleCodeExporter commented 8 years ago
There is a message about this:
[mxf @ 016aa460] Estimating duration from bitrate, this may be inaccurate

In this case it is inaccurate based on bitrate.

Don't expect output to be equal with pipes, when using pipes, seeking is not 
possible therefore header update are not possible. This is the case for mxf.

Original comment by baptiste...@gmail.com on 22 Feb 2012 at 8:41