[FFmpeg-user] Problem Transcoding from FFV1 to DIRAC

ciorba andrei ciorbaandrei at yahoo.com
Wed Jan 8 12:54:21 CET 2014


Hello,
I'm trying to use ffmpeg.exe in order to transcode a video file from FFV1 to DIRAC. 

I'm using the latest Windows build from zeranoe. 

The transcoding operation seems to work fine(the resulting file is playable) but most of the time ffmpeg.exe crashes right before exiting.
The command line and the output are the following: 

===============================================

\ffmpeg-20140106-git-4816d63-win32-static\bin>ffmpeg -i myFile15FPS-FFV10.avi -codec libschroedinger outputfile.avi
ffmpeg version N-59595-g4816d63 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan  5 2014 22:01:52 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 62.100 / 52. 62.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.102 / 55. 22.102
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, avi,
 from 'myFile15FPS-FFV10.avi':
  Metadata:
    encoder         : Lavf55.21.102
  Duration: 00:00:20.27, start: 0.000000, bitrate: 2229 kb/s
    Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv420p, 640x480, 15 tbr, 15 tbn, 15 tbc
File 'outputfile.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'outputfile.avi':
  Metadata:
    ISFT            : Lavf55.22.102
    Stream #0:0: Video: dirac (libschroedinger) (drac / 0x63617264), yuv420p, 640x480, q=2-31, 200 kb/s, 15 tbn, 15 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (ffv1 -> libschroedinger)
Press [q] to stop, [?] for help
frame=   38 fps=0.0 q=0.0 size=      39kB time=00:00:01.20 bitrate= 264.2kbits/s
frame=   59 fps= 55 q=0.0
 size=      75kB time=00:00:02.60 bitrate= 237.6kbits/s
frame=   79 fps= 50 q=0.0 size=     110kB time=00:00:03.93 bitrate= 228.3kbits/s
frame=  100 fps= 48 q=0.0 size=     141kB time=00:00:05.33 bitrate= 217.3kbits/s
frame=  122 fps= 46 q=0.0 size=     179kB time=00:00:06.80 bitrate= 215.2kbits/s
frame=  143 fps= 45 q=0.0 size=     213kB time=00:00:08.20 bitrate= 212.6kbits/s
frame=  164 fps= 45 q=0.0 size=     248kB time=00:00:09.60 bitrate= 211.8kbits/s
frame=  186 fps= 44 q=0.0 size=     286kB time=00:00:11.06 bitrate= 211.9kbits/s
frame=  206 fps= 44 q=0.0 size=     318kB time=00:00:12.40 bitrate= 210.2kbits/s
frame=  226 fps= 43 q=0.0 size=     351kB time=00:00:13.73 bitrate=
 209.2kbits/s
frame=  247 fps= 43 q=0.0 size=     385kB time=00:00:15.13 bitrate= 208.2kbits/s
frame=  268 fps= 43 q=0.0 size=     416kB time=00:00:16.53 bitrate= 206.2kbits/s
frame=  288 fps= 43 q=0.0 size=     449kB time=00:00:17.86 bitrate= 206.0kbits/s
frame=  304 fps= 39 q=0.0 Lsize=     518kB time=00:00:20.20 bitrate= 209.9kbits/s
video:505kB audio:0kB subtitle:0 global headers:0kB muxing overhead 2.541212%


=========================================================
My question is: am I doing something wrong: maybe wrong input file, wrong command line options or I'm trying to do something that is not supported by ffmpeg?

Also, as a side node, I've tried the muxing example and it seems to be working fine with ffv1, but when I use DIRAC it crashes on avcodec_close with heap corruption, so I think this could be related to why ffmpeg crashes. 


Any ideas?
Thanks, 

Andrei.


More information about the ffmpeg-user mailing list