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

Jonathon Elwood jaelwood
Wed Apr 11 23:28:17 CEST 2007


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).  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?  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.




More information about the ffmpeg-devel mailing list