ffmpeg stopped working

Discuss individual versions of MC-TVConverter (bugs,...)

ffmpeg stopped working

Postby niv1234 » 17. Jan 2013, 11:43

hey! i have problem with the converter...
plase help me :
this is the log :17/01/2013, 12:43:05: currentFile: GREAST123.wtv
17/01/2013, 12:43:05: converting from wtv to mpghq
17/01/2013, 12:43:05: callFunc: "convert_wtv2mpghq"
17/01/2013, 12:43:05: callFunc: "convertTo_wtv2mpghq"
17/01/2013, 12:43:05: callFunc: "checkStream"
17/01/2013, 12:43:05: run (get streamInfo): "C:\Program Files (x86)\MC-TVConverter\tools\ffmpeg\ffmpeg.exe" -i "E:\Recorded TV\GREAST123.wtv"

ffmpeg version N-33308-g6638207, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 5 2011 22:56:15 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 19. 0 / 51. 19. 0
libavcodec 53. 19. 0 / 53. 19. 0
libavformat 53. 14. 0 / 53. 14. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 6 / 2. 43. 6
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[h264 @ 03309A00] non-existing PPS referenced
[h264 @ 03309A00] non-existing PPS 0 referenced
[h264 @ 03309A00] decode_slice_header error
[h264 @ 03309A00] no frame!
[h264 @ 03309A00] non-existing PPS referenced
[h264 @ 03309A00] non-existing PPS 0 referenced
[h264 @ 03309A00] decode_slice_header error
[h264 @ 03309A00] no frame!
[h264 @ 03309A00] mmco: unref short failure
Last message repeated 1 times
[h264 @ 03309A00] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one

Seems stream 3 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
Input #0, wtv, from 'E:\Recorded TV\GREAST123.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e
Title : ׳׳¨׳¥ ׳ ׳”׳“׳¨׳× 10 ׳›׳×' ׳¡׳ž'
WM/SubTitleDescription: ׳₪׳¨׳§ 4 ׳₪׳¨׳§ 4
׳‘׳œ׳™׳•׳•׳™ ׳›׳×׳•׳‘׳™׳•׳× ׳¡׳ž׳•׳™׳•׳×?
׳‘׳œ׳™׳•׳•׳™ ׳›׳×׳•׳‘׳™׳•׳× ׳¡׳ž׳•׳™׳•׳×

WM/OriginalReleaseTime: 0
WM/MediaCredits : ;;;
service_provider: Ch 2
service_name : Ch 2
WM/MediaNetworkAffiliation: Ch 2
WM/MediaOriginalChannel: 2
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
WM/MediaOriginalRunTime: 56363625116
WM/MediaIsStereo: false
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/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: false
WM/WMRVEncodeTime: 2013-01-15 18:56:03
WM/WMRVSeriesUID: !GenericSeries!׳׳¨׳¥ ׳ ׳”׳“׳¨׳× 10 ׳›׳×' ׳¡׳ž'
WM/WMRVServiceID: !Generated!c6fd08488e4449ef97a81ebd6204e966
WM/WMRVProgramID: !Loaders!Glid!Programs!65314:2:2!96
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 0
WM/WMRVOriginalSoftPrePadding: 900
WM/WMRVOriginalSoftPostPadding: 1800
WM/WMRVHardPrePadding: -300
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: true
WM/WMRVHDContent: false
Duration : 42933312955
WM/WMRVEndTime : 2013-01-15 20:07:36
WM/WMRVBitrate : 1.744316
WM/WMRVKeepUntil: -1
WM/WMRVActualSoftPrePadding: 576
WM/WMRVActualSoftPostPadding: 416
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: 281
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 255
WM/MediaThumbRatingLevel: 255
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 8640
WM/MediaThumbAspectRatioY: 6336
WM/MediaThumbTimeStamp: 4644771397603915263
Duration: 01:11:32.38, start: 6105.036800, bitrate: 1744 kb/s
Stream #0:0[0x37](heb): Subtitle: dvb_subtitle
Stream #0:1[0x38](ara): Subtitle: dvb_subtitle
Stream #0:2[0
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
x39]: Audio: aac_latm ([2][22][0][0] / 0x1602), 48000 Hz, 2 channels (FC), s16
Stream #0:3[0x3a]: Video: h264 (Main), yuv420p, 720x576 [SAR 12:11 DAR 15:11], 52.63 fps, 50 tbr, 10000k tbn, 50 tbc
Stream #0:4[0x3b](rus): Subtitle: dvb_subtitle
Stream #0:5[0x3c]: Audio: aac_latm ([2][22][0][0] / 0x1602), 48000 Hz, 2 channels (FC), s16
[buffer @ 033909E0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:12/11 sws_param:
Output #0, avi, to 'E:\Recorded TV\GREAST123.wtv.avi':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e
INAM : ׳׳¨׳¥ ׳ ׳”׳“׳¨׳× 10 ׳›׳×' ׳¡׳ž'
WM/SubTitleDescription: ׳₪׳¨׳§ 4 ׳₪׳¨׳§ 4
׳‘׳œ׳™׳•׳•׳™ ׳›׳×׳•׳‘׳™׳•׳× ׳¡׳ž׳•׳™׳•׳×?
׳‘׳œ׳™׳•׳•׳™ ׳›׳×׳•׳‘׳™׳•׳× ׳¡׳ž׳•׳™׳•׳×

WM/OriginalReleaseTime: 0
WM/MediaCredits : ;;;
service_provider: Ch 2
service_name : Ch 2
WM/MediaNetworkAffiliation: Ch 2
WM/MediaOriginalChannel: 2
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
WM/MediaOriginalRunTime: 56363625116
WM/MediaIsStereo: false
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/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: false
WM/WMRVEncodeTime: 2013-01-15 18:56:03
WM/WMRVSeriesUID: !GenericSeries!׳׳¨׳¥ ׳ ׳”׳“׳¨׳× 10 ׳›׳×' ׳¡׳ž'
WM/WMRVServiceID: !Generated!c6fd08488e4449ef97a81ebd6204e966
WM/WMRVProgramID: !Loaders!Glid!Programs!65314:2:2!96
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 0
WM/WMRVOriginalSoftPrePadding: 900
WM/WMRVOriginalSoftPostPadding: 1800
WM/WMRVHardPrePadding: -300
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: true
WM/WMRVHDContent: false
Duration : 42933312955
WM/WMRVEndTime : 2013-01-15 20:07:36
WM/WMRVBitrate : 1.744316
WM/WMRVKeepUntil: -1
WM/WMRVActualSoftPrePadding: 576
WM/WMRVActualSoftPostPadding: 416
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: 281
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 255
WM/MediaThumbRatingLevel: 255
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 8640
WM/MediaThumbAspectRatioY: 6336
WM/MediaThumbTimeStamp: 4644771397603915263
ISFT : Lavf53.14.0
Stream #0:0: Video: mpeg4 (DIVX / 0x58564944), yuv420p, 720x576 [SAR 12:11 DAR 15:11], q=2-31, 200 kb/s, 50 tbn, 50 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
Stream #0.3 -> #0.0 (h264 -> mpeg4)
Stream #0.2 -> #0.1 (aac_latm -> libmp3lame)
Press [q] to stop, [?] for help
Error while decoding stream #0.2
0.707107
0.707107
Assertion in ->ch_count == av_get_channel_layout_nb_channels(s-> in_ch_layout) failed at /home/kyle/software/ffmpeg/source/ffmpeg-git/libswresample/rematrix.c:231
17/01/2013, 12:43:05: streamInfo: stream has no MPEG2 video
17/01/2013, 12:43:05: streamInfo: stream has AAC LATM audio
17/01/2013, 12:43:05: streamInfo: stream has no E-AC3 audio
17/01/2013, 12:43:05: streamInfo: stream has no AC3 audio
17/01/2013, 12:43:05: user settings: convertAacLatm [1], convertEac3 [1], convertWithFfmpeg [0]
17/01/2013, 12:43:05: Convert WTV using FFmpeg
17/01/2013, 12:43:05: callFunc: "convertTo_mpghq"
17/01/2013, 12:43:05: callFunc: "checkStream"
17/01/2013, 12:43:05: run (get streamInfo): "C:\Program Files (x86)\MC-TVConverter\tools\ffmpeg\ffmpeg.exe" -i "E:\Recorded TV\GREAST123.wtv"
17/01/2013, 12:43:05: streamInfo: stream has no MPEG2 video
17/01/2013, 12:43:05: streamInfo: stream has AAC LATM audio
17/01/2013, 12:43:05: streamInfo: stream has no E-AC3 audio
17/01/2013, 12:43:05: streamInfo: stream has no AC3 audio
17/01/2013, 12:43:05: callFunc: "getAVMapping"
17/01/2013, 12:43:05: user settings: preferredLanguage[auto]
17/01/2013, 12:43:05: streamInfo: Stream #0:2[0x39]: Audio: aac_latm ([2][22][0][0] / 0x1602), 48000 Hz, 2 channels (FC), s16

17/01/2013, 12:43:05: streamInfo: Stream #0:3[0x3a]: Video: h264 (Main), yuv420p, 720x576 [SAR 12:11 DAR 15:11], 52.63 fps, 50 tbr, 10000k tbn, 50 tbc

17/01/2013, 12:43:05: streamInfo: Stream #0:5[0x3c]: Audio: aac_latm ([2][22][0][0] / 0x1602), 48000 Hz, 2 channels (FC), s16

17/01/2013, 12:43:05: used a/v mapping: " -map 0:3 -map 0:2"
17/01/2013, 12:43:05: run: "C:\Program Files (x86)\MC-TVConverter\tools\ffmpeg\ffmpeg.exe" -y -i "E:\Recorded TV\GREAST123.wtv" -deinterlace -vcodec mpeg2video -sameq -f vob -acodec ac3 -ab 384k -ac 6 -async 48000 -map 0:3 -map 0:2 "E:\Recorded TV\GREAST123.wtv.mpg"
ffmpeg version N-33308-g6638207, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 5 2011 22:56:15 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 19. 0 / 51. 19. 0
libavcodec 53. 19. 0 / 53. 19. 0
libavformat 53. 14. 0 / 53. 14. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 6 / 2. 43. 6
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[h264 @ 03469A00] non-existing PPS referenced
[h264 @ 03469A00] non-existing PPS 0 referenced
[h264 @ 03469A00] decode_slice_header error
[h264 @ 03469A00] no frame!
[h264 @ 03469A00] non-existing PPS referenced
[h264 @ 03469A00] non-existing PPS 0 referenced
[h264 @ 03469A00] decode_slice_header error
[h264 @ 03469A00] no frame!
[h264 @ 03469A00] mmco: unref short failure
Last message repeated 1 times
[h264 @ 03469A00] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one

Seems stream 3 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
Input #0, wtv, from 'E:\Recorded TV\GREAST123.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74b
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000e
Title : ׳׳¨׳¥ ׳ ׳”׳“׳¨׳× 10 ׳›׳×' ׳¡׳ž'
WM/SubTitleDescription: ׳₪׳¨׳§ 4 ׳₪׳¨׳§ 4
׳‘׳œ׳™׳•׳•׳™ ׳›׳×׳•׳‘׳™׳•׳× ׳¡׳ž׳•׳™׳•׳×?
׳‘׳œ׳™׳•׳•׳™ ׳›׳×׳•׳‘׳™׳•׳× ׳¡׳ž׳•׳™׳•׳×

WM/OriginalReleaseTime: 0
WM/MediaCredits : ;;;
service_provider: Ch 2
service_name : Ch 2
WM/MediaNetworkAffiliation: Ch 2
WM/MediaOriginalChannel: 2
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
WM/MediaOriginalRunTime: 56363625116
WM/MediaIsStereo: false
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/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: false
WM/WMRVEncodeTime: 2013-01-15 18:56:03
WM/WMRVSeriesUID: !GenericSeries!׳׳¨׳¥ ׳ ׳”׳“׳¨׳× 10 ׳›׳×' ׳¡׳ž'
WM/WMRVServiceID: !Generated!c6fd08488e4449ef97a81ebd6204e966
WM/WMRVProgramID: !Loaders!Glid!Programs!65314:2:2!96
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 0
WM/WMRVOriginalSoftPrePadding: 900
WM/WMRVOriginalSoftPostPadding: 1800
WM/WMRVHardPrePadding: -300
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: false
WM/WMRVDTVContent: true
WM/WMRVHDContent: false
Duration : 42933312955
WM/WMRVEndTime : 2013-01-15 20:07:36
WM/WMRVBitrate : 1.744316
WM/WMRVKeepUntil: -1
WM/WMRVActualSoftPrePadding: 576
WM/WMRVActualSoftPostPadding: 416
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: 281
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 255
WM/MediaThumbRatingLevel: 255
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 8640
WM/MediaThumbAspectRatioY: 6336
WM/MediaThumbTimeStamp: 4644771397603915263
Duration: 01:11:32.38, start: 6105.036800, bitrate: 1744 kb/s
Stream #0:0[0x37](heb): Subtitle: dvb_subtitle
Stream #0:1[0x38](ara): Subtitle: dvb_subtitle
Stream #0:2[0
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

and i have a window with this error : ffmpeg.exe stopped working
niv1234
 
Posts: 5
Joined: 01.2013
Gender:

Re: ffmpeg stopped working

Postby hudl » 18. Jan 2013, 11:37

Hi!

Seems to be a problem with your recording which causes ffmpeg to crash.
You can try to disable "convert AAC-LATM" in settings. If you have Java installed, it will convert the stream with remuxTool then but there may be issues with audio.
Also try to convert the wtv to ts previously and in a 2nd step to mpeg.

Another possible solution is to download a new version of ffmpeg (which may fix the crash) and create a custom profile for it. Let me know if you want to go this way and don't know how (see help file).

Or just wait for my next version, where I already use the newest ffmpeg along with other fixes. ;)

Thanks!
Creator of MC-TVConverter
User avatar
hudl
Forum Admin
 
Posts: 119
Joined: 04.2011
Gender:

Re: ffmpeg stopped working

Postby niv1234 » 19. Jan 2013, 22:04

"You can try to disable "convert AAC-LATM" in settings. "
is didnt work
what to do ?
niv1234
 
Posts: 5
Joined: 01.2013
Gender:

Re: ffmpeg stopped working

Postby hudl » 21. Jan 2013, 17:23

Do you have Java installed?
I posted 2 more possible workarounds. Did you try them too?
Best of all would be, if you could post a sample file for me to download. Do you have one?
Creator of MC-TVConverter
User avatar
hudl
Forum Admin
 
Posts: 119
Joined: 04.2011
Gender:

Re: ffmpeg stopped working

Postby niv1234 » 23. Jan 2013, 17:50

there a semple file
http://www.mediafire.com/?68tbgi3ubqzmx1t

please check the problem Thx!!!

and about the ffmpeg
i dont how i install that
i have only Rar with 4 folders
and 1 of them call "bin"
i enter to this folder i click on "ffmpeg.exe."
and nothing happend....
niv1234
 
Posts: 5
Joined: 01.2013
Gender:

Re: ffmpeg stopped working

Postby hudl » 24. Jan 2013, 01:15

Thanks for the sample!
Got it working with the new ffmpeg version. Do like this:

  1. download the new ffmpeg version from here (downlod the newest static 32bit version): http://ffmpeg.zeranoe.com/builds/
  2. extract the zip, go to the bin folder and rename the ffmpeg.exe to ffmpeg_new.exe
  3. copy the ffmpeg_new.exe to the ffmpeg folder of your mctvc installation
  4. open the profiles.ini from the root of your mctvc installation and add the following custom profile:
    Code: Select all
    [Custom MPEG2 HQ (*.mpg) (input: wtv,dvr-ms,mpg,ts,avi,mp4,wmv)]
    targettype=custom
    outputExtension=mpg
    inputExtensions=wtv|dvr-ms|mpg|mpeg|ts|m2ts|avi|mp4|wmv
    executablePath=ffmpeg
    executable=ffmpeg_new.exe
    command=-i <@inputfile@> -y -c:v mpeg2video -q:v 0 -f vob -filter:v yadif -acodec libmp3lame -ab 192k -ac 2 -async 48000 <@outputfile@>
  5. save the profiles.ini, open mctvc and select the new profile "Custom MPEG2 HQ"
  6. convert! 8-)

With a custom profile you won't be able to use the extended settings from mctvc (like subtitle extraction, commercial detection,...) but at least it will convert problematic files and you can edit them with other tools.
Well, now we know the next version of my GUI will be able to convert these files too! ;)

I hope this works on your other files too. Let me know if there are more issues!
Creator of MC-TVConverter
User avatar
hudl
Forum Admin
 
Posts: 119
Joined: 04.2011
Gender:

Re: ffmpeg stopped working

Postby niv1234 » 25. Jan 2013, 12:07

Tnx a lot about all the help!
its work!
niv1234
 
Posts: 5
Joined: 01.2013
Gender:

Re: ffmpeg stopped working

Postby niv1234 » 9. Apr 2013, 13:15

Hello again hudi!
Thanks for the solution before,
I wanted to ask if I could convert AVI file
and not mpg file?
niv1234
 
Posts: 5
Joined: 01.2013
Gender:


Return to "MC-TVConverter (english discussion)"

 

Who is online

Users browsing this forum: No registered users and 1 guest

cron