Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is there any video editor for linux that works?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Mon Jan 09, 2012 10:11 am    Post subject: Is there any video editor for linux that works? Reply with quote

Every time I try to do anything with video it ends up as a complete nightmare.

I have a file containing h264 viideo and aac audio inside of an flv container (ugh! to the container part).

I want to put the media inside of an mkv container and delete about six minutes from the middle of it (a pretty basic task in theory).

Try avidemux. When I open the file, I get:

Code:

H.264 detected

If the file is using B-frames as reference it can lead to a crash or stuttering.
Avidemux can use another mode which is safe but YOU WILL LOSE FRAME ACCURACY.
Do you want to use that mode?


If I don't use safe mode, avidemux crashes right away. If I use safe mode, avidemux won't even recognize the first frame as a key frame, and I absolutely can not save ANYTHING.

Try ffmpeg. The first part is a fairly straightforward command:

Code:

$ ffmpeg -i file.flv -acodec copy -vcodec copy file.mkv


But now, when I play the media (with mplayer), I get (before it starts playing):

Code:

No pts value from demuxer to use for frame!
pts after filters MISSING
A:  -0.1 V:-9223372036854775808.0 A-V:9223372036854775808.000 ct:  0.000   0/  0 ??% ??% ??,?% 0 0
No pts value from demuxer to use for frame!
pts after filters MISSING
A:  -0.1 V:   0.0 A-V: -0.110 ct:  0.000   0/  0 ??% ??% ??,?% 0 0
No pts value from demuxer to use for frame!
pts after filters MISSING


Mplayer will play it (and handle movement within the file) without further complaints, though.

Something is obviously wrong, however. Avidemux will play the file without complaining, but will not handle movement within it at all (well it takes three and a half minutes - at 100% cpu - just to do an end of file command, and about as long to go from one keyframe to the next).

I have spent a few hours today researching other video editors, but it seems like there is a high level of dissatisfaction with all of them.

Any suggestions?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Jan 09, 2012 10:18 am    Post subject: Reply with quote

mkvtoolnix will do the container for you, I believe, although I've never tried it on flv. Once in mkv maybe other tools start behaving better, too.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Jan 09, 2012 1:05 pm    Post subject: Reply with quote

Try kdenlive.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
cord
Guru
Guru


Joined: 28 Apr 2007
Posts: 344

PostPosted: Mon Jan 09, 2012 6:42 pm    Post subject: Reply with quote

Mkvtoolnix doesn't handle FLV, and kdenlive uses ffmpeg as encoder engine.
First of all, show please mediainfo output for your file. Will try to help you.
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Tue Jan 10, 2012 2:40 am    Post subject: Reply with quote

cord wrote:
Mkvtoolnix doesn't handle FLV, and kdenlive uses ffmpeg as encoder engine.
First of all, show please mediainfo output for your file. Will try to help you.


I can certainly do that.

The original file:

Code:

$ mediainfo /path/to/file.flv
General
Complete name                            : /path/to/file.flv
Format                                   : Flash Video
File size                                : 1.62 GiB
Duration                                 : 2h 44mn
Overall bit rate                         : 1 406 Kbps

Video
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L3.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3 frames
Codec ID                                 : 7
Duration                                 : 2h 44mn
Bit rate mode                            : Constant
Nominal bit rate                         : 1 272 Kbps
Width                                    : 640 pixels
Height                                   : 360 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.221

Audio
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 10
Duration                                 : 2h 44mn
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy


And after using ffmpeg to change the container:

Code:

$ mediainfo /path/to/file.mkv
General
Unique ID                                : 00000000000000000000000000000000000000 (0x0000000000000000000000000000000)
Complete name                            : /path/to/file.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 1.61 GiB
Duration                                 : 2h 44mn
Overall bit rate                         : 1 401 Kbps
Writing application                      : Lavf52.111.0
Writing library                          : Lavf52.111.0
DURATION                                 : 9891
MOOVPOSITION                             : 32
WIDTH                                    : 640
HEIGHT                                   : 360
VIDEOCODECID                             : avc1
AUDIOCODECID                             : mp4a
AVCPROFILE                               : 77
AVCLEVEL                                 : 30
AACAOT                                   : 2
VIDEOFRAMERATE                           : 25
AUDIOSAMPLERATE                          : 44100
AUDIOCHANNELS                            : 2

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L3.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 44mn
Bit rate mode                            : Constant
Nominal bit rate                         : 1 272 Kbps
Width                                    : 640 pixels
Height                                   : 360 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 fps
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.221
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : A_AAC
Duration                                 : 2h 44mn
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Delay relative to video                  : -24ms
Language                                 : English
Default                                  : Yes
Forced                                   : No
Back to top
View user's profile Send private message
cord
Guru
Guru


Joined: 28 Apr 2007
Posts: 344

PostPosted: Tue Jan 10, 2012 6:04 pm    Post subject: Reply with quote

Oh, the task is not so easy...
Well, try to use Avidemux (and don't do any actions, only copy): No safe mode, Video->Copy, Audio->Copy, Container try variable (MPEG-TS, AVI, MP4, MKV).
Anyway, you can also try these output containers (MPEG-TS, AVI, MP4) with ffmpeg.
I think it will work.
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Wed Jan 11, 2012 3:05 am    Post subject: Reply with quote

cord wrote:
Oh, the task is not so easy...
Well, try to use Avidemux (and don't do any actions, only copy): No safe mode,


Crashes immediately with the following message without safe mode::

Code:

Crash

Assert failed :0
 at line 386, file /var/tmp/portage/media-video/avidemux-2.5.5/work/avidemux_2.5.5/avidemux/ADM_encoder/adm_encConfig.cppADM_backTrack
videoCodecGetMode()
ADM_Composer::saveAsScript(char const*, char const*)
saveCrashProject()
ADM_backTrack
ADM_Composer::getUncompressedFrame(unsigned int, ADMImage*, unsigned int*)
admPreview::update(unsigned int)
updateLoaded()
A_openAvi2(char const*, unsigned char)
FileSel_ReadWrite(void (*)(char const*), int, char const*, char const*)
/usr/bin/avidemux2_gtk() [0x504ef8]
HandleAction(Action)
guiCallback(_GtkMenuItem*, void*)
g_closure_invoke

g_signal_emit_valist
g_signal_emit
gtk_widget_activate
gtk_menu_shell_activate_item


Maybe a later version would work better, but I don't know.

In safe mode, it won't save anything at all.


cord wrote:

Container try variable (MPEG-TS, AVI, MP4, MKV).
Anyway, you can also try these output containers (MPEG-TS, AVI, MP4) with ffmpeg.
I think it will work.


I suppose I could try different containers, but mkv is supposed to
be one of the best supported.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2571
Location: Here and Away Again

PostPosted: Wed Jan 11, 2012 2:05 pm    Post subject: Reply with quote

Greetings~


Hm, I do wonder what is wrong with it.
I've handled many a file with AVC and ACC in a (;>.>) FLV with avidemux-2.5.4-r2 and ffmpeg-0.7.8 without major issues (well, often I get the same warning as you, if not always, but I am still able to work with the files.
Don't remember any of them being that large, though... hmmm.

Does the FLV-file actually play without any issues, before any changes in mplayer/other?
Have you tried to re-encode it instead of merely copying?
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
cord
Guru
Guru


Joined: 28 Apr 2007
Posts: 344

PostPosted: Wed Jan 11, 2012 2:13 pm    Post subject: Reply with quote

curmudgeon wrote:
Maybe a later version would work better, but I don't know.

Yes, there is 2.6 experimental branch of avidemux (here). It has no problems with x264 accuracy.

curmudgeon wrote:

I suppose I could try different containers, but mkv is supposed to
be one of the best supported.

Try MPEG-TS.
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Thu Jan 12, 2012 4:30 am    Post subject: Reply with quote

Chiitoo wrote:
Does the FLV-file actually play without any issues, before any changes in mplayer/other?


Yes, the flv plays perfectly in both mplayer and avidemux. Leaving it in that container wouldn't be the worst thing in the world, although I still need to delete several minutes from the middle, and avidemux won't do that in safe mode.

Chiitoo wrote:
Have you tried to re-encode it instead of merely copying?


I haven't tried that. I know that re-encoding leads to a loss of quality, so I avoid it fanatically (maybe irrationally so). Also, it is hard to imagine anything better than h264 and aac. :)

cord wrote:
Yes, there is 2.6 experimental branch of avidemux (here). It has no problems with x264 accuracy.


From http://www.avidemux.org/admWiki/doku.php?id=versions:main (about version 2.6):

"The frame reordering is done by the decoder, so H.264 videos are handled like other formats. That also implies that a lot of the frame accuracy has been lost, and the video filter subsystem is much less powerful."

I don't care about the video filter system (since almost everything I want to do is simply trimming files without re-encoding), but what does "a lot of the frame accuracy has been lost" mean?

cord wrote:
Try MPEG-TS.


I will try that later today or tomorrow.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Jan 12, 2012 9:29 pm    Post subject: Reply with quote

Quote:
From http://www.avidemux.org/admWiki/doku.php?id=versions:main (about version 2.6):


This page was last edited 2010/04/15, eight months ago. I don't think it's true any more, actually I happened to read somewhere else Avidemux2.6 handles x264 timecode properly now.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2571
Location: Here and Away Again

PostPosted: Fri Jan 13, 2012 9:56 am    Post subject: Reply with quote

curmudgeon wrote:
Chiitoo wrote:
Have you tried to re-encode it instead of merely copying?


I haven't tried that. I know that re-encoding leads to a loss of quality, so I avoid it fanatically (maybe irrationally so). Also, it is hard to imagine anything better than h264 and aac. :)

Yeah, you are absolutely right and I am quite a bit of an irrational fanatic about that myself, heh.
I would still try just to see if it can work with it at all, and you could still be using h264 and AAC.

Who knows, it might even end up as a satisfactory end-result, something what you would prefer in the end of the day over the frustration that the alternative provides. ^^
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Sun Jan 15, 2012 5:34 am    Post subject: Reply with quote

cord wrote:
curmudgeon wrote:
Maybe a later version would work better, but I don't know.

Yes, there is 2.6 experimental branch of avidemux (here). It has no problems with x264 accuracy.


Bleah! I finally got it compiled, but it just didn't work (kept locking up or crashing before I could do anything).

cord wrote:
curmudgeon wrote:

I suppose I could try different containers, but mkv is supposed to
be one of the best supported.

Try MPEG-TS.


Not sure I did this correctly, but this was the output:

Code:

$ ffmpeg -i file.flv -acodec copy -vcodec copy file.ts
ffmpeg version 0.7.8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov 29 2011 14:46:08 with gcc 4.5.3
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-vaapi --enable-libmp3lame --enable-libvo-aacenc --enable-libtheora --enable-libvorbis --enable-libxvid --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-librtmp --enable-libspeex --disable-altivec --disable-avx --disable-amd3dnow --disable-amd3dnowext --cpu=host --enable-hardcoded-tables
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[flv @ 0x114ce90] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'file.flv':                                                                                                           
  Metadata:
    duration        : 9891
    moovPosition    : 32
    width           : 640
    height          : 360
    videocodecid    : avc1
    audiocodecid    : mp4a
    avcprofile      : 77
    avclevel        : 30
    aacaot          : 2
    videoframerate  : 25
    audiosamplerate : 44100
    audiochannels   : 2
  Duration: 02:44:51.28, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (Main), yuv420p, 640x360 [PAR 90:90 DAR 16:9], 25 tbr, 1k tbn, 50 tbc
    Stream #0.1: Audio: aac, 44100 Hz, stereo, s16
[mpegts @ 0x114a6e0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'file.ts':
  Metadata:
    duration        : 9891
    moovPosition    : 32
    width           : 640
    height          : 360
    videocodecid    : avc1
    audiocodecid    : mp4a
    avcprofile      : 77
    avclevel        : 30
    aacaot          : 2
    videoframerate  : 25
    audiosamplerate : 44100
    audiochannels   : 2
    encoder         : Lavf52.111.0
    Stream #0.0: Video: [0][0][0][0] / 0x0000, yuv420p, 640x360 [PAR 90:90 DAR 16:9], q=2-31, 90k tbn, 25 tbc
    Stream #0.1: Audio: libvo_aacenc, 44100 Hz, stereo
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
[mpegts @ 0x114a6e0] h264 bitstream malformated, no startcode found, use -vbsf h264_mp4toannexb
av_interleaved_write_frame(): Operation not permitted                                                                                                                               


Just a couple of lines were different when I put it in the mkv container (which I did again, just to get the output).

Code:

$ ffmpeg -i file.flv -acodec copy -vcodec copy file.mkv
ffmpeg version 0.7.8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov 29 2011 14:46:08 with gcc 4.5.3
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-vaapi --enable-libmp3lame --enable-libvo-aacenc --enable-libtheora --enable-libvorbis --enable-libxvid --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-librtmp --enable-libspeex --disable-altivec --disable-avx --disable-amd3dnow --disable-amd3dnowext --cpu=host --enable-hardcoded-tables
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[flv @ 0x1a41e90] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'file.flv':                                                                                                           
  Metadata:
    duration        : 9891
    moovPosition    : 32
    width           : 640
    height          : 360
    videocodecid    : avc1
    audiocodecid    : mp4a
    avcprofile      : 77
    avclevel        : 30
    aacaot          : 2
    videoframerate  : 25
    audiosamplerate : 44100
    audiochannels   : 2
  Duration: 02:44:51.28, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (Main), yuv420p, 640x360 [PAR 90:90 DAR 16:9], 25 tbr, 1k tbn, 50 tbc
    Stream #0.1: Audio: aac, 44100 Hz, stereo, s16
Output #0, matroska, to 'file.mkv':
  Metadata:
    duration        : 9891
    moovPosition    : 32
    width           : 640
    height          : 360
    videocodecid    : avc1
    audiocodecid    : mp4a
    avcprofile      : 77
    avclevel        : 30
    aacaot          : 2
    videoframerate  : 25
    audiosamplerate : 44100
    audiochannels   : 2
    encoder         : Lavf52.111.0
    Stream #0.0: Video: [0][0][0][0] / 0x0000, yuv420p, 640x360 [PAR 90:90 DAR 16:9], q=2-31, 1k tbn, 25 tbc
    Stream #0.1: Audio: libvo_aacenc, 44100 Hz, stereo
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame=247281 fps=4351 q=-1.0 Lsize= 1690884kB time=02:44:51.24 bitrate=1400.4kbits/s   
video:1534326kB audio:151736kB global headers:0kB muxing overhead 0.285984%
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Sun Jan 15, 2012 5:50 am    Post subject: Reply with quote

Looked at the output again, and saw this request:

Code:

use -vbsf h264_mp4toannexb


So I tried again with that as a parameter to ffmpeg.

I am not impressed. First of all, the file is about 170 MB bigger.

I guess that is correct. FFmpeg states:

Code:

video:1533214kB audio:151597kB global headers:0kB muxing overhead 10.364098%


More that ten percent muxing overhead? YIKES!

And playing it in mplayer looks like this:

Code:

[...]

AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[h264 @ 0xa9f880]Overread VUI by 280 bits
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 640x360 => 640x360 Planar YV12
A:   3.4 V:   3.4 A-V: -0.002 ct: -0.103  50/ 50  8%  2%  0.8% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:   5.4 V:   5.4 A-V:  0.000 ct: -0.104 100/100  5%  1%  0.8% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:   5.9 V:   5.9 A-V: -0.000 ct: -0.104 113/113  5%  1%  0.8% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:   6.3 V:   6.3 A-V: -0.000 ct: -0.104 123/123  6%  1%  0.8% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:   6.6 V:   6.6 A-V: -0.000 ct: -0.104 132/132  6%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:   6.9 V:   6.9 A-V: -0.000 ct: -0.104 139/139  6%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:   7.2 V:   7.2 A-V: -0.000 ct: -0.104 147/147  6%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:   7.7 V:   7.7 A-V: -0.000 ct: -0.104 158/158  7%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:   8.6 V:   8.6 A-V:  0.000 ct: -0.104 180/180  7%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:   9.3 V:   9.3 A-V:  0.000 ct: -0.104 198/198  7%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  10.3 V:  10.3 A-V:  0.000 ct: -0.104 224/224  7%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  11.4 V:  11.4 A-V:  0.000 ct: -0.104 251/251  7%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  12.1 V:  12.1 A-V: -0.000 ct: -0.104 268/268  7%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  12.4 V:  12.4 A-V: -0.000 ct: -0.104 276/276  7%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  12.9 V:  12.9 A-V: -0.000 ct: -0.104 289/289  7%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  13.1 V:  13.1 A-V:  0.000 ct: -0.104 293/293  8%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  13.2 V:  13.2 A-V:  0.000 ct: -0.104 296/296  8%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  13.6 V:  13.6 A-V:  0.001 ct: -0.104 307/307  8%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  15.2 V:  15.2 A-V:  0.000 ct: -0.104 347/347  7%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  15.4 V:  15.4 A-V: -0.000 ct: -0.104 351/351  8%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  17.4 V:  17.4 A-V:  0.000 ct: -0.104 401/401  8%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  17.6 V:  17.6 A-V:  0.001 ct: -0.104 405/405  8%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  17.6 V:  17.6 A-V: -0.000 ct: -0.104 407/407  8%  1%  0.7% 1 0
[h264 @ 0xa9f880]Overread VUI by 280 bits
A:  18.3 V:  18.3 A-V:  0.000 ct: -0.104 423/423  8%  1%  0.7% 1 0

[...]
Back to top
View user's profile Send private message
cord
Guru
Guru


Joined: 28 Apr 2007
Posts: 344

PostPosted: Wed Jan 18, 2012 8:12 pm    Post subject: Reply with quote

One more variant. Try demux video to elementary stream.
Code:
$ ffmpeg -i file.flv -an -vcodec copy -f h264 video.h264

and use mkvtoolnix (manually set fps and aspect ratio).
If the video will be ok, then you can add sound to it.[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum