Hi all, I have the following strange situation here: I'm converting a file to be played on the iphone, here is the command line: ffmpeg -i 33_500-00008.ts -vcodec libx264 -flags +loop -cmp +chroma -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 82k -bufsize 96k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 320:240 -g 30 -async 2 -acodec libfaac -b 90000 -ab 22050 -ar 11000 -f mpegts -vbsf h264_mp4toannexb -s 480x270 ok33_500-0008.ts it starts doing its job, then at some time it gives: ..... [aac @ 0x1d19380]channel element 1.10 is not allocated Error while decoding stream #0.1 [aac @ 0x1d19380]Transition from an ONLY_LONG or LONG_STOP to an EIGHT_SHORT sequence detected. If you heard an audible artifact, please submit the sample to the FFmpeg developers. ..... but it finishes, and creates a result file. and now comes the strange thing: if I play the resulting TS file with ffplay it plays nicely and the audio is correct. If I play it with iPhone, it's pretty noisy, at a regular stage there are "peaking noises" (the best way I can describe it is like hearing the audio over a really old radio with lot of interference at regulated intervals). If required I can provide the sample file. And: If I extract the audio from the TS file and play it on an iphone, it plays nicely, no artefacts. Have you ever experienced anything like this? Thanks, Ferenc
Sent from my iPhone On Apr 13, 2010, at 8:30 AM, Ferenc Deak <ferenc.deak at adactus.no> wrote:
Hi all,
I have the following strange situation here: I'm converting a file to be played on the iphone, here is the command line:
ffmpeg -i 33_500-00008.ts -vcodec libx264 -flags +loop -cmp +chroma - subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 - sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 82k -bufsize 96k - rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 - level 30 -aspect 320:240 -g 30 -async 2 -acodec libfaac -b 90000 -ab 22050 -ar 11000 -f mpegts -vbsf h264_mp4toannexb -s 480x270 ok33_500-0008.ts
Have you tried -vpre ipod320 or ipod640? You have 22050 for a bitrate and 11000 for a resample rate. How come? That would def. cause audio issues :-) Warm Regards, Jarred Nicholls jarred.nicholls at gmail.com 443.280.9527 http://www.jarrednicholls.com
it starts doing its job, then at some time it gives:
..... [aac @ 0x1d19380]channel element 1.10 is not allocated Error while decoding stream #0.1 [aac @ 0x1d19380]Transition from an ONLY_LONG or LONG_STOP to an EIGHT_SHORT sequence detected. If you heard an audible artifact, please submit the sample to the FFmpeg developers. .....
but it finishes, and creates a result file.
and now comes the strange thing: if I play the resulting TS file with ffplay it plays nicely and the audio is correct. If I play it with iPhone, it's pretty noisy, at a regular stage there are "peaking noises" (the best way I can describe it is like hearing the audio over a really old radio with lot of interference at regulated intervals). If required I can provide the sample file. And: If I extract the audio from the TS file and play it on an iphone, it plays nicely, no artefacts.
Have you ever experienced anything like this?
Thanks, Ferenc
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
--- Have you tried -vpre ipod320 or ipod640? You have 22050 for a bitrate and 11000 for a resample rate. How come? That would def. cause audio issues :-) Hi, Thanks, but ... it's not working ... I'm getting the File for preset 'ipod640' not found error message. We are using our own compiled ffmpeg, maybe I missed something in the installation phase... But I have the feeling that the "noise" is not related to the low bitrate, since: 1. I'm getting the same noise in higher quality files too 2. It's very precisely at every half second a short high pitch, just like something that is generated by a mathematical function... it can be found in the TS file (and it is not there in the 3gp file), the result of the ffmpeg below: ffmpeg -i 686481.3gp -vcodec libx264 -flags +loop -cmp +chroma -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 82k -bufsize 96k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 320:240 -g 30 -async 2 -acodec libfaac -b 90000 -ab 48000 -ar 44000 -f mpegts -vbsf h264_mp4toannexb -s 256x144 output_file_5.ts but in this case the output mentioned in the previous mail from aac/ffmpeg is not there. Again, both files are available on request. Regards, ferenc
Updates: The weirdest of all: I have extracted the audio stream from the converted segment file, and the high pitched noise is not there... On 04/13/2010 03:27 PM, Ferenc Deak wrote:
--- Have you tried -vpre ipod320 or ipod640? You have 22050 for a bitrate and 11000 for a resample rate. How come? That would def. cause audio issues :-)
Hi,
Thanks, but ... it's not working ... I'm getting the
File for preset 'ipod640' not found
error message. We are using our own compiled ffmpeg, maybe I missed something in the installation phase...
But I have the feeling that the "noise" is not related to the low bitrate, since:
1. I'm getting the same noise in higher quality files too 2. It's very precisely at every half second a short high pitch, just like something that is generated by a mathematical function...
it can be found in the TS file (and it is not there in the 3gp file), the result of the ffmpeg below:
ffmpeg -i 686481.3gp -vcodec libx264 -flags +loop -cmp +chroma -subq 5 -trellis 1 -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 82k -bufsize 96k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 320:240 -g 30 -async 2 -acodec libfaac -b 90000 -ab 48000 -ar 44000 -f mpegts -vbsf h264_mp4toannexb -s 256x144 output_file_5.ts
but in this case the output mentioned in the previous mail from aac/ffmpeg is not there.
Again, both files are available on request.
Regards, ferenc
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
participants (2)
-
ferenc.deak@adactus.no -
jarred.nicholls@gmail.com