[x264-devel] moov atom not found

foxyshadis foxyshadis at hotmail.com
Wed Mar 28 07:06:45 CEST 2012


That's an ffmpeg MP4 problem, not an x264 problem, you should be asking on the ffmpeg users list.

On 3/27/2012 12:28 AM, juha s. wrote:
> Hi
>
> I'm capturing live h264 stream over RTSP protocol and time to time when I stop recordind I get
> corrupted file. 
>
> Here is ffmpeg line what I use for recording: */ ffmpeg -i rtsp://192.169.23.28:8555 -aspect
> 16:9 -copyts -vcodec libx264 -preset fast -b:v 900k -crf 22 -y /videos/video1.mp4/ *. I must
> stop this record using "/pkill 2/" (=ctrl+c) command, because I like to split this program for
> peaces.
>
> Moust of files are OK and I can play those without any problem. Here is one of those working
> files output:
>
>
>
> root at CVod1:/DVB#/ffmpeg -i /videos/Video_2.mp4/
> ffmpeg version N-34781-gab31db0 Copyright (c) 2000-2012 the FFmpeg developers
>   built on Mar 27 2012 08:48:53 with gcc 4.6.1
>   configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264
> --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx
>   libavutil      51. 44.100 / 51. 44.100
>   libavcodec     54. 12.100 / 54. 12.100
>   libavformat    54.  3.100 / 54.  3.100
>   libavdevice    53.  4.100 / 53.  4.100
>   libavfilter     2. 66.100 /  2. 66.100
>   libswscale      2.  1.100 /  2.  1.100
>   libswresample   0. 10.100 /  0. 10.100
>   libpostproc    52.  0.100 / 52.  0.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/videos/Video_2.mp4':
>   Metadata:
>     major_brand     : isom
>     minor_version   : 512
>     compatible_brands: isomiso2avc1mp41
>      encoder         : Lavf54.3.100
>     Duration: 00:00:30.26, start: 0.000000, bitrate: 642 kb/s
>     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR
> 16:9], 508 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
>     Metadata:
>       handler_name    : VideoHandler
>     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 127 kb/s
>     Metadata:
>       handler_name    :
> At least one output file must be specified
> root at CVod1:/DVB#
>
>
>
> And sometimes from same source and same stream, the recording fails for " moov atom not found":
>
>
> root at Vod1:/DVB <mailto:root at Vod1:/DVB>#/ ffmpeg -i /videos/Video_53.mp4/
> ffmpeg version N-34781-gab31db0 Copyright (c) 2000-2012 the FFmpeg developers
>   built on Mar 27 2012 08:48:53 with gcc 4.6.1
>   configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264
> --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx
>   libavutil      51. 44.100 / 51. 44.100
>   libavcodec     54. 12.100 / 54. 12.100
>   libavformat    54.  3.100 / 54.  3.100
>   libavdevice    53.  4.100 / 53.  4.100
>   libavfilter     2. 66.100 /  2. 66.100
>   libswscale      2.  1.100 /  2.  1.100
>   libswresample   0. 10.100 /  0. 10.100
>   libpostproc    52.  0.100 / 52.  0.100
> *[mov,mp4,m4a,3gp,3g2,mj2 @ 0x16d43e0] moov atom not found*
> /videos/Video_53.mp4: Invalid data found when processing input
> root at Vod1:/DVB <mailto:root at Vod1:/DVB>#
>
>
> So what's the trik here or how I should do this to get all files to work without any problem ?
>
>
> Cheers,
> Jii
>
>
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel



More information about the x264-devel mailing list