jslhs / ffmbc

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

Regression vor 0.7rc5 when using -ss flag for output file (audio track is skipped) #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

transcode a file with a time offset as follows:

ffmbc -y -i test-10s-new.mov -ss 1.0 -vcodec mjpeg -acodec pcm_s24le 
transcodeTimeOffset.mov
FFmbc version 0.7-rc5
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test-10s-new.mov':
  Metadata:
    major_brand: qt  
    minor_version: 0
    compatible_brands: qt  
    creation_time: 2012-03-07 15:42:37
    encoder: FFmbc 0.7
  Duration: 00:00:09.96, start: 0.000000, bitrate: 7388 kb/s
    Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x320p, 5061 kb/s, PAR 71:80 DAR 71:40, 25.00 fps
    Metadata:
      codec_name: mjpeg
    Stream #0.1(eng): Audio: pcm_s24le, 48000 Hz, 2 channels, s32, 2304 kb/s
Output #0, mov, to 'transcodeTimeOffset.mov':
  Metadata:
    encoder: FFmbc 0.7
    Stream #0.0(und): Video: mjpeg, yuvj420p, 640x320p [PAR 71:80 DAR 71:40], 200 kb/s, 25.00 fps
    Stream #0.1(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32, 2304 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
error, audio timestamps difference is too big, cannot compensate a/v sync
    Last message repeated 419 times
[mov @ 0x10180ee00] replacing header in front, copying  1.66MB                  

frame=  225 fps=  0 q=24.8 Lsize=    1703kB time=00:00:00.00 bitrate=   
0.0kbits/s    
video:1700kB audio:0kB global headers:0kB muxing overhead 0.150954%

see error message above about timestamp difference and look at the result:

ffmbc -y -i transcodeTimeOffset.mov
FFmbc version 0.7-rc5
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'transcodeTimeOffset.mov':
  Metadata:
    major_brand: qt  
    minor_version: 0
    compatible_brands: qt  
    creation_time: 2012-03-07 16:20:03
    encoder: FFmbc 0.7
  Duration: 00:00:09.00, start: 0.000000, bitrate: 1549 kb/s
    Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x320p, 1547 kb/s, PAR 71:80 DAR 71:40, 25.00 fps
    Metadata:
      codec_name: mjpeg
At least one output file must be specified

The audio track is not in the resulting file.

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

0.7-rc5, it works as expected with rc3 (didn't have rc4 around)

Please provide any additional information below:

I tried this with two different very simple files which were also created with 
ffmbc (a while ago) and both with the same result so I believe it should be 
reproducible easily. Let me know if you can't and you need a file, the I'll put 
it in dropbox.

Original issue reported on code.google.com by krue...@lesspain.de on 7 Mar 2012 at 4:27

GoogleCodeExporter commented 8 years ago
Can you please upload the file somewhere ? It's always better to have the file.

Original comment by baptiste...@gmail.com on 7 Mar 2012 at 8:20

GoogleCodeExporter commented 8 years ago
I made that exact file available to you via dropbox. Please don't share it, 
since it's a private file. If you do need a sample that can be used publicly I 
will produce one.

Original comment by krue...@lesspain.de on 8 Mar 2012 at 9:13

GoogleCodeExporter commented 8 years ago
Should be fixed in rc6

Original comment by baptiste...@gmail.com on 8 Mar 2012 at 6:36

GoogleCodeExporter commented 8 years ago
confirmed fixed. Thanks a lot!

Original comment by krue...@lesspain.de on 9 Mar 2012 at 8:57