VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Trying to encode a video file using FFmpeg on an Ubuntu box, but I'm getting an error, which breaks the whole encoding:

    root@local-trans03:~# ffmpeg -i '/media/PORTABLE16-STG/indie-rights-3/deinterlace/death-of-a-saleswoman.mp4' -b:v 800k -vcodec libx264 -acodec copy '/media/INT02-STG/test/saleswoman-test.mp4'
    ffmpeg version 0.10.3 Copyright (c) 2000-2012 the FFmpeg developers
    built on Jun 8 2012 17:04:47 with gcc 4.6.3
    configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
    libavutil 51. 35.100 / 51. 35.100
    libavcodec 53. 61.100 / 53. 61.100
    libavformat 53. 32.100 / 53. 32.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 61.100 / 2. 61.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 6.100 / 0. 6.100
    libpostproc 52. 0.100 / 52. 0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/PORTABLE16-STG/indie-rights-3/deinterlace/death-of-a-saleswoman.mp4':
    Metadata:
    major_brand : mp42
    minor_version : 0
    compatible_brands: mp42mp41
    creation_time : 2012-05-14 17:13:29
    Duration: 01:13:53.87, start: 0.000000, bitrate: 13680 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 40:33 DAR 20:11], 13486 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 59.94 tbc
    Metadata:
    creation_time : 2012-05-14 17:13:29
    handler_name : Mainconcept MP4 Video Media Handler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 189 kb/s
    Metadata:
    creation_time : 2012-05-14 17:13:29
    handler_name : Mainconcept MP4 Sound Media Handler
    [buffer @ 0x3343da0] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:40/33 sws_param:
    [libx264 @ 0x383b120] using SAR=40/33
    [libx264 @ 0x383b120] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x383b120] profile High, level 3.0
    [libx264 @ 0x383b120] 264 - core 125 r2200 999b753 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/media/INT02-STG/test/saleswoman-test.mp4':
    Metadata:
    major_brand : mp42
    minor_version : 0
    compatible_brands: mp42mp41
    creation_time : 2012-05-14 17:13:29
    encoder : Lavf53.32.100
    Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 720x480 [SAR 40:33 DAR 20:11], q=-1--1, 800 kb/s, 2997 tbn, 29.97 tbc
    Metadata:
    creation_time : 2012-05-14 17:13:29
    handler_name : Mainconcept MP4 Video Media Handler
    Stream #0:1(eng): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, stereo, 189 kb/s
    Metadata:
    creation_time : 2012-05-14 17:13:29
    handler_name : Mainconcept MP4 Sound Media Handler
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 -> libx264)
    Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    illegal reordering_of_pic_nums_idc 88457kB time=00:12:18.33 bitrate= 981.4kbits/s dup=2 drop=0
    [h264 @ 0x56a80e0] decode_slice_header error
    [h264 @ 0x56a80e0] reference picture missing during reorder
    [h264 @ 0x56a80e0] illegal reordering_of_pic_nums_idc
    [h264 @ 0x56a80e0] decode_slice_header error
    [h264 @ 0x56a80e0] concealing 1350 DC, 1350 AC, 1350 MV errors
    [h264 @ 0x57043a0] Missing reference picture
    Last message repeated 3 times
    [h264 @ 0x5760660] Missing reference picture
    Last message repeated 1 times
    [h264 @ 0x5760660] mmco: unref short failure
    Last message repeated 1 times
    [h264 @ 0x5760660] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
    [h264 @ 0x5760660] Missing reference picture
    Last message repeated 2 times
    [h264 @ 0x57bc920] Missing reference picture

    Any insight to this would be great, thanks!
    Quote Quote  
  2. Member ozok's Avatar
    Join Date
    Oct 2011
    Location
    Turkey
    Search Comp PM
    can you encode that file to an other format? try libxvid and tell us the result please. also make sure you have the latest version of ffmpeg installed. if you have access to windows platform, you can find binaries here: http://ffmpeg.zeranoe.com/builds/. builds here are generally up-to-date.
    Quote Quote  
  3. Cannot encode that file to another format. Does anyone know the reason as to why this is happening?
    Quote Quote  
  4. The log suggests decoding errors

    Does the source file play in VLC or MPlayer ?

    Have you tried another ffmpeg binary ?
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!