[Ffmpeg-devel] Problem with Revision 8528 when ??vcodec copy? is used with DVR-MS files

Michael Niedermayer michaelni
Thu Apr 12 00:29:10 CEST 2007


On Wed, Apr 11, 2007 at 05:28:17PM -0400, Jonathon Elwood wrote:
> I've used the command line below to read DVR-MS files and write them
> into the MPG container.
> "ffmpeg" -benchmark -y -i "input filename.dvr-ms" -vcodec copy -acodec
> copy -f dvd "output filename.mpg"
> Revision 8528 is now causing a problem with this process (meaning all
> the applications I try to use on the MPG file tell me the video is
> bad).  

which application, what is the error message, what is the full uncut
output of both good and bad ffmpeg transcoding, ...

> However, this problem only happens on files with 59.94 fps.
> I'm sure isn't happening because the shows have 59.94 fps, but I don't
> know enough about I-frames, B-frames, etc, to tell what the true
> problem is.  If I reverse the change made in Revision 8528 everything
> works fine.
> Revision 8528 is:
> Index: parser.c
> ===================================================================
> --- parser.c	(revision 8527)
> +++ parser.c	(revision 8528)
> @@ -70,6 +70,7 @@
>         }
>     }
>     s->fetch_timestamp=1;
> +    s->pict_type = FF_I_TYPE;
>     return s;
> }
> Could someone that knows about this section of code please look at
> this?  

the change looks ok and is needed, also it does little more then set
a otherwise uninitalized variable

> If it would help for me to upload a file that demonstrates this
> problem please let me know and I'll be happy to upload it.

uploading a sample (or providng a link to a exiting sample on mphq)
is needed yes, still if you care about this bug its best if you debug
it, my list of things to look at is long and this doesnt look very
important to me ...

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070412/4a34051f/attachment.pgp>

More information about the ffmpeg-devel mailing list