[FFmpeg-user] Convert .256 to avi with audio

André Luís Duarte andrelduarte at yahoo.com.br
Wed Jul 29 22:09:41 CEST 2015


Hi guys. Need to do a skill in a video that was recorded in a security camera and the video file has the extension .264. The video file can be viewed in the program provided by company (H264Player). The video is displayed with sound normally for this player. I need to check the sound level contained in the video files, for that would use some software that exhibits me this information. I tried to convert the file to avi using the following command in ubuntu 14:04:

ffmpeg sudo -i -f H264 Video1.264 -vcodec copy -acodec copy --the filename.avi.


the output was as follows:

linux at linux-Capella-IbexPeak-M-Chipset:~/Vídeos$ sudo ffmpeg -f h264 -i Video1.264 -vcodec copy Video1.avi
ffmpeg version N-73895-g323ec6b Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libdcadec --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
  libavutil      54. 28.100 / 54. 28.100
  libavcodec     56. 50.101 / 56. 50.101
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 25.100 /  5. 25.100
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[h264 @ 0x3242c80] pps_id 4294967295 out of range
[h264 @ 0x3242c80] slice type 32 too large at 131319
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
[h264 @ 0x3242c80] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
[h264 @ 0x3242c80] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
[h264 @ 0x3242c80] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
[h264 @ 0x3242c80] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
[h264 @ 0x3242c80] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
[h264 @ 0x3242c80] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
[h264 @ 0x3242c80] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
[h264 @ 0x3242c80] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
[h264 @ 0x3242c80] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
[h264 @ 0x3242c80] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
[h264 @ 0x3242c80] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x3242c80] decode_slice_header error
[h264 @ 0x3242c80] no frame!
Input #0, h264, from 'Video1.264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 352x240, 25 fps, 25 tbr, 1200k tbn, 50 tbc
Output #0, avi, to 'Video1.avi':
  Metadata:
    ISFT            : Lavf56.40.101
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 352x240, q=2-31, 25 fps, 25 tbr, 50 tbn, 50 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[NULL @ 0x3242c80] too many reference frames 32
[NULL @ 0x3242c80] non-existing PPS 41 referenced
[NULL @ 0x3242c80] SEI type 185 size 944 truncated at 40
[NULL @ 0x3242c80] sps_id 2 out of range
[NULL @ 0x3242c80] SEI type 64 size 968 truncated at 40
[NULL @ 0x3242c80] SEI type 126 size 968 truncated at 40
[NULL @ 0x3242c80] SEI type 32 size 984 truncated at 40
[NULL @ 0x3242c80] SEI type 95 size 984 truncated at 40
[NULL @ 0x3242c80] missing picture in access unit with size 11
[NULL @ 0x3242c80] too many reference frames 32
[NULL @ 0x3242c80] SEI type 241 size 984 truncated at 40
[NULL @ 0x3242c80] SEI type 133 size 312 truncated at 24.14 bitrate= 719.5kbits/s    
[NULL @ 0x3242c80] sps_id 2 out of range
[NULL @ 0x3242c80] sps_id 5 out of range55kB time=00:09:54.22 bitrate= 730.1kbits/s    
    Last message repeated 1 times
[NULL @ 0x3242c80] sps_id 8 out of range
[NULL @ 0x3242c80] sps_id 3 out of range
[NULL @ 0x3242c80] FMO not supported 79700kB time=00:14:53.30 bitrate= 730.9kbits/s    
[NULL @ 0x3242c80] illegal reordering_of_pic_nums_idc 6
[NULL @ 0x3242c80] too many reference frames 32
[NULL @ 0x3242c80] sps_id 5 out of range
[NULL @ 0x3242c80] illegal POC type 326827kB time=00:20:09.74 bitrate= 723.4kbits/s    
[NULL @ 0x3242c80] pps_id 6399 out of range
[NULL @ 0x3242c80] FMO not supported
[NULL @ 0x3242c80] too many reference frames 32
[NULL @ 0x3242c80] SEI type 105 size 1456 truncated at 40
[NULL @ 0x3242c80] too many reference frames 32me=00:25:09.34 bitrate= 720.0kbits/s    
    Last message repeated 1 times
[NULL @ 0x3242c80] SEI type 103 size 1560 truncated at 40
[NULL @ 0x3242c80] SEI type 219 size 1352 truncated at 640
[NULL @ 0x3242c80] sps_id 5 out of range
[NULL @ 0x3242c80] sps_id 6 out of range06kB time=00:30:36.54 bitrate= 716.4kbits/s    
[NULL @ 0x3242c80] sps_id 2 out of range
[NULL @ 0x3242c80] sps_id 5 out of range
[NULL @ 0x3242c80] too many reference frames 32
[NULL @ 0x3242c80] SEI type 90 size 1680 truncated at 40
[NULL @ 0x3242c80] non-existing PPS 105 referenced
[NULL @ 0x3242c80] sps_id 7 out of range55kB time=00:36:04.66 bitrate= 712.8kbits/s    
[NULL @ 0x3242c80] illegal reordering_of_pic_nums_idc 31
[NULL @ 0x3242c80] non-existing PPS 30 referenced
[NULL @ 0x3242c80] SEI type 35 size 1872 truncated at 4000.82 bitrate= 712.5kbits/s    
[NULL @ 0x3242c80] illegal reordering_of_pic_nums_idc 5
[NULL @ 0x3242c80] reference count 7 overflow
[NULL @ 0x3242c80] illegal reordering_of_pic_nums_idc 5
[NULL @ 0x3242c80] illegal reordering_of_pic_nums_idc 11
[NULL @ 0x3242c80] illegal reordering_of_pic_nums_idc 32
[NULL @ 0x3242c80] illegal reordering_of_pic_nums_idc 5
[NULL @ 0x3242c80] illegal reordering_of_pic_nums_idc 6
[NULL @ 0x3242c80] sps_id 10 out of range
[NULL @ 0x3242c80] too many reference frames 32
[NULL @ 0x3242c80] missing picture in access unit with size 90
[NULL @ 0x3242c80] SEI type 139 size 1944 truncated at 400.94 bitrate= 713.4kbits/s    
[NULL @ 0x3242c80] FMO not supported
[NULL @ 0x3242c80] luma_log2_weight_denom 32 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 32 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 32 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 32 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 32 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 40 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 40 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 44 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 52 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 44 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 52 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 44 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 48 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 40 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] missing picture in access unit with size 137itrate= 711.0kbits/s    
[NULL @ 0x3242c80] sps_id 1 out of range
[NULL @ 0x3242c80] FMO not supported
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 32 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 32 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 32 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] illegal memory management control operation 20
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 40 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 40 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 40 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 44 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 40 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 48 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 40 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 48 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] illegal memory management control operation 32
[NULL @ 0x3242c80] luma_log2_weight_denom 40 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 44 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] luma_log2_weight_denom 36 is out of range
[NULL @ 0x3242c80] chroma_log2_weight_denom 9 is out of range
[NULL @ 0x3242c80] missing picture in access unit with size 11
[NULL @ 0x3242c80] too many reference frames 32
[NULL @ 0x3242c80] SEI type 240 size 104 truncated at 4044.02 bitrate= 708.0kbits/s    
[NULL @ 0x3242c80] sps_id 9 out of range
[NULL @ 0x3242c80] SEI type 101 size 184 truncated at 40
[NULL @ 0x3242c80] missing picture in access unit with size 11
[NULL @ 0x3242c80] sps_id 2 out of range
[NULL @ 0x3242c80] sps_id 5 out of range68kB time=00:59:23.30 bitrate= 705.5kbits/s    
[NULL @ 0x3242c80] too many reference frames 32
    Last message repeated 1 times
[NULL @ 0x3242c80] sps_id 1 out of range
[NULL @ 0x3242c80] sps_id 2 out of range
[NULL @ 0x3242c80] sps_id 7 out of range87kB time=01:05:02.22 bitrate= 703.5kbits/s    
[NULL @ 0x3242c80] log2_max_frame_num_minus4 out of range (0-12): -1
[NULL @ 0x3242c80] sps_id 8 out of range
[NULL @ 0x3242c80] FMO not supported
[NULL @ 0x3242c80] sps_id 7 out of range
    Last message repeated 1 times
frame=107918 fps=15109 q=-1.0 Lsize=  372978kB time=01:11:56.94 bitrate= 707.8kbits/s    
video:367913kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.376595%

The conversion was successful, but the audio is not inserted in the output file filename.avi.
I tried to visualize using VLC, the VLC displays the video (Vídeo1.264) correctly, but without audio as well.

Forgive mistakes in English because I have the English language fluency and had to use a translator to help me.


More information about the ffmpeg-user mailing list