ffmpeg to mux mpeg4 from axis IP camera to flv

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ffmpeg to mux mpeg4 from axis IP camera to flv

Arek Gasparski
First of all sorry for my english ;)

I've got problem with forcing ffmpeg to synchronise Audio and Video streams in flv video  -  streamed from Axis camera.

FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-static --enable-shared --cc=i686-pc-linux-gnu-gcc --disable-mmx --disable-altivec --disable-debug --disable-audio-oss --disable-v4l --disable-v4l2 --disable-dv1394 --disable-ffplay --disable-opts --enable-libmp3lame --enable-gpl --enable-pp --enable-swscaler --disable-strip
  libavutil version: 49.4.0
  libavcodec version: 51.40.4
  libavformat version: 51.12.1
  built on Feb 14 2008 17:10:26, gcc: 4.1.1 (Gentoo 4.1.1-r3)

In general I have axis camera streaming mpeg4 video and G711-ยต law streams
I want to catch it as rtsp stream and mux it to FLV format.
The problem is that I can't get  A/V streams sync
I've tryied with map and vsync but after at most 5 sec stream loose synchronisation and video goes much faster than audio, or with async set to 1 video gos well but audio is played one time per few second and rest of audio goes after video stream ends.
I suspect that the problem is in timestamps in rtsp streams

Sombody have a clue ?

Arek
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user