Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-08 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 1. Yes it is, I'll add my comments there
 2. i've opened a separate ticket for DVRMS files dropping frames.

 Thanks, please mark this ticket as invalid.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:33
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-07 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 Okay - help me understand this, is this a bug with FFMPEG?
 1. WTV - not being able to read the frame rate
 2. DVR-MS - dropping frames

 if so, do I need open a separate tickets

 If not, what's the resolution to this?

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:31
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-07 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:31 ramitbhalla]:
  Okay - help me understand this, is this a bug with FFMPEG?
  1. WTV - not being able to read the frame rate
 Didn't you agree this looks similar to ticket #1065?
  2. DVR-MS - dropping frames
 This ticket is about stuttering ts files on slow screens when encoding
 60fps material, what does this have to do with dropped frames when
 encoding asf?

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:32
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-06 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:25 ramitbhalla]:
  The real crux of the issue is why are they packets being dropped.
 Because audio starts later than video in your sample file.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:26
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-06 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:27 ramitbhalla]:
  Okay, so this is happening with many DVR-MS files. Any how to detect and
 fix/workaround this?
 Workaround what? The frames are dropped / duplicated initially to get A/V
 sync, this is intended or do I miss something?

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:28
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-06 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 So you're saying that it's normal for FFMPEG to drop packets to get the AV
 in sync? I'm confused because this is happening with every DVRMS file
 (received from multiple users).

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:29
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-06 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:29 ramitbhalla]:
  So you're saying that it's normal for FFMPEG to drop frames to get the
 AV in sync? I'm confused because this is happening with every DVRMS file
 (received from multiple users). how can every file be corrupted?
 I did not want to imply that FFmpeg is dropping frames because the input
 file is corrupted. (Did I really write this?)
  With the WTV you isolated the issue to wrong FPS which was corrected
 manually and it fixed the problem. With DVRMS files, i'm trying to figure
 out if FFMPEG is able to process the files correctly or not? If every
 DVRMS file is dropping frames then possibly something is wrong with
 FFMPEG.
  Is my assumption correct?
 I don't think so, and please note that setting the frame rate for
 Test1.wtv did not fix the problem you had namely initially dropping or
 duplicating frames.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:30
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-05 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 I'm trying to replicate the issues across a variety of files (real world,
 the users use FFMPEG to convert WTV, DVRMS and TS files) to see if the
 proposed fix works. The -r works great for the WTV file but it doesn't
 seem to work fro DVR-MS.
 Am trying to figure out a long term fix/solution.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:21
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-05 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:19 ramitbhalla]:
  1. Yes tried with a lower resolution (1024x768 - the lowest possible)
 and output video is still stuttering.
 What do you mean with lowest possible?
 I tried 320x180 and I find the video still very watchable at least for
 testing and I do not see any stuttering, it also works fine with 640x360.
 I do see stuttering with higher resolutions because my current setup
 cannot play 60fps movies with (for example) 960x540 or higher resolutions.
 {{{
 $ ffmpeg -i Test2.ts -s 320x180 -qscale 2 -ac 2 out.ts
 ffmpeg version N-41327-g02827a3 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jun  5 2012 14:33:36 with gcc 4.3.2
   configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
 libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame
 --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs
   libavutil  51. 56.100 / 51. 56.100
   libavcodec 54. 23.100 / 54. 23.100
   libavformat54.  6.101 / 54.  6.101
   libavdevice54.  0.100 / 54.  0.100
   libavfilter 2. 78.100 /  2. 78.100
   libswscale  2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc52.  0.100 / 52.  0.100
 [mpeg2video @ 0x90143c0] mpeg_decode_postinit() failure
 Last message repeated 19 times
 [mpegts @ 0x90123c0] PES packet size mismatch
 Input #0, mpegts, from 'Test2.ts':
   Duration: 00:00:51.70, start: 30981.471378, bitrate: 9754 kb/s
   Program 1009
   No Program
 Stream #0:0[0x7c0]: Video: mpeg2video (Main), yuv420p, 1280x720 [SAR
 1:1 DAR 16:9], 17782 kb/s, 64.74 fps, 59.94 tbr, 90k tbn, 119.88 tbc
 Stream #0:1[0x7c1]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
 Please use -q:a or -q:v, -qscale is ambiguous
 [buffer @ 0x9018e60] w:1280 h:720 pixfmt:yuv420p tb:1/9 sar:1/1
 sws_param:flags=2
 [ffmpeg_buffersink @ 0x9019640] No opaque field provided
 [scale @ 0x90161c0] w:1280 h:720 fmt:yuv420p sar:1/1 - w:320 h:180
 fmt:yuv420p sar:1/1 flags:0x4
 [aformat @ 0x9082be0] auto-inserting filter 'auto-inserted resampler 0'
 between the filter 'Parsed_anull_0' and the filter 'aformat'
 [auto-inserted resampler 0 @ 0x9083660] chl:5.1(side) fmt:s16 r:48000Hz -
 chl:stereo fmt:s16 r:48000Hz
 [mpegts @ 0x9019bc0] muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt
 every 40 pkts
 Output #0, mpegts, to 'out.ts':
   Metadata:
 encoder : Lavf54.6.101
 Stream #0:0: Video: mpeg2video, yuv420p, 320x180 [SAR 1:1 DAR 16:9],
 q=2-31, 200 kb/s, 90k tbn, 59.94 tbc
 Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
 Stream mapping:
   Stream #0:0 - #0:0 (mpeg2video - mpeg2video)
   Stream #0:1 - #0:1 (ac3 - mp2)
 Press [q] to stop, [?] for help
 frame= 3055 fps= 82 q=2.0 Lsize=   20399kB time=00:00:50.43
 bitrate=3313.1kbits/s dup=50 drop=0
 video:17737kB audio:788kB global headers:0kB muxing overhead 10.93%
 }}}

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:22
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-05 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 By lowest possible I mean the lowest possible supported on my workstation
 (iCore 7 + 4GB RAM + Nvidia Quadro 3700M with 1GB VRAM). i didn't realize
 you were changing the resolution while encoding.
 Anyways I'm able to play 1080p video's with 60Hz (Blu Ray) on my
 workstation very smoothly so I don't think it's a horsepower issue.

 Any ideas why the DVRMS files dropping packets and creating stuttering
 videos (WTV I understood were issues with the frame rate).

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:23
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-05 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:23 ramitbhalla]:
  By lowest possible I mean the lowest possible supported on my
 workstation (iCore 7 + 4GB RAM + Nvidia Quadro 3700M with 1GB VRAM).
 You do realize that only the screen counts (my PIII 500 with 1GB does
 support such high fps in HD because of the screen connected) and you did
 not describe it?
  Anyways I'm able to play 1080p video's with 60Hz (Blu Ray) on my
 workstation very smoothly so I don't think it's a horsepower issue.
 1080@60Hz is not defined for Bluray.
  Any ideas why the DVRMS files dropping packets and creating stuttering
 videos (WTV I understood were issues with the frame rate).
 I don't think FFmpeg creates stuttering videos (at least I haven't seen
 any indication yet).

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:24
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-05 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 The screen is a 1080p 42 inch LED Tv that's hooked up via HDMI. According
 to TV, it's reporting a playback of 1080p @ 60Hz, that's what I'm
 reporting here.

 The real crux of the issue is why are they packets being dropped. Is it
 something that I'm doing wrong in the command line (as in the WTV case,
 actually that was an issue of FFMPEG getting a wrong frame rate for which
 I'll report the issue in a separate ticket/update the existing ticket) or
 is there an underlying issue with FFMPEG.

 1st step is to curb the drop/dup packet, 2nd step would be to figure out
 what's really the source of the stutter - correct me if I'm wrong here.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:25
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-04 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 Setting the frame rate doesn't appear to solve the problem. I'm attaching
 a dvr-ms file (this is one cut sample, others are also facing similar
 issues).

 As you can see from the output it keeps dropping the frames. I've tried
 different settings with -r 24, -r 25, -r 30, -r 50, -r 60, -r
 30*1000/1001, -r 60*1000/1001, -r 25*1000/1001 and none of them seem to
 work, it still leads to the same issues of dropping frames and the video
 stutters when played back.

 Any idea why this is happening?

 COMMAND:

 {{{
 ffmpeg -i Test3.dvr-ms -an -vcodec mpeg2video -sameq test.ts
 }}}

 OUTPUT:

 {{{
 ffmpeg version N-40824-g31dfe20 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 19 2012 00:45:59 with gcc 4.6.3
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-runtime-cpudetect --enable-avisynth --enab
 le-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable
 -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-
 libopenjpeg --enable-librtmp --enable-libschro
 edinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-
 libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
 libxvid --enable-zlib
   libavutil  51. 53.100 / 51. 53.100
   libavcodec 54. 21.101 / 54. 21.101
   libavformat54.  5.100 / 54.  5.100
   libavdevice53.  4.100 / 53.  4.100
   libavfilter 2. 74.101 /  2. 74.101
   libswscale  2.  1.100 /  2.  1.100
   libswresample   0. 12.100 /  0. 12.100
   libpostproc52.  0.100 / 52.  0.100
 Input #0, asf, from 'Test3.dvr-ms':
   Metadata:
 DVR Index Granularity: 500
 WM/SubTitleDescription: Journeying south to Myanmar, Luke uncovers the
 little known foods and flavours of the former
  capital, Yangon. Here he begins his culinary education by learning the
 art of making the famous Mohinga.
 genre   : Documentary;Other Documentaries
 WM/OriginalReleaseTime: 0
 WM/MediaCredits : ;;;
 service_provider: SBS HD
 service_name: SBS HD
 WM/MediaNetworkAffiliation: SBS HD
 WM/MediaOriginalChannel: 30
 WM/MediaOriginalChannelSubNumber: 0
 WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
 WM/MediaOriginalRunTime: 1844674
 WM/MediaIsStereo: 0
 WM/MediaIsRepeat: 0
 WM/MediaIsLive  : 0
 WM/MediaIsTape  : 0
 WM/MediaIsDelay : 0
 WM/MediaIsSubtitled: 0
 WM/MediaIsMovie : 0
 WM/MediaIsPremiere: 0
 WM/MediaIsFinale: 0
 WM/MediaIsSAP   : 0
 WM/MediaIsSport : 0
 WM/Provider : MediaCenterDefault
 WM/VideoClosedCaptioning: 0
 WM/WMRVEncodeTime: 6803286
 WM/WMRVSeriesUID: !GenericSeries!Luke Nguyen's Greater Mekong
 WM/WMRVServiceID: !Generated!2de313550cf54622bf3c9ccd1105c2db
 WM/WMRVRequestID: 184
 WM/WMRVScheduleItemID: 184
 WM/WMRVQuality  : 0
 WM/WMRVOriginalSoftPrePadding: 0
 WM/WMRVOriginalSoftPostPadding: 0
 WM/WMRVHardPrePadding: 184
 WM/WMRVHardPostPadding: 0
 WM/WMRVATSCContent: 0
 WM/WMRVDTVContent: 1
 WM/WMRVHDContent: 0
 WM/WMRVEndTime  : 1844674
 WM/WMRVBitrate  : 1844674
 WM/WMRVKeepUntil: 184
 WM/WMRVActualSoftPrePadding: 0
 WM/WMRVActualSoftPostPadding: 0
 WM/WMRVContentProtected: 0
 WM/WMRVContentProtectedPercent: 0
 WM/WMRVExpirationDate: 1844674
 WM/WMRVExpirationSpan: 1844674
 WM/WMRVInBandRatingSystem: 255
 WM/WMRVInBandRatingLevel: 255
 WM/WMRVInBandRatingAttributes: 0
 WM/WMRVWatched  : 0
 WM/MediaThumbWidth: 352
 WM/MediaThumbHeight: 198
 WM/MediaThumbStride: 105
 WM/MediaThumbRet: 0
 WM/MediaThumbRatingSystem: 9
 WM/MediaThumbRatingLevel: 9
 WM/MediaThumbRatingAttributes: 0
 WM/MediaThumbAspectRatioX: 16
 WM/MediaThumbAspectRatioY: 9
 WM/MediaThumbTimeStamp: 1970874
 WM/MediaThumbType: 3
 WMFSDKVersion   : 12.0.7601.17514
 WMFSDKNeeded: 0.0.0.
 VBR Peak: 368
 IsVBR   : 1
 title   : Luke Nguyen's Greater Mekong
   Duration: 00:04:59.84, start: 0.20, bitrate: 55 kb/s
 Stream #0:0: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
 Stream #0:1: Video: mpeg2video (Main) 

Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-04 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:17 ramitbhalla]:
  As you can see from the output it keeps dropping the frames. I've tried
 different settings with -r 24, -r 25
 But for some inexplicable reason you preferred not to present command line
 together with complete, uncut console output, instead you posted a command
 line that looks very similar to the original command line (and you still
 didn't tell me if the problem disappears if you significantly reduce the
 resolution or playback with half speed which would prove my original
 suspicion).

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:18
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-04 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 1. Yes tried with a lower resolution (1024x768 - the lowest possible) and
 output video is still stuttering.

 2. I gave the basic commmand line and issue, here is the one with the rate
 adjustment and the output. This is happening with all the DVR-MS files I
 have.

 COMMAND:

 {{{
 ffmpeg -i Test3.dvr-ms -an -vcodec mpeg2video -sameq -r 25 test.ts
 }}}


 OUTPUT:

 {{{
 ffmpeg version N-40824-g31dfe20 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 19 2012 00:45:59 with gcc 4.6.3
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-runtime-cpudetect --enable-avisynth --enab
 le-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable
 -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-
 libopenjpeg --enable-librtmp --enable-libschro
 edinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-
 libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
 libxvid --enable-zlib
   libavutil  51. 53.100 / 51. 53.100
   libavcodec 54. 21.101 / 54. 21.101
   libavformat54.  5.100 / 54.  5.100
   libavdevice53.  4.100 / 53.  4.100
   libavfilter 2. 74.101 /  2. 74.101
   libswscale  2.  1.100 /  2.  1.100
   libswresample   0. 12.100 /  0. 12.100
   libpostproc52.  0.100 / 52.  0.100
 Input #0, asf, from 'Test3.dvr-ms':
   Metadata:
 DVR Index Granularity: 500
 WM/SubTitleDescription: Journeying south to Myanmar, Luke uncovers the
 little known foods and flavours of the former
  capital, Yangon. Here he begins his culinary education by learning the
 art of making the famous Mohinga.
 genre   : Documentary;Other Documentaries
 WM/OriginalReleaseTime: 0
 WM/MediaCredits : ;;;
 service_provider: SBS HD
 service_name: SBS HD
 WM/MediaNetworkAffiliation: SBS HD
 WM/MediaOriginalChannel: 30
 WM/MediaOriginalChannelSubNumber: 0
 WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
 WM/MediaOriginalRunTime: 1844674
 WM/MediaIsStereo: 0
 WM/MediaIsRepeat: 0
 WM/MediaIsLive  : 0
 WM/MediaIsTape  : 0
 WM/MediaIsDelay : 0
 WM/MediaIsSubtitled: 0
 WM/MediaIsMovie : 0
 WM/MediaIsPremiere: 0
 WM/MediaIsFinale: 0
 WM/MediaIsSAP   : 0
 WM/MediaIsSport : 0
 WM/Provider : MediaCenterDefault
 WM/VideoClosedCaptioning: 0
 WM/WMRVEncodeTime: 6803286
 WM/WMRVSeriesUID: !GenericSeries!Luke Nguyen's Greater Mekong
 WM/WMRVServiceID: !Generated!2de313550cf54622bf3c9ccd1105c2db
 WM/WMRVRequestID: 184
 WM/WMRVScheduleItemID: 184
 WM/WMRVQuality  : 0
 WM/WMRVOriginalSoftPrePadding: 0
 WM/WMRVOriginalSoftPostPadding: 0
 WM/WMRVHardPrePadding: 184
 WM/WMRVHardPostPadding: 0
 WM/WMRVATSCContent: 0
 WM/WMRVDTVContent: 1
 WM/WMRVHDContent: 0
 WM/WMRVEndTime  : 1844674
 WM/WMRVBitrate  : 1844674
 WM/WMRVKeepUntil: 184
 WM/WMRVActualSoftPrePadding: 0
 WM/WMRVActualSoftPostPadding: 0
 WM/WMRVContentProtected: 0
 WM/WMRVContentProtectedPercent: 0
 WM/WMRVExpirationDate: 1844674
 WM/WMRVExpirationSpan: 1844674
 WM/WMRVInBandRatingSystem: 255
 WM/WMRVInBandRatingLevel: 255
 WM/WMRVInBandRatingAttributes: 0
 WM/WMRVWatched  : 0
 WM/MediaThumbWidth: 352
 WM/MediaThumbHeight: 198
 WM/MediaThumbStride: 105
 WM/MediaThumbRet: 0
 WM/MediaThumbRatingSystem: 9
 WM/MediaThumbRatingLevel: 9
 WM/MediaThumbRatingAttributes: 0
 WM/MediaThumbAspectRatioX: 16
 WM/MediaThumbAspectRatioY: 9
 WM/MediaThumbTimeStamp: 1970874
 WM/MediaThumbType: 3
 WMFSDKVersion   : 12.0.7601.17514
 WMFSDKNeeded: 0.0.0.
 VBR Peak: 368
 IsVBR   : 1
 title   : Luke Nguyen's Greater Mekong
   Duration: 00:04:59.84, start: 0.20, bitrate: 55 kb/s
 Stream #0:0: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
 Stream #0:1: Video: mpeg2video (Main) (DVR  / 0x20525644), yuv420p,
 1280x720 [SAR 1:1 DAR 16:9], 9 kb/s, 50 fps,
  50 tbr, 1k tbn, 100 tbc
 [buffer @ 03119020] w:1280 h:720 pixfmt:yuv420p tb:1/100 sar:1/1
 sws_param:flags=2
 [buffersink @ 030976e0] No opaque 

Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-04 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:19 ramitbhalla]:
  {{{
  ffmpeg -i Test3.dvr-ms -an -vcodec mpeg2video -sameq -r 25 test.ts
  }}}
 Why are you not using test1.wtv?

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:20
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-03 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:10 ramitbhalla]:

 Mostly unrelated: Please note that -sameq does not do what you may expect
 and it is a bad choice when transcoding from h264 to an earlier mpeg codec
 (but it is a very good choice for a test).
  1. How do you know what frame rate to choose? Why 25 and not 30 or
 1001/1000 etc?
 I chose 25fps because the input is 25fps.
  2. I'm still getting the duplicated frames error (see below)
 There is no error about duplicated frames, the reason for the information
 may be that video starts later than audio, do I remember correctly that
 the number is already appearing at the very beginning of the transcoding,
 not increasing later?

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:11
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-03 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 2 questions:

 1. What should I use place of -sameq to preserve the original quality when
 moving from h.264 to mpeg2?
 2. HOW did you know the input was 25 fps?? I didn't see anything in the
 output that said 25 fps - what am I missing?

 Thanks.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:12
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-03 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:12 ramitbhalla]:
  1. What should I use place of -sameq to preserve the original quality
 when moving from h.264 to mpeg2?
 I may be wrong but I don't think it is possible.
 Allow me to repeat that -sameq never means same quality, it means same
 quantiser.
  2. HOW did you know the input was 25 fps?
 I may have guessed or tried, but looking at the output you posted, I
 believe BBC always sends 25fps (as do all European TV providers).

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:13
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-03 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:14 ramitbhalla]:
  The question is why is FFMPEG reporting it as 50? Should I open a
 separate ticket for this?
 Only if you have any indication that this is not the same problem as in
 ticket #1065.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:15
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-03 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 Sounds similar - can I tag the current file and info/output to the same
 ticket?

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:16
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-02 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 Thanks for looking into this.

 1. How do you know what frame rate to choose? Why 25 and not 30 or
 1001/1000 etc?
 2. I'm still getting the duplicated frames error (see below)

 Here is the command:

 {{{
 ffmpeg -i test1.wtv -vcodec mpeg2video -sameq -r 25 -an test.ts
 }}}

 Here is the output:

 {{{
 ffmpeg version N-40824-g31dfe20 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 19 2012 00:45:59 with gcc 4.6.3
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-runtime-cpudetect --enable-avisynth --enab
 le-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable
 -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-
 libopenjpeg --enable-librtmp --enable-libschro
 edinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-
 libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
 libxvid --enable-zlib
   libavutil  51. 53.100 / 51. 53.100
   libavcodec 54. 21.101 / 54. 21.101
   libavformat54.  5.100 / 54.  5.100
   libavdevice53.  4.100 / 53.  4.100
   libavfilter 2. 74.101 /  2. 74.101
   libswscale  2.  1.100 /  2.  1.100
   libswresample   0. 12.100 /  0. 12.100
   libpostproc52.  0.100 / 52.  0.100
 [wtv @ 01d1be60] reported file length (0xb045eca0) exceeds number of
 available sectors (0x6000)
 [h264 @ 02b337e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 02b337e0] non-existing PPS referenced
 [h264 @ 02b337e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] no frame!
 [h264 @ 02b337e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 02b337e0] non-existing PPS referenced
 [h264 @ 02b337e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] no frame!
 [h264 @ 02b337e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 02b337e0] non-existing PPS referenced
 [h264 @ 02b337e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] no frame!
 [h264 @ 02b337e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 02b337e0] non-existing PPS referenced
 [h264 @ 02b337e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 [h264 @ 02b337e0] decode_slice_header error
 [h264 @ 02b337e0] non-existing PPS 0 referenced
 

Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-06-01 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:8 ramitbhalla]:
  So I put -r 25 to the command line, but I'm still getting the same
 output showing a lot of frames duplicated.
  My question is whether this is normal - inspite of correcting the frame
 rate here should I still get duplicated frames?
 No.

 Command line and complete, uncut console output missing / You have to put
 -r 25 in front of the output file name.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:9
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-05-31 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:6 ramitbhalla]:
  Is adding the -r 25 to the command parameter supposed to remove the
 errors?
 (Which errors? You did not report any errors in this ticket afaict, you
 reported playback problems for two samples, one because ffmpeg set the
 output frame rate too high for the input file - and your test system - the
 second supposedly because your test system is too slow for the resulting
 file, you will have to test with reduced resolution to know for sure.)
 No, it is supposed to set the (correct) frame rate for test.ts.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:7
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-05-31 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 In your previous note you had explained to me that 1481 frames duplicated
 of 2888 frames overall is a good indication that the automatic frame rate
 choice was bad.

 So I put -r 25 to the command line, but I'm still getting the same output
 showing a lot of frames duplicated.
 My question is whether this is normal - inspite of correcting the frame
 rate here should I still get duplicated frames?

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:8
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-05-30 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by ramitbhalla):

 Is adding the -r 25 to the command parameter supposed to remove the
 errors? I ask because I'm getting the exact same output.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:6
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-05-20 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:4 ramitbhalla]:
  I don't think this is a performance issue. I'm using an iCore7 system
 running Windows 7 and 4GB RAM with nothing running in the background.
 Did you test with reduced resolution or with reduced playback speed?
  I don't understand why -r 25 is required? (can you help me understand
 the logic behind how you diagnosed it and what signs I should for in
 future).
 1481 frames duplicated of 2888 frames overall is a good indication that
 the automatic frame rate choice was bad.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:5
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-05-18 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by neufeind):

 Could this be related to #1302 maybe?

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:1
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-05-18 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [comment:1 neufeind]:
  Could this be related to #1302 maybe?
 Ticket #1302 was a mpeg2video regression that I believe could not be
 described as stutter.

 If you see a problem with current FFmpeg, please open a new ticket
 including your ffmpeg command line together with complete, uncut console
 output and provide a sample.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:2
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-05-18 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  |Owner:
 Type:  defect   |   Status:  new
 Priority:  normal   |Component:
  Version:  unspecified  |  undetermined
 Keywords:   |   Resolution:
 Blocking:   |   Blocked By:
Analyzed by developer:  0|  Reproduced by developer:  0
-+-

Comment (by cehoyos):

 Replying to [ticket:1297 ramitbhalla]:
  {{{
  ffmpeg -i test1.wtv -vcodec mpeg2video -sameq -an test.ts
  }}}

 This needs -r 25.

  {{{
  ffmpeg -i test2.ts -vcodec mpeg2video -sameq -an test1.ts
  }}}

 I would expect there is a performance problem when playing the resulting
 file, at least that is what I see here on old hardware, it disappears if I
 reduce the resolution or play with half speed.

 In the future, please do not report two unrelated problems in one bug
 report, it makes tracking bugs impossible.

-- 
Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1297#comment:3
FFmpeg http://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://avcodec.org/mailman/listinfo/ffmpeg-trac


[FFmpeg-trac] #1297(undetermined:new): FFMPEG creating stuttering MPEG-2 TS video files

2012-05-10 Thread FFmpeg
#1297: FFMPEG creating stuttering MPEG-2 TS video files
-+-
 Reporter:  ramitbhalla  | Type:  defect
   Status:  new  | Priority:  normal
Component:   |  Version:
  undetermined   |  unspecified
 Keywords:   |   Blocked By:
 Blocking:   |  Reproduced by developer:  0
Analyzed by developer:  0|
-+-
 I'm trying to transcode different video types to TS MPEG2 video and FFMPEG
 creates stuttering video with some files (some are okay say about 20% are
 stuttering).

 Since the files are too big to attach (each 60MB) I've uploaded them and
 including the links to the 2 files below:

 LINKS:
 http://www.mediafire.com/?ojp54ym1mkaqkg4
 http://www.mediafire.com/?yn1sp6mzg5go04o


 COMMAND:

 {{{
 ffmpeg -i test1.wtv -vcodec mpeg2video -sameq -an test.ts
 }}}

 OUTPUT:

 {{{
 ffmpeg version N-40517-ga548671 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May  9 2012 13:00:06 with gcc 4.6.3
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-runtime-cpudetect --enable-avisynth --enab
 le-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable
 -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-
 libopenjpeg --enable-librtmp --enable-libschro
 edinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-
 libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
 libxvid --enable-zlib
   libavutil  51. 50.100 / 51. 50.100
   libavcodec 54. 21.100 / 54. 21.100
   libavformat54.  4.100 / 54.  4.100
   libavdevice53.  4.100 / 53.  4.100
   libavfilter 2. 72.105 /  2. 72.105
   libswscale  2.  1.100 /  2.  1.100
   libswresample   0. 11.100 /  0. 11.100
   libpostproc52.  0.100 / 52.  0.100
 [wtv @ 003fbe00] reported file length (0xb045eca0) exceeds number of
 available sectors (0x6000)
 [h264 @ 02bc3800] non-existing SPS 0 referenced in buffering period
 [h264 @ 02bc3800] non-existing PPS referenced
 [h264 @ 02bc3800] non-existing SPS 0 referenced in buffering period
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] no frame!
 [h264 @ 02bc3800] non-existing SPS 0 referenced in buffering period
 [h264 @ 02bc3800] non-existing PPS referenced
 [h264 @ 02bc3800] non-existing SPS 0 referenced in buffering period
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] no frame!
 [h264 @ 02bc3800] non-existing SPS 0 referenced in buffering period
 [h264 @ 02bc3800] non-existing PPS referenced
 [h264 @ 02bc3800] non-existing SPS 0 referenced in buffering period
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] no frame!
 [h264 @ 02bc3800] non-existing SPS 0 referenced in buffering period
 [h264 @ 02bc3800] non-existing PPS referenced
 [h264 @ 02bc3800] non-existing SPS 0 referenced in buffering period
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @ 02bc3800] non-existing PPS 0 referenced
 [h264 @ 02bc3800] decode_slice_header error
 [h264 @