Ciao Luca,
an thank you! I've tried with master branch, latest commit
3b08d9d932eef09403074d5af31e10d8011e840b, same problem. I'm running avconv
on a I.MX6 platform, yocto / poky OS configured as follows:

./configure      --disable-shared     --enable-pthreads     --enable-gpl
       --enable-avfilter         --cross-prefix=arm-poky-linux-gnueabi-
--prefix=/usr         --ld="arm-poky-linux-gnueabi-gcc  -march=armv7-a
-marm  -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9
--sysroot=/home/vitalife/nobu_workspaces/nobu_2.0/fsl-community-bsp/build_nobu/tmp/sysroots/imx6qsabresd"
    --arch=arm     --target-os="linux"     --enable-cross-compile
--extra-cflags=" -fexpensive-optimizations -fomit-frame-pointer -O4
-ffast-math  -march=armv7-a -marm  -mthumb-interwork -mfloat-abi=hard
-mfpu=neon -mtune=cortex-a9
--sysroot=/home/vitalife/nobu_workspaces/nobu_2.0/fsl-community-bsp/build_nobu/tmp/sysroots/imx6qsabresd"
    --extra-ldflags="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
--sysroot="/home/vitalife/nobu_workspaces/nobu_2.0/fsl-community-bsp/build_nobu/tmp/sysroots/imx6qsabresd"
    --enable-hardcoded-tables     --cpu=cortex-a8     --libdir=/usr/lib
--shlibdir=/usr/lib    --enable-bzlib --disable-libfaac --disable-libgsm
--disable-indev=jack --disable-libvorbis --disable-libmp3lame
--disable-openssl --disable-libschroedinger --disable-libspeex
--enable-libtheora --disable-libvpx --disable-x11grab

I'm running avconv with following command line:

avconv  -i rtsp://192.168.0.16 -c copy -map 0:0 -f segment -segment_time 10
-segment_format mkv -loglevel debug /media/ssd/tmp/seg_%02d.mkv

I attach logging output of the previous command.

Thanks for your attention!

Buona giornata :D



2016-03-24 16:40 GMT+01:00 Luca Barbato <[email protected]>:

> On 21/03/16 11:51, Federico Vitali wrote:
> > Hi,
> > I'm capturing video streams from IP cameras using avconv with the
> following
> > command line options:
> >
> > avconv -i rtsp://192.168.0.16 -c copy -map 0:0 -f segment -segment_time
> > 1800 -segment_format mkv "TLC01_%d.mkv"
> >
> > It works great, I get exactly segments of 30 minutes duration, but I
> have a
> > problem when reproducing the segments with common videoplayers, such as
> VLC
> > because the reported clip duration is wrong i.e. about 60 hours instead
> of
> > 30 minutes. Is there something wrong in my command line ?
> >
>
> If you could try with the current master would be great, I'm not seeing
> anything wrong there, so possibly the duration reported is wrong.
>
> lu
>
> _______________________________________________
> libav-tools mailing list
> [email protected]
> https://lists.libav.org/mailman/listinfo/libav-tools
>

Attachment: avconv.log.gz
Description: GNU Zip compressed data

_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to