[MEncoder-users] Combining .flv files
Fatima Hussain
fatima.ohussain at gmail.com
Wed Dec 21 19:59:15 CET 2011
Thank you very much for your reply.
The length of each video is around 9 to 10 seconds: When i run them through
VLC,
1.flv = 0.09 sec
2.flv = (0.09 sec) by now total of 0.18 sec
3 flv = (0.09 sec) by now total of 0.27 sec
4.flv = (0.10 sec) by now total of 0.37 sec
5 flv = (0.10 sec) by now total of 0.47 sec
6 flv = (0.09 sec) by now total of 0.56 sec
I also tried using -ofps through this command:
[root]# /usr/bin/mencoder -forceidx -of lavf -oac copy -ovc copy -o
output4.flv 1.flv 2.flv 3.flv 4.flv 5.flv 6.flv -ofps 4
But it did not work.
I have uploaded my files at :
https://github.com/fatimaohussain/CombineFLV
Just in case if you would like to have a look.
I really appreciate your help and will be very grateful for any more
suggestions.
Thanks a lot,
Fatima
On Wed, Dec 21, 2011 at 1:25 PM, Gabri Nurtinaz Shally
<gabri.ns at gmail.com>wrote:
> can you tell us length of each video?
> from the log, its look like mencoder detect the content as 1000fps video.
> it may because of this you get short video. you can add -ofps <desired
> frame rate> to force fps value.
>
> hope its help...
> On Dec 22, 2011 1:08 AM, "Fatima Hussain" <fatima.ohussain at gmail.com>
> wrote:
>
>> Thank you very much for your reply.
>>
>> Here is the output:
>>
>>
>>
>> ---------------------------------------------------------------------------
>> [root]# /usr/bin/mencoder -forceidx -of lavf -oac copy -ovc copy -o
>> output1.flv 1.flv 2.flv 3.flv 4.flv 5.flv 6.flv
>>
>> MEncoder 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
>> CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (Family: 15, Model: 2, Stepping: 9)
>> CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
>> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
>>
>> success: format: 0 data: 0x0 - 0xcfcec
>> libavformat file format detected.
>> [lavf] Video stream found, -vid 0
>> VIDEO: [FSV1] 1280x800 0bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
>> [V] filefmt:44 fourcc:0x31565346 size:1280x800 fps:1000.00
>> ftime:=0.0010
>> ** MUXER_LAVF
>> *****************************************************************
>> REMEMBER: MEncoder's libavformat muxing is presently broken and can
>> generate
>> INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
>> will play these INCORRECT files as if nothing were wrong!
>>
>> *******************************************************************************
>> OK, exit
>> videocodec: framecopy (1280x800 0bpp fourcc=31565346)
>> VIDEO CODEC ID: 89
>> Writing header...
>> success: format: 0 data: 0x0 - 0x5c4adm: 0min 0mb A-V:0.000 [0:0]
>> libavformat file format detected.
>> [lavf] Video stream found, -vid 0
>> VIDEO: [FSV1] 1280x800 0bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
>> [V] filefmt:44 fourcc:0x31565346 size:1280x800 fps:1000.00
>> ftime:=0.0010
>> videocodec: framecopy (1280x800 0bpp fourcc=31565346)
>> success: format: 0 data: 0x0 - 0x58264m: 0min 1mb A-V:0.000 [0:0]
>> libavformat file format detected.
>> [lavf] Video stream found, -vid 0
>> VIDEO: [FSV1] 1280x800 0bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
>> [V] filefmt:44 fourcc:0x31565346 size:1280x800 fps:1000.00
>> ftime:=0.0010
>> videocodec: framecopy (1280x800 0bpp fourcc=31565346)
>> success: format: 0 data: 0x0 - 0x5920em: 0min 1mb A-V:0.000 [0:0]
>> libavformat file format detected.
>> [lavf] Video stream found, -vid 0
>> VIDEO: [FSV1] 1280x800 0bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
>> [V] filefmt:44 fourcc:0x31565346 size:1280x800 fps:1000.00
>> ftime:=0.0010
>> videocodec: framecopy (1280x800 0bpp fourcc=31565346)
>> success: format: 0 data: 0x0 - 0x586a4m: 0min 1mb A-V:0.000 [0:0]
>> libavformat file format detected.
>> [lavf] Video stream found, -vid 0
>> VIDEO: [FSV1] 1280x800 0bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
>> [V] filefmt:44 fourcc:0x31565346 size:1280x800 fps:1000.00
>> ftime:=0.0010
>> videocodec: framecopy (1280x800 0bpp fourcc=31565346)
>> success: format: 0 data: 0x0 - 0x6b031m: 0min 2mb A-V:0.000 [0:0]
>> libavformat file format detected.
>> [lavf] Video stream found, -vid 0
>> VIDEO: [FSV1] 1280x800 0bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
>> [V] filefmt:44 fourcc:0x31565346 size:1280x800 fps:1000.00
>> ftime:=0.0010
>> videocodec: framecopy (1280x800 0bpp fourcc=31565346)
>> Writing index...79f (100%) 0.00fps Trem: 0min 2mb A-V:0.000 [0:0]
>>
>> Video stream: 123033.117 kbit/s (15379139 B/s) size: 2752866 bytes
>> 0.179 secs
>> 179 frames
>>
>> Thanks a lot,
>> Best Regards,
>> Fatima
>>
>> On Wed, Dec 21, 2011 at 12:36 PM, Gabri Nurtinaz Shally <
>> gabri.ns at gmail.com> wrote:
>>
>>> can you put the output of mencoder too?
>>> you can gather some information from there
>>>
>>> my first guess is because the absence of audio track
>>> On Dec 22, 2011 12:17 AM, "Fatima Hussain" <fatima.ohussain at gmail.com>
>>> wrote:
>>>
>>> > Hi,
>>> >
>>> > I am trying to combine a few .flv files which i have generated myself
>>> > through a screen recording Java application.
>>> >
>>> > These files do not have any sound.
>>> >
>>> > I am using the command:
>>> >
>>> > mencoder -forceidx -of lavf -oac copy -ovc copy -o combined.flv *.flv
>>> >
>>> > (I later want to combine a .wav sound file with the combined.flv).
>>> >
>>> > The problem is that in the combined.flv, i am only getting one or two
>>> > seconds of video and nothing else gets combined.
>>> >
>>> > I am not sure what is going wrong here.
>>> >
>>> > Thank you very much,
>>> > Best Regards,
>>> > Fatima
>>> > _______________________________________________
>>> > MEncoder-users mailing list
>>> > MEncoder-users at mplayerhq.hu
>>> > https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>>> >
>>> _______________________________________________
>>> MEncoder-users mailing list
>>> MEncoder-users at mplayerhq.hu
>>> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>>>
>>
>>
More information about the MEncoder-users
mailing list