View Full Version : Demux an f4v?
NerdWithNoLife
1st November 2009, 21:12
I was doing a webcast using Flash Media Encoder (simultaneously saving the file), and when I set the video to H.264, it created an f4v instead of an flv. Does anyone know of a tool that can extract streams from this odd type?
I have tried: Avidemux. It crashed. YAMB. Wouldn't open it. MP4Creator. Said it was an unknown file type.
Edit: tried: ffmpeg ttte.f4v -acodec copy -vcodec copy ttte.mp4
"Unable to find a suitable output format for 'ttte.f4v'"
Dark Shikari
1st November 2009, 21:27
f4v is just mp4.Edit: tried: ffmpeg ttte.f4v -acodec copy -vcodec copy ttte.mp4
"Unable to find a suitable output format for 'ttte.f4v'"It's all fun and games until someone loses an -i.
MatLz
1st November 2009, 23:24
Old method mkvmerge/mkvextract...?
Or old last chance mpc...?
NerdWithNoLife
1st November 2009, 23:53
I was rusty at ffmpeg. I got it to do something with: ffmpeg -i ttte.f4v -acodec copy -vcodec copy ttte.mp4. It did say the framerate didn't match the container type and tried changing it though, but that's another issue I guess. Or maybe I should have specified the proper framerate? According to FME it was 29.97 when I recorded...
Dark Shikari
2nd November 2009, 00:09
I was rusty at ffmpeg. I got it to do something with: ffmpeg -i ttte.f4v -acodec copy -vcodec copy ttte.mp4. It did say the framerate didn't match the container typeThat's not what the message means--and it isn't a problem.
I don't understand the point of copying video and audio from an mp4 to an mp4. You can do the same thing by using "cp".
NerdWithNoLife
2nd November 2009, 00:23
The programs I've used don't want to open it as an f4v.
Keiyakusha
2nd November 2009, 00:25
rename to mp4
and what is the point in creating f4v if you can't use it? Maybe create mp4 with x264 instead?
Dark Shikari
2nd November 2009, 00:28
The programs I've used don't want to open it as an f4v.rename it.
NerdWithNoLife
2nd November 2009, 00:29
Renaming it alone didn't work. With -acodec copy and -vcodec copy it would work. That's why I did it.
MatLz
2nd November 2009, 01:14
I tried my suggestions on a f4v sample I downloaded.
The two perfectly work. Streams are extracted.
Do as you want...:)
NerdWithNoLife
2nd November 2009, 19:00
Old method mkvmerge/mkvextract...?
Or old last chance mpc...?
http://i153.photobucket.com/albums/s232/derekforpresident/error.png
An error message from attempting to open this particular file in mkvmerge.
Your advice is probably right for most f4v's. This particular one seems to have other issues though.
MatLz
2nd November 2009, 19:49
A f4v from outer space...
And mpc's dsm converter?
Or better: gdsmux?
$100 question: are you able to play it? You didn't mention that.
NerdWithNoLife
2nd November 2009, 20:54
Yes. After it was "converted" with ffmpeg, into an mp4 container (same stuff inside though), VLC will play it. During the webcast (mine, not someone else's), I had Flash Media Encoder save it as an output file. If I set the video to VP6, it would be a typical flash video that I have no problems with. But when I choose H.264, it creates one of these demon f4v files.
I figured in the long run I'd rather have an H.264 file instead of VP6. Apparently not all programs like this streaming H.264 version. The only reason I didn't archive a non-streaming version with a higher bitrate (this one is at 300kbps for the video) is I didn't want to max out the 3-4 year old CPU from encoding too much at once.
MatLz
2nd November 2009, 21:55
All that is too complicated for me...:(
Well when I asked you if you I could play it, I thought with mpc, not vlc.
I'm not an expert(euphemism!), so simple hypothesis: if mpc is able to play it, that maybe means he can call the correct splitter, so maybe in its dsm converter it uses the same correct splitter in its demux mode.....so...
I repeat: newbie's simple hypothesis...
Velocity 7
22nd October 2010, 16:13
I'm curious if anyone has looked into this recently. I can't seem to remux f4v files into mp4 with ffmpeg. I did the following:
ffmpeg -i sample.9.f4v -acodec copy -vcodec copy test.mp4
And got this:
FFmpeg version SVN-r25456-Sherpya, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 14 2010 16:46:15 with gcc 4.2.5 20090330 (prerelease) [Sherpya]
libavutil 50.32. 3 / 50.32. 3
libavcore 0. 9. 1 / 0. 9. 1
libavcodec 52.92. 0 / 52.92. 0
libavformat 52.81. 0 / 52.81. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.51. 1 / 1.51. 1
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0167c310] max_analyze_duration reached
Seems stream 0 codec frame rate differs from container frame rate: 2000.00 (2000
/1) -> 1000.00 (2000/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample.9.f4v':
Metadata:
major_brand : f4v
minor_version : 0
compatible_brands: isommp42m4v
Duration: 02:02:08.14, start: 3664.073000, bitrate: 269 kb/s
Stream #0.0(eng): Video: h264, 1k tbr, 1k tbn, 2k tbc
Stream #0.1(eng): Audio: mp3, 44100 Hz, 2 channels, s16, 96 kb/s
File 'test.mp4' already exists. Overwrite ? [y/N] y
[mp4 @ 02db0880] dimensions not set
Output #0, mp4, to 'test.mp4':
Stream #0.0(eng): Video: libx264, q=2-31, 90k tbn, 1k tbc
Stream #0.1(eng): Audio: libmp3lame, 44100 Hz, 2 channels, 96 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Could not write header for output file #0 (incorrect codec parameters ?)
Any ideas?
poisondeathray
22nd October 2010, 17:39
@velocity7 - perhaps there is something wrong/peculiar about your file?
Where is it from?
f4v files from Adobe Media Encoder work properly in ffmpeg for me
Velocity 7
23rd October 2010, 08:04
The f4v comes from a stream to Justin.tv being run by Adobe Flash Media Live Encoder, as it can be configured to save a stream at the same time it uploads it to Justin.tv.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.