I am involved in an Avid editing project where i need to turn all Ustream downloaded FLVs into Mp4s so they can be recognized in Avid AMA bins. I generally use WinFF to do conversion which works great.
I have one 3hr 45min file that at about 18 minutes in frame size changes from 640x480 to 480x360. I can't get past this point in mp4 conversion. How can i repair and get entire 3hrs 45min into healthy mp4 file? I can see the whole thing play online on Ustream fine.
Here are the first pass settings in WinFF:
"C:\Program Files\WinFF\ffmpeg.exe" -y -i "P:\!_AMA-Videos-Tomabo\TimCast_(TimPool)-FLV-download\Timcast January 1, 2012 1 53 AM.flv" -crf 15.0 -vcodec libx264 -acodec libvo_aacenc -r:a 192 -b:a 44.1k -coder 1 -rc_lookahead 60 -threads 0 -r:v 23.976 -b:a 44.1k -ac 2 -vf scale=640:480 "P:\!_AMA-Videos-Tomabo\TimCast_(TimPool)-FLV-download\Timcast January 1, 2012 1 53 AM.mp4"
Here is FFmpeg command line
chcp 1252
title Converting Timcast January 1, 2012 1 53 AM.flv (1/1)
"C:\Program Files\WinFF\ffmpeg.exe" -y -i "P:\!_AMA-Videos-Tomabo\TimCast_(TimPool)-FLV-download\Timcast January 1, 2012 1 53 AM.flv" -crf 15.0 -vcodec libx264 -acodec libvo_aacenc -r:a 192 -b:a 44.1k -coder 1 -rc_lookahead 60 -threads 0 -r:v 23.976 -b:a 44.1k -ac 2 -vf scale=640:480 "P:\!_AMA-Videos-Tomabo\TimCast_(TimPool)-FLV-download\Timcast January 1, 2012 1 53 AM.mp4"
del "C:\Users\Arthur Klein\AppData\Roaming\Winff\ff131220235833.bat"
I think both are the same but i am a newbie to WinFFmpeg
Here is the part of Log that mentions issue before the Convert ends incomplete
frame=25681 fps=116 q=20.0 size= 379264kB time=00:17:51.29 bitrate=2900.2kbits/
frame=25745 fps=116 q=20.0 size= 380239kB time=00:17:53.89 bitrate=2900.6kbits/
frame=25810 fps=116 q=20.0 size= 381158kB time=00:17:56.58 bitrate=2900.3kbits/
frame=25876 fps=116 q=20.0 size= 381743kB time=00:17:59.37 bitrate=2897.3kbits/
[h264 @ 000000000c210400] AVC: nal size 21102622
Last message repeated 1 times
Last message repeated 1 times
[flv @ 000000000250bce0] [h264 @ 000000000c210400] Stream discovered after head
already parsed
no frame!
[flv @ 000000000250bce0] New audio stream 0:3 at pos:130670702 and DTS:1081.19s
Error while decoding stream #0:0: Invalid data found when processing input
frame=25934 fps=116 q=20.0 size= 382336kB time=00:18:01.13 bitrate=2897.0kbits/
[flv @ 000000000250bce0] Stream discovered after head already parsed
[flv @ 000000000250bce0] New video stream 0:4 at pos:130909259 and DTS:1082.19s
frame=25940 fps=116 q=20.0 size= 382429kB time=00:18:01.13 bitrate=2897.7kbits/
[h264 @ 000000000c210400] Reinit context to 480x368, pix_fmt: 0
Input stream #0:0 frame changed from size:640x480 fmt:yuv420p to size:480x360 fm
t:yuv420p
Thank you in advance for your help....
@theGuruWithin
http://arthurklein.com
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
afaik ffmpeg can't handle such files (where audio channel count, video resolution, stream formats, or stream ids change)
-> don't think ffmpeg is the right tool for the job
vlc might be able to handle such files
personally I would probably try to split the stream into two parts and process the parts separately -
Thank you for your response. I came up with different solution:
Since file would play online directly from Ustream with no problem.... I decided to you use Open Broadcast Software a community open source screen recorder. I recorded entire 3 hours directly to file (which is one of OBS's options). The resulting file would play in VLC but wouldn't AMA into AVID so i cleansed it with Handbreak using Auto Crop feature which i haven't seen anywhere else. and now the task has been successfully completed and i am able to edit what was the corrupted media.....
Similar Threads
-
Fixing FLV with corrupted video
By mjolnir870 in forum Newbie / General discussionsReplies: 3Last Post: 28th Sep 2012, 17:12 -
Multiple webcams to Ustream
By hellfire45 in forum Newbie / General discussionsReplies: 4Last Post: 9th Aug 2011, 17:27 -
Doubling the size of a WMV video? (320x240 > 640x480)
By kingmustard123 in forum EditingReplies: 26Last Post: 9th Aug 2011, 06:32 -
FLV to DV-AVI with 640x480 resolution?
By kurganxy in forum Video ConversionReplies: 3Last Post: 4th Apr 2009, 11:22 -
FLV Conversion Problem [possibly corrupted during download]
By SCkid in forum Newbie / General discussionsReplies: 1Last Post: 8th Mar 2009, 17:56