Opened 12 years ago

Closed 8 years ago

Last modified 8 years ago

#1564 closed enhancement (fixed)

support dvaudio in non dv container

Reported by: ami_stuff Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: dvaudio
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description (last modified by Elon Musk)

http://www.datafilehost.com/download-f6b0f2cb.html

C:\>ffmpeg -i Test_DV_Audio.avi
ffmpeg version N-42682-g7e17389 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 20 2012 02:23:40 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.100
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[avi @ 0x1eacdc0] non-interleaved AVI
[avi @ 0x1eacdc0] max_analyze_duration 5000000 reached at 5000000
[avi @ 0x1eacdc0] Could not find codec parameters for stream 1 (Audio: none ([22
][2][0][0] / 0x0216), 44100 Hz, 2 channels, 1728 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from 'Test_DV_Audio.avi':
  Duration: 00:00:14.06, start: 0.000000, bitrate: 5488 kb/s
    Stream #0:0: Video: cinepak (cvid / 0x64697663), yuv420p, 352x288, 15 fps, 1
5 tbr, 15 tbn, 15 tbc
    Stream #0:1: Audio: none ([22][2][0][0] / 0x0216), 44100 Hz, stereo, 1728 kb
/s
At least one output file must be specified

Change History (9)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavcodec
Priority: normalwish
Reproduced by developer: set
Status: newopen
Type: defectenhancement
Version: unspecifiedgit-master

comment:2 by Elon Musk, 11 years ago

Description: modified (diff)
Summary: port ulead dv audio decodersupport dvaudio in non dv container

There is nothing to port, dvaudio code is in dv demuxer

comment:3 by ami_stuff, 11 years ago

this seems to be already implemented for mov container (libavformat/mov.c)

#if CONFIG_DV_DEMUXER
    case AV_CODEC_ID_DVAUDIO:
        c->dv_fctx = avformat_alloc_context();
        c->dv_demux = avpriv_dv_init_demux(c->dv_fctx);
        if (!c->dv_demux) {
            av_log(c->fc, AV_LOG_ERROR, "dv demux context init error\n");
            return AVERROR(ENOMEM);
        }
        sc->dv_audio_container = 1;
        st->codec->codec_id = AV_CODEC_ID_PCM_S16LE;
        break;
#endif

etc.

comment:4 by ami_stuff, 8 years ago

some samples exported from Premiere (built-in codec):

http://www.datafilehost.com/d/45e2b621

comment:5 by Elon Musk, 8 years ago

The avi sample is gone.

in reply to:  5 comment:6 by ami_stuff, 8 years ago

comment:7 by Elon Musk, 8 years ago

Resolution: fixed
Status: openclosed

comment:8 by Carl Eugen Hoyos, 8 years ago

Keywords: dvaudio added

comment:9 by Elon Musk, 8 years ago

there is dv audio in caf. Do you have such files?

Note: See TracTickets for help on using tickets.