[FFmpeg-devel] [PATCH] libavformat/dv : read dv audio as BE

Michael Niedermayer michael at niedermayer.cc
Sat Sep 2 01:44:15 EEST 2017


On Fri, Sep 01, 2017 at 03:30:53PM +0300, Александр Слободенюк wrote:
> > this breaks stream copy:
> > ./ffmpeg -i ~/tickets/1042/submarine.dv -acodec copy -vcodec copy file.dv
> > the sample file seems to be at
> > http://www.mediafire.com/file/8agcdgs2f9kqlbi/submarine.dv
> 
> > [dv @ 0x2842d80] Can't initialize DV format!
> > Make sure that you supply exactly two streams:
> >      video: 25fps or 29.97fps, audio: 2ch/48|44|32kHz/PCM
> >      (50Mbps allows an optional second audio stream)
> > Could not write header for output file #0 (incorrect codec
> > parameters ?): Operation not permitted
> 
> > [...]
> 
> Fixed
> 
> -- 
> С уважением,
>  Александр                          mailto:alexander.slobodeniuk at bramtech.ru

>  dv.c      |   30 ++++++++++--------------------
>  dvenc.c   |    9 ++++-----
>  version.h |    2 +-
>  3 files changed, 15 insertions(+), 26 deletions(-)
> 2da0fe73cbc086e8008e96e0d9d0fe31d26465e6  0001-libavformat-dv-change-dv-audio-type-to-BE.patch
> From 7ead9d833bf7b250256d84f0da9661ba5b4f795c Mon Sep 17 00:00:00 2001
> From: Aleksandr Slobodeniuk <alenuke at yandex.ru>
> Date: Fri, 25 Aug 2017 17:02:18 +0300
> Subject: [PATCH] libavformat/dv : change dv audio type to BE

Breaks
./ffplay ~/tickets/1589/A1590.dv

https://trac.ffmpeg.org/attachment/ticket/1589/A1590.dv

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Modern terrorism, a quick summary: Need oil, start war with country that
has oil, kill hundread thousand in war. Let country fall into chaos,
be surprised about raise of fundamantalists. Drop more bombs, kill more
people, be surprised about them taking revenge and drop even more bombs
and strip your own citizens of their rights and freedoms. to be continued
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170902/8eb5ccaa/attachment.sig>


More information about the ffmpeg-devel mailing list