Comments (8)
-vn and -an disable video and audio respectively, the first command line is
bogus.
-map_audio_channel overrides -map obviously
Original comment by [email protected]
on 15 Apr 2011 at 8:17
- Changed state: Invalid
- Added labels: ****
- Removed labels: ****
from ffmbc.
Apologies, -vn and -an are strictly unnecessary to replicate the problem but
they make explicit what the output to the respective pipes is. The first is
purely video, hence the -an, the second is purely audio, hence the -vn and the
-newaudio post the filename to reinsert an audio stream.
And unfortunately -map_audio_channel does not override -map, hence the audio
file in the second example being full of 0s without correctly mapped essence as
specified by the map_audio_channel directives.
Though the -an and -vn are unnecessary to replicate the problem, removing them
will leave identical and still broken behaviour. I would ask you to please
re-examine the command lines and try again to replicate the erroneous
behaviour, it definitely exists and definitely breaks valid use cases
Original comment by [email protected]
on 15 Apr 2011 at 8:51
- Added labels: ****
- Removed labels: ****
from ffmbc.
To perhaps further clarify;
* The key problem is that you cannot have one map directive without having a
map directive for every output stream, and map_audio_channel does not count
towards this
* This is compounded by the fact that if you do specify a 'placebo' map
statement for an output stream you wish to supply more detailed
map_audio_channel directives for, the map overrides the map_audio_channel
directives, rendering them useless
Original comment by [email protected]
on 15 Apr 2011 at 9:05
- Added labels: ****
- Removed labels: ****
from ffmbc.
Err yes, -map overrides -map_audio_channel
It's one -map for each output stream like the error message say.
What you describe is expected behaviour. I'm not sure what you are asking here.
Do you want the behaviour changed ? If so, that's not planned currently.
Original comment by [email protected]
on 16 Apr 2011 at 12:06
- Added labels: ****
- Removed labels: ****
from ffmbc.
First, thanks for checking on the issue and reading my comments.
If this is expected behaviour then perhaps I'm trying to do something
impossible. I can understand why there has to be a map per output but my
limited understanding of ffmbc is such that I was viewing map_audio_channel as
a refinement of map's behaviour, with additional granularity.
Hence, in the case stated above, where I take N input streams and map them to 2
output streams, but where the 2nd has M audio channels, I was hoping to use 1
map statement and M map_audio_channel statements and to have the fact that
there was at least one map_audio_channel to the 2nd stream count as a map
statement for validation purposes:
input output
a1 -> b (video stream, has -map)
a2
-> a2 (audio stream, 4 channels, has 4x -map_audio_channel and no -map)
b c2
d1
c1 d2
c2
d1
d2
Is this breaking the model? If so, how might I go about achieving this sort of
mapping?
Thanks again for spending the time replying
Original comment by [email protected]
on 16 Apr 2011 at 7:17
- Added labels: ****
- Removed labels: ****
from ffmbc.
Hi Baptiste,
Lets say I want to output an pal-imx30, and my input file is a .ts with two
video streams and two audio streams each with two audio channels.
Perhaps I want the pal-imx30 file to contain the second video stream and all
four audio channels from the input.
I will need to -map the video and -map_audio_channel the audio. But the moment
I -map the video I have to -map the audio to comply with the one-map-per-output
requirement. Having a -map for the audio means I cannot make a four channel
audio stream, and even if I was happy with a two channel output stream -map
overrides -map_audio_channels.
I think what Paul was requesting is for -map_audio_channel into a -newaudio
needs to count as though it were a -map.
Does that make any sense?
Original comment by [email protected]
on 18 Apr 2011 at 10:43
- Added labels: ****
- Removed labels: ****
from ffmbc.
Hey Mark,
Yes I understand the case. It should work if the first video stream is the
wanted one though, since in this case -map is not needed.
Original comment by [email protected]
on 23 Apr 2011 at 9:41
- Changed state: New
- Added labels: Priority-None, Type-Enhancement
- Removed labels: Priority-Medium, Type-Defect
from ffmbc.
It should now work in 0.7-rc1
Original comment by [email protected]
on 22 Sep 2011 at 5:08
- Changed state: Implemented
- Added labels: ****
- Removed labels: ****
from ffmbc.
Related Issues (20)
- 0.7-rc9, After cutting a h.264 movie, but ffmbc can't playback HOT 7
- Segmentation fault on XDCamHD encoding HOT 5
- When creating AVC-Intra 100 MXF vs MOV, the output bitrate of MOV is incorrect HOT 2
- Implementing subtitle tracks for QuickTime HOT 1
- Question about difference in CodecID in AVC-I MOV/MXF (FPS 23.976 vs 25) HOT 2
- Incorrect CodecID used for AVC-I 100 1080p 23.976fps HOT 2
- FFMBC crashes when attempting to produce audio file HOT 1
- Problem of ffmbc's 23.976fps AVC-I MOV file HOT 5
- segfault when trying to create mxf from wav HOT 3
- segfault when trying to make mov from an image (when some command option is not provided) HOT 6
- failed test on make fate ( tests/data/fate/lavfi-pixdesc) / segfault in version 0.7.1 HOT 6
- segfault combining rawvideo and audio HOT 6
- ffplay v 0.7.1 drop frames (lag) on mkv HOT 2
- ffprobe -print_format not functioning HOT 1
- LXF File Input Not Supported HOT 1
- Unkown pixel format for DnxHD in Avid MXF container HOT 2
- Piping rawvideo from ffmpeg into ffmbc will result in cutted file HOT 4
- Output Quicktime Clips Have Very Small (1 Frame) Chunks, Expensive for Playback HOT 1
- Download through wget HOT 2
- Support prores XQ - 4cc ap4x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmbc.