Livio Tenze (12021-02-15):
> -The audio source comes from alsa: here I see really strange behaviour. The
> pts value of the second packet with respect to the first pts packet seems
> to be "delayed" from 0.4s to 1.8s. I don't understand this behaviour: I
> checked the time from start to the second packet and the elapsed time
> cannot be justified (ms and not s).

Can you observe the same phenomenon using ffprobe?

ffprobe -f alsa -i default -show_packets -of compact | head -n 50 | less -S

would be a good way to look.

Do you observe warnings on the console?

How does your application handle parallelism between encoding and
reading from devices?

> -Finally, when I write audio and video in the output MP4 stream (I use
> libx264 and libfdk_aac for video and audio respectively) the audio stream
> is delayed.

Do the timestamps between audio and video match before encoding?

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to