[FFmpeg-trac] #1913(undetermined:closed): Why file fails to open when saving frames from one file to other without any encoding/decoding?

FFmpeg trac at avcodec.org
Wed Nov 14 10:41:49 CET 2012


#1913: Why file fails to open when saving frames from one file to other without
any encoding/decoding?
-------------------------------------+-------------------------------------
             Reporter:  theateist    |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:  invalid
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by theateist):

 Replying to [comment:3 cehoyos]:
 > You have to set bits_per_coded_sample:
 >  outStream->codec->bits_per_coded_sample =
 inStream->codec->bits_per_coded_sample;

 I'm sorry I didn't understood what kind of questions I can ask in bug-
 tracker?

 Regarding my question I added
 {{{
 outStream->codec->bits_per_coded_sample =
 inStream->codec->bits_per_coded_sample;
 }}}
 and now both files(in and out) have pix_fmt=pal8, but WindowsMediaPlayer
 still fails to open the file and VLCPlayer now shows black screen without
 stripes as previously. Do you have any suggestion?

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1913#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list