|
|
| Placio74 |
| Posted: Mar 7 2011, 02:06 AM |
 |
|

VideoAudio
  
Group: Members
Posts: 1216
Member No.: 21485
Joined: 24-May 07

|
@mbur
Add -vbsf h264_mp4toannexb to FFmpeg command line. Also... setting frame size (when copy video), rather is not necessary for current ffmpeg builds.
QuickTime input plugin does not support Direct stream copy mode (can't copy A/V without recoding).
Change container to Matroska (from MOV to MKV) using MKVtoolnix and try fccHandler's Matroska input plugin.
-------------------- VideoAudio.pl - Serwis o technologii wideo & audio |
 |
| ale5000 |
| Posted: Mar 7 2011, 06:03 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
This file remuxed to .mkv doesn't work well: http://www.mediafire.com/download.php?9mct26d5w5lbvtu
The first 13 frames of the video are grey (in VirtualDub).
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| Placio74 |
| Posted: Mar 7 2011, 08:29 AM |
 |
|

VideoAudio
  
Group: Members
Posts: 1216
Member No.: 21485
Joined: 24-May 07

|
Hmm... yes, when re-mux directly using MKVtoonix (MOV>MKV). However, I did not notice gray frames after re-mux MOV>MKV using FFmpeg. Also, after demux to raw A/V (using My MP4Box GUI) and mux to MKV (MKVtoolnix).
-------------------- VideoAudio.pl - Serwis o technologii wideo & audio |
 |
| mbur |
| Posted: Mar 7 2011, 08:59 PM |
 |
|
Member
 
Group: Members
Posts: 18
Member No.: 29826
Joined: 3-February 11

|
| QUOTE (Placio74 @ Mar 7 2011, 02:06 AM) | | Add -vbsf h264_mp4toannexb to FFmpeg command line. | Did that and can't see anything! Even in VLC! I'm taking it out. What is it?
| QUOTE (Placio74 @ Mar 7 2011, 02:06 AM) | | Also... setting frame size (when copy video), rather is not necessary for current ffmpeg builds. | Where did you get ffmpeg? I found it very hard to tell which version was the latest.
| QUOTE (Placio74 @ Mar 7 2011, 02:06 AM) | | QuickTime input plugin does not support Direct stream copy mode (can't copy A/V without recoding). | Yes. The question is 'Will it ever?' From what Ale5000 tells us probably not.
| QUOTE (Placio74 @ Mar 7 2011, 02:06 AM) | | Change container to Matroska (from MOV to MKV) using MKVtoolnix and try fccHandler's Matroska input plugin. | I seem to recall trying this route and not having much joy. That's when I was emboldened to download and run ffmpeg.exe. thanks to BugMaster and Ale this has worked out well for me. The repackage runs a 100's of frames per second. I can see enough in Virtualdub to do my cuts and I can see my work in VLC. I have the vdub 1.10.x external encoding thing If I want to lose some quality ;-) and squash my files into a tiny MKV or whatever.. Life is good! The external decoder is misleading in that the progress reporting overstates the output data size by a factor of 20 or thereabouts. It is possibly telling me the size of the data stream before it hits the H264 compressor. But the final file sizes are impressively small and that is what is wanted! |
 |
| ale5000 |
| Posted: Mar 7 2011, 10:00 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
| QUOTE (mbur @ Mar 7 2011, 09:59 PM) | | QUOTE (Placio74 @ Mar 7 2011, 02:06 AM) | | Also... setting frame size (when copy video), rather is not necessary for current ffmpeg builds. | Where did you get ffmpeg? I found it very hard to tell which version was the latest. | Try here: http://www.bizzeh.com/ffmpeg/free/ (look at the date)
| QUOTE (mbur @ Mar 7 2011, 09:59 PM) | | The external decoder is misleading in that the progress reporting overstates the output data size by a factor of 20 or thereabouts. It is possibly telling me the size of the data stream before it hits the H264 compressor. | I don't quite understand what you are saying. Can you please explain?
Edit: PS: Now there is an AAC ACM codec, so you can use "copy" for audio too in ffmpeg command line.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| DarrellS |
| Posted: Mar 8 2011, 05:07 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 567
Member No.: 1061
Joined: 28-November 02

|
| QUOTE | Edit: PS: Now there is an AAC ACM codec, so you can use "copy" for audio too in ffmpeg command line.
|
Are you referring to the external encoder? I tried creating an aacpassthrough encoder with ffmpeg and it did not work. I thought it should work but it didn't.
Video Encoder C:\Tools\x264.exe --crf 21 --preset medium --tune film --demuxer raw --input-csp i420 --input-res %(width)x%(height) --fps %(fpsnum)/%(fpsden) -o "%(tempvideofile)" - %(outputname).264
Audio Encoder C:\Tools\ffmpeg-latest-mingw32-static\bin\ffmpeg.exe -i - -acodec copy "%(tempaudiofile)" %(outputname).aac
Multiplexer C:\Program Files\MKVtoolnix\mkvmerge.exe -o "%(outputname)" --compression 0:none --default-duration 0:%(fpsnum)/%(fpsden)fps "%(tempvideofile)" --compression 0:none "%(tempaudiofile)" |
 |
| Placio74 |
| Posted: Mar 8 2011, 06:28 AM |
 |
|

VideoAudio
  
Group: Members
Posts: 1216
Member No.: 21485
Joined: 24-May 07

|
| QUOTE (mbur @ Mar 7 2011, 10:59 PM) | | Did that and can't see anything! Even in VLC! I'm taking it out. What is it? |
Uh, indeed. I was looking only for decoding in VD.
| QUOTE (mbur @ Mar 7 2011, 10:59 PM) | | Where did you get ffmpeg? I found it very hard to tell which version was the latest. |
http://ffmpeg.arrozcru.org/wiki/index.php?title=Builds
-------------------- VideoAudio.pl - Serwis o technologii wideo & audio |
 |
| ale5000 |
| Posted: Mar 8 2011, 08:31 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
| QUOTE (DarrellS @ Mar 8 2011, 06:07 AM) | | QUOTE | Edit: PS: Now there is an AAC ACM codec, so you can use "copy" for audio too in ffmpeg command line.
|
Are you referring to the external encoder? I tried creating an aacpassthrough encoder with ffmpeg and it did not work. I thought it should work but it didn't. | No, I was only saying that you can use "-acodec copy" instead of "-acodec pcm_s16le" in your batch file that convert .mov to .avi.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |