CBS Files Stutter in iTunes and iDevices 1.0.3.0
Transcode files with Intel QuickSync.
Brought to you by:
babgvant
Not sure if you'll be able to help with this or not, but all shows converted from my local CBS station stutter after conversion in iTunes. They play just fine in Windows media player. I've uploaded a sample file for your testing. Other channels work fine with this same profile.
-i "%InputFile%" -o "%Mp4Iphone%" -aac -ab 64000 -ac 2 -h264 -f 30 -rc 1 -b 4000 -u 4 -w 640 -h 480
I'll have a look. Strange that it's just one channel.
Do you see the same behavior w/ the Quicktime player as on the iThingy? I found my wife's old iPhone 4, but I can't figure out how to get a video on it. After transcoding this video looks terrible in Quicktime, but I don't want to target that if it's not the same problem (don't care at all if it is just a Quicktime problem :)).
Yes, it is the same problem. I just converted a DVD .mkv DVD rip created by MakeMKV to .mp4 for mobile and it does the same thing. It plays really crappy in Quicktime, but works fine in Windows Media Player. So, it does seem it is the right problem to target.
Try putting adding -goppicsize 2 to the command line. That fixes it for me with the next rev, but it might also fix it with the current.
Doesn't fix it in the current rev 1031
Might have been that + some of the timestamp changes in 1.0.3.2 (uploaded).
1.0.3.2 isn't working at all (see below). I use this same command line with 1.0.3.1 and it transcodes (jittery).
C:\Windows\system32>"C:\Program Files (x86)\DVRMSToolbox\Applications\qstranscod
e1032\qstranscode.exe" -i "F:\Recorded TV\ConversionHolding\CSI- Crime Scene Inv
estigation_WISCDT_2014_02_05_20_56_00.wtv" -o "F:\Recorded TV\ConvertedHolding\t
est.mp4" -e "C:\Users\Public\DvrmsToolbox\CommercialsXml\CSI- Crime Scene Invest
igation_WISCDT_2014_02_05_20_56_00.xml" -aac -ab 64000 -ac 2 -h264 -f 30 -rc 1 -
b 4000 -u 4 -w 1280 -h 720 -goppicsize 2 -ffmpeglog 32
qstranscode v1.0.3.2
Intel(R) QuickSync Transcoding With FFMPEG
Microsoft Windows 7 Service Pack 1 (build 7601), 64-bit defaulting to DX9
MediaInfo: detected framerate = 29.970030
[wtv @ 00c8f2e0] truncated file
[mpeg2video @ 00c8e060] Invalid frame dimensions 0x0.
[mpeg2video @ 00c8e060] Invalid frame dimensions 0x0.
[mpeg2video @ 00c8e060] Invalid frame dimensions 0x0.
[mpeg2video @ 00c8e060] Invalid frame dimensions 0x0.
[mpeg2video @ 00c8e060] Invalid frame dimensions 0x0.
Input #0, wtv, from 'F:\Recorded TV\ConversionHolding\CSI- Crime Scene Investiga
tion_WISCDT_2014_02_05_20_56_00.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : CSI: Crime Scene Investigation
WM/SubTitle : Des Los Muertoes
WM/SubTitleDescription: When a woman is found dead in Mexico and a murdered
couple is discovered in a driveway, evidence from one investigation could help t
he other.
genre : Drama;General;Series;Action/Adventure
WM/OriginalReleaseTime: 0
WM/MediaCredits : Ted Danson/Elisabeth Shue/George Eads/Paul Guilfoyle/Jorja
Fox/Eric Szmanda/Robert David Hall/David Berman/Wallace Langham/Elisabeth Harno
is/Jon Wellner;Louis Milito;;Julio Oscar Mechoso/Benito Martinez/John Ruby/Graha
m Hamilton/Bayardo De Murguia/Felipe
service_provider: WISCDT
service_name : WISCDT (WISC-DT)
WM/MediaNetworkAffiliation: CBS Affiliate
WM/MediaOriginalChannel: 82
WM/MediaOriginalChannelSubNumber: 6
WM/MediaOriginalBroadcastDateTime: 2014-02-05T06:00:00Z
WM/MediaOriginalRunTime: 44377359219
WM/MediaIsStereo: true
WM/MediaIsRepeat: false
WM/MediaIsLive : false
WM/MediaIsTape : false
WM/MediaIsDelay : false
WM/MediaIsSubtitled: false
WM/MediaIsMovie : false
WM/MediaIsPremiere: false
WM/MediaIsFinale: false
WM/MediaIsSAP : false
WM/MediaIsSport : false
WM/ParentalRating: TV-14
WM/Provider : Anonymous!User
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2014-02-06 02:56:02
WM/WMRVSeriesUID: !MCSeries!48174760
WM/WMRVServiceID: !MCService!28459578
WM/WMRVProgramID: !MCProgram!296951090
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 0
WM/WMRVOriginalSoftPrePadding: 540
WM/WMRVOriginalSoftPostPadding: 0
WM/WMRVHardPrePadding: -300
WM/WMRVHardPostPadding: 600
WM/WMRVATSCContent: true
WM/WMRVDTVContent: true
WM/WMRVHDContent: true
Duration : 44381542969
WM/WMRVEndTime : 2014-02-06 04:10:00
WM/WMRVBitrate : 3.316121
WM/WMRVKeepUntil: 0
WM/WMRVActualSoftPrePadding: 1137
WM/WMRVActualSoftPostPadding: -1200
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
WM/MediaThumbWidth: 352
WM/MediaThumbHeight: 198
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 255
WM/MediaThumbRatingLevel: 255
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 16
WM/MediaThumbAspectRatioY: 9
WM/MediaThumbTimeStamp: 4643559078465111435
Duration: 01:13:26.61, start: 2.144344, bitrate: 14297 kb/s
Stream #0:00xa: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:10xb: Audio: ac3, 48000 Hz, stereo, fltp, 96 kb/s
Stream #0:2[0xc]: Video: mpeg2video (Main), yuv420p(tv), 1920x1080 [SAR 1:1
DAR 16:9], max. 20000 kb/s, 29.97 fps, 29.97 tbr, 10000k tbn, 59.94 tbc
Stream #0:3[0xffffffff]: Video: mjpeg, yuvj420p(pc), 200x113 [SAR 96:96 DAR
200:113], 90k tbr, 90k tbn, 90k tbc
Metadata:
title : TV Thumbnail
Stream #0:4[0xd]: Subtitle: eia_608
Auto selected audio track: 0
Auto selected video track: 2
FFMPEG: seek from: 21100524 newPos:3982224
Remove: 0.00 - 223.92
Remove: 446.15 - 623.69
Remove: 1439.67 - 1627.46
Remove: 2170.40 - 2431.80
Remove: 2930.33 - 3228.06
Remove: 3728.02 - 4025.99
Selected streams: video = 2 audio = 0
Return on error: error code -15, src\pipeline_transcode.cpp 2124
Does it do that with the file you provided?
It's failing when initializing the encoder, so it doesn't like something that I added or one of the parameters you're requesting. If you can repro with the file you provided it's either a driver or CPU generation (I'm running 10.18.10.3345 on a HSW) thing.
Either way, try starting with the minimal cmd args to do a transcode and work up from there until it bombs.
Not sure if this helps or not, but I have a Sandy Bridge. Latest driver avail is 9.17.10.3347. No conversions (even minimal parameters) work with 1.0.3.2.
That was it. Try 1.0.3.3.
It's working very well for almost all the shows on this channel now. Thanks! I'm uploading a new sample that still gives the same results. I'll have a link shortly. Also, the voices tend to be off quite a bit after conversion, and suggested parameters to keep the voices in sync?
Is A/V sync an issue for all shows or just the ones that are still causing trouble?
I may have to working something custom for SNB, because its MSDK hasn't been updated timestamps work differently there. I thought I had a solution that worked for both, but perhaps not.
A/V sync seems to be all shows, but worse on these ones. Here's the sample I promised.
https://dl.dropboxusercontent.com/u/18998747/CSI-%20Crime%20Scene%20Investigation_WISCDT_2014_02_05_20_56_00.wtv
Try 1.0.3.4. There are quite a few things that should help with A/V sync.
I think there's something not quite right about Ffmpeg's support for WTV, or maybe WTV is just strange. The timestamps can get quite mucked up.
Try adding -seekstart to see if that helps. It tells QSTranscode to try to seek to the common start point for all streams. It doesn't work the way I expect for all files so it's optional. Also, I noticed that seeking (-ss) a minute or more into a WTV helps with A/V sync as well.
1.0.3.4 is working great. All my shows are converting successfully and the A/V sync seems to be right on with no additional parameters. I did try the -seekstart initially but that messed it up really bad, once I removed it the conversions are great. Thanks for your hard work on this!!
Awesome. Thanks for letting me know.