mbbiii / crusher264

Automatically exported from code.google.com/p/crusher264
GNU General Public License v2.0
0 stars 0 forks source link

Audio is out of sync after convertion #12

Open GoogleCodeExporter opened 8 years ago

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

1- test.ts is 720x576 mpeg2 video/ mpeg audio

/usr/local/bin/ffmpeg -i test.ts -deinterlace \
 -f mpegts \
 -acodec libmp3lame -ab 128k -ac 2 \
 -vcodec libcrusher264 -b 1000k -flags +loop+mv4 -cmp 256 -partitions +parti4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 1800k -maxrate 1800k -bufsize 1800k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -r 25 -g 90 -async 2\
 -s 320x240 \
 ./test_enc.ts

What is the expected output? What do you see instead?
Audio is completely desynched and should be synched.

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

- ffmpeg git a 6 sept 2011

Please provide any additional information below.

Original issue reported on code.google.com by troll...@gmail.com on 8 Sep 2011 at 12:23

GoogleCodeExporter commented 8 years ago
Hi trollito,

according to my research the audio get's out of sync in relation to the number 
of frames of ffmpeg option '-g' [group of pictures size]

If your framerate is i.e. 25 pps and you set a '-g 100' your audio will be out 
of sync for about 4 seconds.

Maybe a coder out there has an idea how to fix this issue? :)

Original comment by degnetg...@gmail.com on 18 Nov 2011 at 1:25